diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-11-27 14:48:27 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-11-27 14:48:27 +0000 |
commit | 376b1777498dcafc53d1d99d1a838030533c3361 (patch) | |
tree | a310e0733cc7f05b40374a39cd4b0f31a590517a /winsup | |
parent | 1aaa128794acee5e7cc55df72d8a7cc87676eec4 (diff) | |
download | newlib-376b1777498dcafc53d1d99d1a838030533c3361.zip newlib-376b1777498dcafc53d1d99d1a838030533c3361.tar.gz newlib-376b1777498dcafc53d1d99d1a838030533c3361.tar.bz2 |
* syscalls.cc (try_to_bin): Enhance debug output in case reopen fails.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/syscalls.cc | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 90b121e..6155962 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,9 @@ 2013-11-27 Corinna Vinschen <corinna@vinschen.de> + * syscalls.cc (try_to_bin): Enhance debug output in case reopen fails. + +2013-11-27 Corinna Vinschen <corinna@vinschen.de> + * syscalls.cc (try_to_bin): Drop fh_dup, reuse tmp_fh instead. 2013-11-27 Corinna Vinschen <corinna@vinschen.de> diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index c5e8c42..8769eb5 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -285,7 +285,8 @@ try_to_bin (path_conv &pc, HANDLE &fh, ACCESS_MASK access, ULONG flags) status = NtOpenFile (&tmp_fh, access, &attr, &io, FILE_SHARE_VALID_FLAGS, flags); if (!NT_SUCCESS (status)) - debug_printf ("NtOpenFile (reopen) failed, status = %y", status); + debug_printf ("NtOpenFile (%S) for reopening caseinsensitive failed, " + "status = %y", pc.get_nt_native_path (), status); else { NtClose (fh); |