From d06113bf8b6151fa5ac7ababe28a8cfc48c1406a Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 19 Mar 2024 16:22:40 +0100 Subject: [PATCH] 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 --- winsup/cygwin/dir.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/winsup/cygwin/dir.cc b/winsup/cygwin/dir.cc index be999414a..c30ed74d3 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) { -- 2.43.5