X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f Date: Fri, 05 Apr 2002 14:23:33 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Richard Dawe Message-Id: <3995-Fri05Apr2002142333+0300-eliz@is.elta.co.il> X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: <3CAD6DD0.C64CF248@phekda.freeserve.co.uk> (message from Richard Dawe on Fri, 05 Apr 2002 10:26:40 +0100) Subject: Re: redirection problem with perl References: <10204031602 DOT AA18516 AT clio DOT rice DOT edu> <3CAB3AB4 DOT 2A0D2D7E AT phekda DOT freeserve DOT co DOT uk> <1190-Fri05Apr2002112638+0300-eliz AT is DOT elta DOT co DOT il> <3CAD6DD0 DOT C64CF248 AT phekda DOT freeserve DOT co DOT uk> 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 Precedence: bulk > Date: Fri, 05 Apr 2002 10:26:40 +0100 > From: Richard Dawe > > If the SFT is not valid, then what flag should it return out of O_RDONLY, > O_WRONLY, O_RDWR - should it return one? If so, I think O_RDWR would make most > sense. O_RDWR (with O_APPEND if __fd_properties says so) seems to be the best alternative.