* fhandler_disk_file.cc (fhandler_disk_file::readdir): Improve debug
output.
This commit is contained in:
parent
f2af71ea96
commit
65c3750e65
@ -1,3 +1,8 @@
|
||||
2006-12-21 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Improve debug
|
||||
output.
|
||||
|
||||
2006-12-20 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
Partially revert change from 2006-10-22. GetSecurityInfo messes up
|
||||
|
@ -1812,7 +1812,10 @@ fhandler_disk_file::readdir (DIR *dir, dirent *de)
|
||||
|
||||
go_ahead:
|
||||
|
||||
if (NT_SUCCESS (status))
|
||||
if (!NT_SUCCESS (status))
|
||||
debug_printf ("NtQueryDirectoryFile failed, status %p, win32 error %lu",
|
||||
status, RtlNtStatusToDosError (status));
|
||||
else
|
||||
{
|
||||
buf = (PFILE_ID_BOTH_DIR_INFORMATION) (d_cache (dir) + d_cachepos (dir));
|
||||
if (buf->NextEntryOffset == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user