* syscalls.cc (try_to_bin): Enhance debug output in case reopen fails.
This commit is contained in:
parent
1aaa128794
commit
376b177749
|
@ -1,3 +1,7 @@
|
||||||
|
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>
|
2013-11-27 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* syscalls.cc (try_to_bin): Drop fh_dup, reuse tmp_fh instead.
|
* syscalls.cc (try_to_bin): Drop fh_dup, reuse tmp_fh instead.
|
||||||
|
|
|
@ -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,
|
status = NtOpenFile (&tmp_fh, access, &attr, &io, FILE_SHARE_VALID_FLAGS,
|
||||||
flags);
|
flags);
|
||||||
if (!NT_SUCCESS (status))
|
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
|
else
|
||||||
{
|
{
|
||||||
NtClose (fh);
|
NtClose (fh);
|
||||||
|
|
Loading…
Reference in New Issue