diff options
author | Christopher Faylor <me@cgf.cx> | 2006-01-20 18:27:08 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-01-20 18:27:08 +0000 |
commit | 6b3b165ec174b0a7729adf2ffde2cfd48efe9594 (patch) | |
tree | 46470a7269c5cfd9a36adae6f2f91dd36a30d9d4 | |
parent | 59aa7adfe6d79b416b106c0c3824292048f94100 (diff) | |
download | newlib-cr-0x5ef.zip newlib-cr-0x5ef.tar.gz newlib-cr-0x5ef.tar.bz2 |
Only use name change patch in dir.cc.github/cr-0x5efcr-0x5ef
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/dir.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 67023d1..c9ed800 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -6,8 +6,8 @@ 2006-01-19 Christopher Faylor <cgf@timesys.com> - * dir.cc (readdir_worker): Fill in invalid fields with -1. Accommodate - name change from __ino32 to __invalid_ino32. + * dir.cc (readdir_worker): Accommodate name change from __ino32 to + __invalid_ino32. * include/sys/dirent.h (__invalid_ino32): Rename from __ino32. Don't define unused d_type macros. diff --git a/winsup/cygwin/dir.cc b/winsup/cygwin/dir.cc index 14f02d9..44f0b05 100644 --- a/winsup/cygwin/dir.cc +++ b/winsup/cygwin/dir.cc @@ -104,8 +104,8 @@ readdir_worker (DIR *dir, dirent *de) /* error return */; else if (!CYGWIN_VERSION_CHECK_FOR_NEEDS_D_INO) { - de->__invalid_d_ino = (ino_t) -1; - de->__invalid_ino32 = (uint32_t) -1; + de->__invalid_d_ino = (ino_t) 0; + de->__invalid_ino32 = (uint32_t) 0; if (de->d_name[0] == '.') { if (de->d_name[1] == '\0') |