From f794bf13432495c1dafaf1f675a076b653395814 Mon Sep 17 00:00:00 2001 From: corinna Date: Fri, 14 Aug 2009 14:10:31 +0000 Subject: [PATCH] * fhandler_disk_file.cc (fhandler_disk_file::readdir): Change comment to be fair. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/fhandler_disk_file.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 8aaa8fb436..2473cf962a 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,10 @@ 2009-08-14 Corinna Vinschen + * fhandler_disk_file.cc (fhandler_disk_file::readdir): Change comment + to be fair. + +2009-08-14 Corinna Vinschen + * fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Remove ill-advised attempt to optimize "." and ".." handling by checking for specific position in directory listing. Explain why. diff --git a/winsup/cygwin/fhandler_disk_file.cc b/winsup/cygwin/fhandler_disk_file.cc index 0c0f2bc918..2c476e4828 100644 --- a/winsup/cygwin/fhandler_disk_file.cc +++ b/winsup/cygwin/fhandler_disk_file.cc @@ -1994,7 +1994,7 @@ go_ahead: Worse, trying to open a symlink without setting the special "ActOnSymlink" EA triggers a bug in Windows 7 which results - in a timeout of about 20 seconds, followed by two exceptions + in a timeout of up to 20 seconds, followed by two exceptions in the NT kernel. Since both results are far from desirable, we open symlinks -- 2.11.0