Win32: unify environment case-sensitivity
commit08353ef24c1597b447428b3265c746ebe6179a40
authorKarsten Blees <blees@dcon.de>
Sat, 14 Jan 2012 22:42:09 +0000 (14 23:42 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 13 Mar 2012 05:47:56 +0000 (13 00:47 -0500)
tree1dfd4e9f16231ef151fee06c75cf538ad5a31056
parent3194f181e99c631e52777739e48b5de9ab995079
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