Win32: unify environment case-sensitivity
commit2ab31b6ebb181047442aa97ab2ebc52949c12a54
authorKarsten Blees <blees@dcon.de>
Sat, 14 Jan 2012 22:42:09 +0000 (14 23:42 +0100)
committerStepan Kasal <kasal@ucw.cz>
Thu, 15 May 2014 07:41:22 +0000 (15 09:41 +0200)
treeae71bfc803a334484b17a5abe4b12ac5e1c5b4f5
parent098bccd12bc0feda21d62d36070ba86d47684807
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