Fix #117925 (Dov Grobgeld):
authorTor Lillqvist <tml@iki.fi>
Sat, 16 Aug 2003 19:45:25 +0000 (19:45 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sat, 16 Aug 2003 19:45:25 +0000 (19:45 +0000)
commit55d624d80cbc962c0dfbdecfba7e128b3b332e31
tree21e2fe9fb1ca723a72d8b726a7803916df5ae416
parented23bef565d1551e8ce4b5dcb49c2c11a96eb4a9
Fix #117925 (Dov Grobgeld):

2003-08-16  Tor Lillqvist  <tml@iki.fi>

Fix #117925 (Dov Grobgeld):

* glib/gutils.c (g_find_program_in_path, g_basename,
g_path_get_basename, g_path_is_absolute, g_path_skip_root,
g_path_get_dirname, g_get_any_init): On Win32, look also for
slashes ('/') as pathname separators.

* glib/gfileutils.c (g_file_open_tmp): Ditto. If the template
contains a pathname separator, include the actual one in the error
message, instead of always the canonical one.

(g_build_filename): Separate implementation on Win32 that looks
for either slash or backslash. Document Unix/Windows differences.

* tests/testglib.c
* tests/strfunc-test.c: Test above functionality on Win32.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gfileutils.c
glib/gutils.c
tests/strfunc-test.c
tests/testglib.c