summaryrefslogtreecommitdiff
path: root/gmodule
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2001-03-14 20:18:03 +0000
committerTor Lillqvist <tml@src.gnome.org>2001-03-14 20:18:03 +0000
commitf6e325b2175759ade3d068c51b611fba77960735 (patch)
tree76b30afff3fc513e6b9c823dff5abb517068f150 /gmodule
parent009942e1ace7ace3fdc22ab8fff6b8e57ef040db (diff)
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.
Diffstat (limited to 'gmodule')
-rw-r--r--gmodule/ChangeLog7
-rw-r--r--gmodule/gmodule-win32.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/gmodule/ChangeLog b/gmodule/ChangeLog
index a3d05d773..c7d24483b 100644
--- a/gmodule/ChangeLog
+++ b/gmodule/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
2001-03-12 Tor Lillqvist <tml@iki.fi>
* Makefile.am (libgplugin_a_la_LIBADD, libgplugin_b_la_LIBADD):
diff --git a/gmodule/gmodule-win32.c b/gmodule/gmodule-win32.c
index 0f5aca719..c665329d7 100644
--- a/gmodule/gmodule-win32.c
+++ b/gmodule/gmodule-win32.c
@@ -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