Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3D890861.5BA7C2E6@phekda.freeserve.co.uk> Date: Thu, 19 Sep 2002 00:12:33 +0100 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: Two rm.exe issues on XP References: <10209182049 DOT AA13258 AT clio DOT rice DOT edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. Charles Sandmann wrote: > > > 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). > > What if we did a truename on the name after a sucessful open, and stored > that string for the hashing? [snip] I think we can already do this. We can get the filename in fstat using the fd_properties functions. I look at doing that at the weekend. Regards, -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]