diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-02-05 13:55:23 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-02-05 13:55:23 +0300 |
commit | 0856c0bb2cf3d7738f7ccecfee943692b8e1a396 (patch) | |
tree | 7178de70f1e863e629961156758cacc342e2a1e8 /winsup/cygwin/dir.cc | |
parent | c6e665bb95e4d8652ef17d89de627867fe961e71 (diff) |
* dir.cc (rewinddir): Keep dirent_get_d_ino and dirent_set_d_ino flags.
Diffstat (limited to 'winsup/cygwin/dir.cc')
-rw-r--r-- | winsup/cygwin/dir.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/dir.cc b/winsup/cygwin/dir.cc index eb357cd02..f1149bcf6 100644 --- a/winsup/cygwin/dir.cc +++ b/winsup/cygwin/dir.cc @@ -221,7 +221,7 @@ rewinddir (DIR *dir) if (dir->__d_cookie != __DIRENT_COOKIE) return; - dir->__flags &= dirent_isroot; + dir->__flags &= (dirent_isroot | dirent_get_d_ino | dirent_set_d_ino); return ((fhandler_base *) dir->__fh)->rewinddir (dir); } |