Fix Cygwin breakage. Patch by Lieven van der Heide.

2008-03-31  Tor Lillqvist  <tml@novell.com>

	* 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
This commit is contained in:
Tor Lillqvist 2008-03-31 13:41:03 +00:00 committed by Tor Lillqvist
parent e4b7751f44
commit 8d5927996d
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2008-03-31 Tor Lillqvist <tml@novell.com>
* 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 <timj@imendio.com>
* glib/gutils.h: reapply inlining fix from r6333 to fix:

View File

@ -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