Win32: unify environment case-sensitivity
commitff8ec6d4e0719261b1e2b3aec98dc68b307e67d1
authorKarsten Blees <blees@dcon.de>
Sat, 14 Jan 2012 22:42:09 +0000 (14 23:42 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Tue, 19 Jun 2012 22:37:24 +0000 (19 23:37 +0100)
treeb4a92ea5e22e2223dfce1d784b3ad86e78746d31
parentd38ae0ca7fb6acd11d555f5fe59692123e2379a7
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