From 0856c0bb2cf3d7738f7ccecfee943692b8e1a396 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sun, 5 Feb 2006 10:55:23 +0000 Subject: [PATCH] * dir.cc (rewinddir): Keep dirent_get_d_ino and dirent_set_d_ino flags. --- winsup/cygwin/dir.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }