delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/01/19/13:30:47

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 <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: _createnew
References: <200301191736 DOT SAA01943 AT lws256 DOT lu DOT erisoft DOT se>
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/ ]

- Raw text -


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