delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/02/18/01:40:57

Date: Sun, 18 Feb 2001 08:38:59 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Mark E." <snowball3 AT bigfoot DOT com>
cc: djgpp-workers AT delorie DOT com
Subject: Re: O_TEMPORARY
In-Reply-To: <3A8F26A1.10071.80A22F@localhost>
Message-ID: <Pine.SUN.3.91.1010218083525.4804I-100000@is>
MIME-Version: 1.0
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

On Sun, 18 Feb 2001, Mark E. wrote:

> > That > is, simply record each open file in the per-handle array that you
> > invented for the O_TEMPORARY feature, even if it is not open with
> > O_TEMPORARY.
> 
> If we go this way, then let's take it one step further and have it store the 
> flags used to open the file with, a flag for 'seek past eof', etc. so it can 
> be used by many file handling routines and not just the O_TEMPORARY ones.

...and add O_TEMPORARY support to fcntl, and let fstat know about the 
per-fd info, so it could easily fetch the file's name and hash it for 
_invent_inode without going through the hoops of undocumented features, 
and...

I just didn't think I should throw all those ideas on you, but maybe you 
feel like doing all that, too ;-)

- Raw text -


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