diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 7cd946d4c..5c511e21c 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2007-08-02 Corinna Vinschen + + * fhandler_disk_file.cc (path_conv::ndisk_links): Fix typo in call to + NtClose. + 2007-08-01 Corinna Vinschen * syscalls.cc (rename): Check if oldpath and newpath refer to the diff --git a/winsup/cygwin/fhandler_disk_file.cc b/winsup/cygwin/fhandler_disk_file.cc index b61c12f6f..45dee518b 100644 --- a/winsup/cygwin/fhandler_disk_file.cc +++ b/winsup/cygwin/fhandler_disk_file.cc @@ -242,7 +242,7 @@ path_conv::ndisk_links (DWORD nNumberOfLinks) } while (dir->check_missing_mount ()) ++count; - NtClose (dir); + NtClose (fh); delete dir; return count; }