Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-08-05 07:04:28 +0400
committerChristopher Faylor <me@cgf.cx>2003-08-05 07:04:28 +0400
commit3fea2e408799e2a4539ddaf050331e877639a8aa (patch)
tree00a642eba1145a48575ac19196946f807851bb4b /winsup/cygwin/fhandler_proc.cc
parent2f631ebc94703f06ddb26fd256daff72686d01f0 (diff)
* fhandler_disk_file.cc (fhandler_cygdrive::readdir): Do not change 'errno' if
end of directory condition is encountered as per SUSv2. * fhandler_proc.cc (fhandler_proc::readdir): Ditto. * fhandler_process (fhandler_process::readdir): Ditto. * fhandler_registry (fhandler_registry::readdir): Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler_proc.cc')
-rw-r--r--winsup/cygwin/fhandler_proc.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc
index d7f5a1a3b..584064210 100644
--- a/winsup/cygwin/fhandler_proc.cc
+++ b/winsup/cygwin/fhandler_proc.cc
@@ -206,7 +206,6 @@ fhandler_proc::readdir (DIR * dir)
dir->__d_position++;
return dir->__d_dirent;
}
- set_errno (ENMFILE);
return NULL;
}