* fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Fix comment.
This commit is contained in:
parent
7a229db654
commit
74cab745fc
@ -1,3 +1,7 @@
|
||||
2006-10-23 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Fix comment.
|
||||
|
||||
2006-10-23 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Accomodate
|
||||
|
@ -1980,9 +1980,9 @@ fhandler_disk_file::rewinddir (DIR *dir)
|
||||
if (wincap.has_buggy_restart_scan () && isremote ())
|
||||
{
|
||||
/* This works around a W2K bug. The RestartScan parameter in calls
|
||||
to NtQueryDiretoryFile on remote shares is ignored, thus resulting
|
||||
in not being able to rewind on remote shares. By reopening the
|
||||
directory, we get a fresh new directory pointers. w*/
|
||||
to NtQueryDirectoryFile on remote shares is ignored, thus
|
||||
resulting in not being able to rewind on remote shares. By
|
||||
reopening the directory, we get a fresh new directory pointer. */
|
||||
UNICODE_STRING fname = {0, CYG_MAX_PATH * 2, (WCHAR *) L""};
|
||||
OBJECT_ATTRIBUTES attr;
|
||||
NTSTATUS status;
|
||||
|
Loading…
Reference in New Issue
Block a user