diff options
-rw-r--r-- | winsup/cygwin/release/2.6.1 | 3 | ||||
-rw-r--r-- | winsup/cygwin/syscalls.cc | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/winsup/cygwin/release/2.6.1 b/winsup/cygwin/release/2.6.1 index 2d5aef88f..61ce2de64 100644 --- a/winsup/cygwin/release/2.6.1 +++ b/winsup/cygwin/release/2.6.1 @@ -11,3 +11,6 @@ Bug Fixes - Fix regression in console charset handling Addresses: https://cygwin.com/ml/cygwin/2016-10/msg00000.html + +- Fix case-sensitivity problem when renaming directories + Addresses: https://cygwin.com/ml/cygwin/2016-09/msg00264.html diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index ba7c743d9..13bb309a8 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -2224,7 +2224,7 @@ rename (const char *oldpath, const char *newpath) /* Check for newpath being identical or a subdir of oldpath. */ if (RtlPrefixUnicodeString (oldpc.get_nt_native_path (), newpc.get_nt_native_path (), - TRUE)) + oldpc.objcaseinsensitive ())) { if (newpc.get_nt_native_path ()->Length == oldpc.get_nt_native_path ()->Length) |