Win32: unify environment case-sensitivity
commiteca7fdb7e56f3b194c01850480a77af6c1cc0318
authorKarsten Blees <blees@dcon.de>
Sat, 14 Jan 2012 22:42:09 +0000 (14 23:42 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Fri, 13 Sep 2013 08:36:57 +0000 (13 09:36 +0100)
treebdf024bd086e861a7f7d892dfc94df9836680aaa
parent411bbcfdc7e3d28ef0f6bbb3ae237c5dca11f53b
Win32: unify environment case-sensitivity

The environment on Windows is case-insensitive. Some environment functions
(such as unsetenv and make_augmented_environ) have always used case-
sensitive comparisons instead, while others (getenv, putenv, sorting in
spawn*) were case-insensitive.

Prevent potential inconsistencies by using case-insensitive comparison in
lookup_env (used by putenv, unsetenv and make_augmented_environ).

Signed-off-by: Karsten Blees <blees@dcon.de>
compat/mingw.c