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:
@@ -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
|
||||
|
Reference in New Issue
Block a user