79b1b77b1f
On Cygwin 32 running under WOW64: When case-correcting the path fetched with -S, the underlying Windows function fetching the normalized path returns the real path C:\Windows\SysWOW64 instead of the path redirection enabled C:\Windows\System32 path. This breaks using the result of `cygpath -S' to fetch the POSIX path of the network related files under SYSTEMROOT\drivers\etc. This path is in fact under the *real* C:\Windows\System32 and only mapped into the 32 bit C:\Windows\System32 (aka C:\Windows\SysWOW64) via path redirection. Sounds messy? This patch checks if we're running under WOW64. If so, it changes the path returned by GetSystemDirectoryW from "system32" to "Sysnative". This in turn is changed to "System32" by NtQueryInformationFile, so we're back to what we need. Signed-off-by: Corinna Vinschen <corinna@vinschen.de> |
||
---|---|---|
.. | ||
aclocal.m4 | ||
autogen.sh | ||
bloda.cc | ||
ChangeLog | ||
ChangeLog-2000 | ||
ChangeLog-2015 | ||
ChangeLog.64bit | ||
configure | ||
configure.ac | ||
COPYING.dumper | ||
cygcheck.cc | ||
cygpath.cc | ||
cygwin-console-helper.cc | ||
dump_setup.cc | ||
dumper.cc | ||
dumper.h | ||
getconf.c | ||
getfacl.c | ||
kill.cc | ||
ldd.cc | ||
ldh.cc | ||
loadlib.h | ||
locale.cc | ||
Makefile.in | ||
minidumper.cc | ||
mkgroup.c | ||
mkpasswd.c | ||
module_info.cc | ||
mount.cc | ||
parse_pe.cc | ||
passwd.c | ||
path.cc | ||
path.h | ||
pldd.c | ||
ps.cc | ||
regtool.cc | ||
setfacl.c | ||
setmetamode.c | ||
ssp.c | ||
ssp.txt | ||
strace.cc | ||
testsuite.cc | ||
testsuite.h | ||
tzmap-from-unicode.org | ||
tzmap.h | ||
tzset.c | ||
umount.cc | ||
wide_path.h |