From: Tor Lillqvist Date: Mon, 31 Mar 2008 13:41:03 +0000 (+0000) Subject: Fix Cygwin breakage. Patch by Lieven van der Heide. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=8d5927996d0813cfa8e75c7953de0423664954a7;p=dana%2Fcg-glib.git Fix Cygwin breakage. Patch by Lieven van der Heide. 2008-03-31 Tor Lillqvist * glib/gwin32.c (g_win32_get_package_installation_directory_of_module): Fix Cygwin breakage. Patch by Lieven van der Heide. svn path=/trunk/; revision=6790 --- diff --git a/ChangeLog b/ChangeLog index fdb66bef..0ba3b0f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-03-31 Tor Lillqvist + + * glib/gwin32.c + (g_win32_get_package_installation_directory_of_module): Fix Cygwin + breakage. Patch by Lieven van der Heide. + 2008-03-31 10:39:17 Tim Janik * glib/gutils.h: reapply inlining fix from r6333 to fix: diff --git a/glib/gwin32.c b/glib/gwin32.c index d3dd5c24..83212d5b 100644 --- a/glib/gwin32.c +++ b/glib/gwin32.c @@ -262,9 +262,9 @@ g_win32_get_package_installation_directory_of_module (gpointer hmodule) { gchar tmp[MAX_PATH]; - cygwin_conv_to_posix_path(fn, tmp); - g_free(fn); - fn = g_strdup(tmp); + cygwin_conv_to_posix_path (retval, tmp); + g_free (retval); + retval = g_strdup (tmp); } #endif