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