From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id E7F243858D1E; Wed, 20 Mar 2024 13:49:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E7F243858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1710942576; bh=zdGPHYlIN4+LARGRcum+f1wrIvCDW62Uo0XK18E1/94=; h=From:To:Subject:Date:From; b=QPWVUKUBBDzA/Gbgp04KZL5Wxzyy+e+PENKK2wYiy61wgGcFBTbsGpNWUE9yapJRO hWO8yKfbjmMVJlHBz4mfoEPdyznzkzeyhU4lPf00YMdhbT8EtJfCqW5T1TJofGdOR3 u0KeeTJW5g5UtHirhvArI/BQZSWZbW7w2mcwgzng= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Corinna Vinschen To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin/main] Cygwin: readdir(3): stop support for pre-Cygwin 1.5.0 apps X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/main X-Git-Oldrev: bfe2790e7bc4400019a765bb9d0b7545a05ce447 X-Git-Newrev: d06113bf8b6151fa5ac7ababe28a8cfc48c1406a Message-Id: <20240320134936.E7F243858D1E@sourceware.org> Date: Wed, 20 Mar 2024 13:49:36 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3Dd06113bf8b6= 151fa5ac7ababe28a8cfc48c1406a commit d06113bf8b6151fa5ac7ababe28a8cfc48c1406a Author: Corinna Vinschen AuthorDate: Tue Mar 19 16:22:40 2024 +0100 Commit: Corinna Vinschen CommitDate: Tue Mar 19 16:22:40 2024 +0100 Cygwin: readdir(3): stop support for pre-Cygwin 1.5.0 apps =20 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. =20 Signed-off-by: Corinna Vinschen 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 =3D de->d_ino; } __except (NO_ERROR) {