public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin/main] Cygwin: readdir(3): stop support for pre-Cygwin 1.5.0 apps
@ 2024-03-20 13:49 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2024-03-20 13:49 UTC (permalink / raw)
  To: cygwin-cvs

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)
     {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-20 13:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-20 13:49 [newlib-cygwin/main] Cygwin: readdir(3): stop support for pre-Cygwin 1.5.0 apps Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).