Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3E2AEE88.311F6390@phekda.freeserve.co.uk> Date: Sun, 19 Jan 2003 18:29:28 +0000 From: Richard Dawe 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: _createnew References: <200301191736 DOT SAA01943 AT lws256 DOT lu DOT erisoft DOT se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. Martin Stromberg wrote: > On the status page there's a bug on _createnew: > _creatnew does not honour the flags passed to it - it always opens it > read-write mode > > Are you aware of that anamoly is actually documented in its info page. No. But I am now. ;) > Is it really necessary to do anything? > > 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? > Personally, I don't see the justification for the extra effort. Maybe it should be priority 4? Thanks, bye, Rich =] -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]