From Edward M. Lee <tailbert@yahoo.com>:

2001-03-13  Tor Lillqvist  <tml@iki.fi>

	From Edward M. Lee  <tailbert@yahoo.com>:

	* gdate.c (g_date_set_parse): add support for dates that in the
	form "Wed Mar 14 2001". Running testgdate on cygwin requires this.

2001-03-13  Tor Lillqvist  <tml@iki.fi>

	From Edward M. Lee  <tailbert@yahoo.com>:

	* gmodule-win32.c (_g_module_build_path): use (cygwin friendly) dir
	separator.
This commit is contained in:
Tor Lillqvist
2001-03-14 20:18:03 +00:00
committed by Tor Lillqvist
parent 009942e1ac
commit f6e325b217
12 changed files with 79 additions and 2 deletions

View File

@@ -253,9 +253,9 @@ _g_module_build_path (const gchar *directory,
k = strlen (module_name);
if (directory && *directory)
if (k > 4 && g_strcasecmp (module_name + k - 4, ".dll") == 0)
return g_strconcat (directory, "\\", module_name, NULL);
return g_strconcat (directory, G_DIR_SEPARATOR_S, module_name, NULL);
else
return g_strconcat (directory, "\\", module_name, ".dll", NULL);
return g_strconcat (directory, G_DIR_SEPARATOR_S, module_name, ".dll", NULL);
else if (k > 4 && g_strcasecmp (module_name + k - 4, ".dll") == 0)
return g_strdup (module_name);
else