Mail Archives: djgpp-workers/2001/02/18/01:40:57
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 -