mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-24 18:08:54 +02:00
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:
committed by
Tor Lillqvist
parent
009942e1ac
commit
f6e325b217
@@ -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
|
||||
|
Reference in New Issue
Block a user