Date: Thu, 20 Mar 2003 06:17:43 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: rich AT phekda DOT freeserve DOT co DOT uk Message-Id: <7263-Thu20Mar2003061743+0200-eliz@elta.co.il> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: <3E78D73C.3B41ECF@phekda.freeserve.co.uk> (message from Richard Dawe on Wed, 19 Mar 2003 20:46:52 +0000) Subject: Re: DJGPP 2.04 release? [Was: Re: nmalloc revisited] References: <10303182107 DOT AA24101 AT clio DOT rice DOT edu> <3E7868E9 DOT 19949F8E AT phekda DOT freeserve DOT co DOT uk> <9003-Wed19Mar2003174940+0200-eliz AT elta DOT co DOT il> <3E78AA1D DOT 23720139 AT phekda DOT freeserve DOT co DOT uk> <3405-Wed19Mar2003223319+0200-eliz AT elta DOT co DOT il> <3E78D73C DOT 3B41ECF AT phekda DOT freeserve DOT co DOT uk> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Wed, 19 Mar 2003 20:46:52 +0000 > From: Richard Dawe > > We could modify stat to use _invent_inode for directories, so that it > generates the same inode every time it is called for the directory. We would > use _invent_inode, because we cannot rely on the current method (on Win2k/XP) > to return the same inode each time. Are you saying that the current code does _not_ invent inodes on Windows/XP? I'd be surprised, I thought we invent inodes for any kind of files on all the versions of Windows except 3.1. > To ensure that we get the same inode, we > would also have to ensure that we pass the same filename to _invent_inode. So > the directory's filename would need to be fixed using _truename. I thought `stat' already calls _truename and the result is passed to _invent_inode, isn't that true?