delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/01/15/15:08:35

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3E2578A6.B4FEFEF5@phekda.freeserve.co.uk>
Date: Wed, 15 Jan 2003 15:05:10 +0000
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: fstat, fd_props and inventing inodes [PATCH]
References: <E18XkXR-0001ZC-00 AT phekda DOT freeserve DOT co DOT uk> <2593-Wed15Jan2003095337+0200-eliz AT is DOT elta DOT co DOT il>
Reply-To: djgpp-workers AT delorie DOT com

Hello.

Eli Zaretskii wrote:
[snip]
> Did you try to see what does this do with (a) handles open on devices,
> and (b) redirected handles?

No. I will take a look at that.

> Also, if you run _fixpath on a file name in a place other than where
> the file is actually opened, the program might be in a different
> directory, so _fixpath will produce incorrect results.

If the file name is relative, for example? (I think this is what you mean.)

Or do you mean something with levels of indirection, like SUBST'd drives?

Or both?

> Therefore, I believe that if we want to use fd_props for this, we should
> run _fixpath on the file name when its info is recorded in fd_props.
> Then fstat should simply reuse the absolute name.

Yes, good plan.

Thanks, bye, Rich =]

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

- Raw text -


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