Accept also forward slashes. (But still don't accept them in the other
authorTor Lillqvist <tml@iki.fi>
Thu, 20 Sep 2001 05:41:52 +0000 (05:41 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Thu, 20 Sep 2001 05:41:52 +0000 (05:41 +0000)
commit58f3fdd7489226a023882f85777a1bb8715c495f
treea8b80e0180744500f78f5b31d083872d123b4855
parent7b0afc55825ec514ca2a03bf867964381efc169f
Accept also forward slashes. (But still don't accept them in the other

2001-09-20  Tor Lillqvist  <tml@iki.fi>

* glib/gutils.c (g_path_is_absolute): (Win32:) Accept also forward
slashes. (But still don't accept them in the other functions
here. This is a thorny issue. Windows in fact does treat / like \
on input (at least as local directory separators, dunno about
server/share separators). But GLib only has the one
G_DIR_SEPARATOR value, that apps should scan for, and use when
building pathnames. To properly fix this would require totally
abstracting pathnames, and don't having any path name scanning and
building in applications at all. Fat chance.)
(GLIB_LOCALE_DIR): Redefine only on "pure" Win32, not Cygwin. Use
subdirectory "share\locale", as on Unix.

* glib/gwin32.c: Don't need to define those langiage and
sublanguage constants here, current mingw (w32api) headers have
them.

* glib/glib.def: Add a few missing entry points.

* tests/testglib.c (main): Use same name for DLL as libtool does.
Use G_DIR_SEPARATOR in g_path_get_basename tests.
12 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/glib.def
glib/gutils.c
glib/gwin32.c
tests/testglib.c