Don't use a cache of variable name to value mappings on Win32, as that
authorTor Lillqvist <tml@iki.fi>
Sun, 10 Aug 2003 08:04:10 +0000 (08:04 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sun, 10 Aug 2003 08:04:10 +0000 (08:04 +0000)
commit6489e6a5d5bd7d6e0a844a77db153a25f2edc3c0
treec6c6e659f1bf4cdde7e353ce4a8050d9f242b7ca
parent6fb380e374a6e927ac5d9d8ef1056b2973ce22f2
Don't use a cache of variable name to value mappings on Win32, as that

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

* glib/gutils.c (g_getenv): Don't use a cache of variable name to
value mappings on Win32, as that breaks g_setenv() and
g_unsetenv(). Only call ExpandEnvironmentStrings() if necessary,
and in that case return a quarkified string. It is still
questionable how necessary expanding embedded environment variable
references is. Possibly the whole Win32-specific g_getenv()
implementation could be removed. (#119520)
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gutils.c