Win32: unify environment case-sensitivity
commit717a8bb14d4268f699d66d162d16bd02696122e8
authorKarsten Blees <blees@dcon.de>
Sat, 14 Jan 2012 22:42:09 +0000 (14 23:42 +0100)
committerKarsten Blees <blees@dcon.de>
Thu, 15 Mar 2012 17:21:44 +0000 (15 18:21 +0100)
tree062932a24b6da881b93e7cc4c464f3d468d07e21
parent9c0fe9af086b6189c4e17722341b9fefc6c47021
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