Win32: unify environment case-sensitivity
commit946ba29f0ce0012be50c940f668e2ce469792636
authorKarsten Blees <blees@dcon.de>
Sat, 14 Jan 2012 22:42:09 +0000 (14 23:42 +0100)
committerStepan Kasal <kasal@ucw.cz>
Thu, 29 May 2014 08:40:15 +0000 (29 10:40 +0200)
tree29e87b3afdfced80c1f1f7b90a32e89bddd688d3
parent10e1987472f77ba1748f325ca0943b5599ddf498
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