make QProcessEnvironment on Windows preserve variable name case
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Thu, 21 Apr 2011 16:32:36 +0000 (18:32 +0200)
committerOlivier Goffart <olivier.goffart@nokia.com>
Tue, 10 May 2011 10:54:52 +0000 (12:54 +0200)
commit4212ee7ec7f9ac77a4acd0796e56dbdd1e2c7baa
treefb53c250df21b57c82b1fcb8043f7386471c70f7
parent3ab236d77ba47d7cbf332d12596564bce21ac6a7
make QProcessEnvironment on Windows preserve variable name case

while windows itself does not care which case the variable names are in,
they may be passed to unix tools which *do* care.

note that this uses true case folding for string comparisons while
windows uses uppercasing. this means that "ess" and "eß" will be
considered the same by us, while not by windows. this is not expected to
have real-world impact, particularly because non-ascii variable names
are not used much.

Task-number: QTCREATORBUG-3110
Reviewed-by: thiago
Reviewed-by: dt
(cherry picked from commit f3db5603871928ebed43a085a496397e65952b39)
src/corelib/io/qprocess.cpp
src/corelib/io/qprocess_p.h
src/corelib/io/qprocess_win.cpp
tests/auto/qprocessenvironment/tst_qprocessenvironment.cpp