www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/09/18/19:12:44

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 <rich AT phekda DOT freeserve DOT co DOT uk>
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>
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/ ]

- Raw text -


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