delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/09/18/16:32:18

Date: Wed, 18 Sep 2002 23:31:41 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <2110-Wed18Sep2002233140+0300-eliz@is.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, acottrel AT ihug DOT com DOT au
In-reply-to: <10209142103.AA22000@clio.rice.edu> (sandmann@clio.rice.edu)
Subject: Re: Two rm.exe issues on XP
References: <10209142103 DOT AA22000 AT clio DOT rice DOT edu>
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

> From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
> Date: Sat, 14 Sep 2002 16:03:21 -0500 (CDT)
> 
> So, it seems consistently broken (ftest.exe and ./ftest.exe should be
> the same ...)

The fact that ftest.exe and ./ftest.exe produce different inodes is a
known limitation of fstat on Windows.  I simply know of no way to get
at the starting cluster of the file on Windows (there's a special
function of Int 21h to get it on Windows, but that function doesn't
work on any version of Windows).

So we have no alternative but hash.

Having different inodes for the same file is bad, but not as bad as
having the same inode for two different files ;-)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019