diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index d76219164..622c67db6 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2006-10-23 Corinna Vinschen + + * fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Fix comment. + 2006-10-23 Corinna Vinschen * fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Accomodate diff --git a/winsup/cygwin/fhandler_disk_file.cc b/winsup/cygwin/fhandler_disk_file.cc index ed67bc78e..da358bd1d 100644 --- a/winsup/cygwin/fhandler_disk_file.cc +++ b/winsup/cygwin/fhandler_disk_file.cc @@ -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;