newlib/winsup/utils
Corinna Vinschen 79b1b77b1f cygpath: Avoid returning SysWOW64
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>
2016-01-21 18:40:30 +01:00
..
aclocal.m4
autogen.sh
bloda.cc
ChangeLog Deprecate all winsup ChangeLog files 2016-01-07 21:16:01 +01:00
ChangeLog-2000
ChangeLog-2015 Deprecate all winsup ChangeLog files 2016-01-07 21:16:01 +01:00
ChangeLog.64bit
configure
configure.ac
COPYING.dumper
cygcheck.cc cygcheck.cc: Fix missing commas in products array 2015-08-30 21:46:58 +02:00
cygpath.cc cygpath: Avoid returning SysWOW64 2016-01-21 18:40:30 +01:00
cygwin-console-helper.cc
dump_setup.cc
dumper.cc
dumper.h
getconf.c winsup/utils: add CPU cache variables to getconf(1) 2015-10-22 12:51:20 -05:00
getfacl.c Reapply POSIX ACL changes. 2015-11-18 22:27:54 +01:00
kill.cc Fix SEGV of kill -l 0 2015-11-26 22:31:01 +01:00
ldd.cc Fix potential hang in ldd if DLL encounters missing entry point 2015-07-20 18:32:24 +02:00
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 cygwin: Fix copyright dates 2015-07-29 13:45:46 +02:00
regtool.cc
setfacl.c setfacl: Remove unused local variable 2015-12-25 21:41:52 +01:00
setmetamode.c
ssp.c
ssp.txt
strace.cc strace: Handle ofile descriptor more carefully. 2015-08-03 12:02:17 +02:00
testsuite.cc
testsuite.h
tzmap-from-unicode.org
tzmap.h
tzset.c cygwin: Fix copyright dates 2015-07-29 13:45:46 +02:00
umount.cc
wide_path.h