Win32: unify environment case-sensitivity
commit3841c80338b78b98fca8644d9fafbfa6130d63ee
authorKarsten Blees <blees@dcon.de>
Sat, 14 Jan 2012 22:42:09 +0000 (14 23:42 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 30 Mar 2012 18:44:00 +0000 (30 13:44 -0500)
tree0a81cae885400e5c4295e877c2d92ed99e3f6992
parent9ed6192d7b34e6bb58e04232b294bcb417d7e0ec
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