cygpath: Try to return system directories with correct case

* cygpath.cc (do_sysfolders): Drop lame workaround to fix case of
	directory returned by GetSystemDirectoryW.  Try to fix case of
	any path returned by this function in case it has to return a
	POSIX path to support case-sensitivity.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2016-01-07 21:07:56 +01:00
parent 9614a29f17
commit e70dbe774a
2 changed files with 40 additions and 14 deletions

View File

@@ -73,3 +73,7 @@ Bug Fixes
- Fix a potential crash reading invalid passwd and group entries from
/etc/passwd and /etc/group.
Addresses: https://cygwin.com/ml/cygwin/2015-12/msg00170.html
- Cygpath(1) now tries to correct the case of system directories when
returned as POSIX paths.
Addresses: https://cygwin.com/ml/cygwin/2016-01/msg00002.html