Win32: unify environment case-sensitivity
commit041c0b50778be727621c4394e56ea464f564555a
authorKarsten Blees <blees@dcon.de>
Sat, 14 Jan 2012 22:42:09 +0000 (14 23:42 +0100)
committerErik Faye-Lund <kusmabite@gmail.com>
Fri, 4 Jan 2013 14:57:09 +0000 (4 15:57 +0100)
tree7dfb89106a040ff0697436f330d11d0f94ae96d2
parent58e6059f600891fba1ba8b3f7030912e9c08c0c3
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