Mail Archives: djgpp-workers/2003/01/20/06:03:20.2
Hello.
Martin Str|mberg wrote:
>
> According to Richard Dawe:
> > Martin Stromberg wrote:
> > > _creatnew does not honour the flags passed to it - it always opens it
> > > read-write mode
> > > If we really think we should do something, how about this for
> > > implementation: set some fd_props to say that only reading is allowed
> > > (and if somebody reads there's nothing to read as it's empty).
> >
> > I'm not sure I like that. Wouldn't it be better (more consistent) to rely
> > on DOS to maintain this information?
>
> Yes, if possible. But remember the potential race condition.
Which potential race condition? Do you mean the one I describe in this mail
(the last one listed for _creatnew on the 2.04 status page):
http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp-workers/2002/04/05/08:00:44
Or is there another one?
Thanks, bye, Rich =]
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
- Raw text -