diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2010-09-01 14:30:52 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2010-09-01 14:30:52 +0400 |
commit | 20973ec94886bf3b465f94430ea3d45eaaaf43a3 (patch) | |
tree | 3b9c58ea9b42013774ff2728c9794eacc45eedd3 /winsup/cygwin/fhandler_registry.cc | |
parent | 41073b47f55701c0eb25f069c3e7c42e908dcd4f (diff) |
* fhandler_netdrive.cc (fhandler_netdrive::readdir): Set d_type.
(fhandler_netdrive::seekdir): Fix test for readdir return value.
* fhandler_registry.cc (fhandler_registry::seekdir): Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler_registry.cc')
-rw-r--r-- | winsup/cygwin/fhandler_registry.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_registry.cc b/winsup/cygwin/fhandler_registry.cc index e414efbb3..478b9cca4 100644 --- a/winsup/cygwin/fhandler_registry.cc +++ b/winsup/cygwin/fhandler_registry.cc @@ -657,7 +657,7 @@ fhandler_registry::seekdir (DIR * dir, long loc) */ rewinddir (dir); while (loc > (dir->__d_position & REG_POSITION_MASK)) - if (!readdir (dir, dir->__d_dirent)) + if (readdir (dir, dir->__d_dirent)) break; } |