4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-18 12:29:32 +08:00

* dir.cc (rewinddir): Keep dirent_get_d_ino and dirent_set_d_ino flags.

This commit is contained in:
Corinna Vinschen 2006-02-05 10:55:23 +00:00
parent c6e665bb95
commit 0856c0bb2c

View File

@ -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);
}