[newlib-cygwin/main] Cygwin: readdir(3): stop support for pre-Cygwin 1.5.0 apps
Corinna Vinschen
corinna@sourceware.org
Wed Mar 20 13:49:36 GMT 2024
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=d06113bf8b6151fa5ac7ababe28a8cfc48c1406a
commit d06113bf8b6151fa5ac7ababe28a8cfc48c1406a
Author: Corinna Vinschen <corinna@vinschen.de>
AuthorDate: Tue Mar 19 16:22:40 2024 +0100
Commit: Corinna Vinschen <corinna@vinschen.de>
CommitDate: Tue Mar 19 16:22:40 2024 +0100
Cygwin: readdir(3): stop support for pre-Cygwin 1.5.0 apps
We're filling dirent::__d_internal1 with the inode number to
support apps built under Cygwin 1.3 and earlier. This doesn't
make sense anymore. Drop this to free up __d_internal1 for
other TBD use.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/dir.cc | 3 ---
1 file changed, 3 deletions(-)
diff --git a/winsup/cygwin/dir.cc b/winsup/cygwin/dir.cc
index be999414a7ab..c30ed74d32b9 100644
--- a/winsup/cygwin/dir.cc
+++ b/winsup/cygwin/dir.cc
@@ -163,9 +163,6 @@ readdir_worker (DIR *dir, dirent *de)
}
}
}
- /* This fills out the old 32 bit d_ino field for old applications,
- build under Cygwin before 1.5.x. */
- de->__d_internal1 = de->d_ino;
}
__except (NO_ERROR)
{
More information about the Cygwin-cvs
mailing list