delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/03/08/23:30:47

Date: Sun, 09 Mar 2003 06:19:44 +0200
From: "Eli Zaretskii" <eliz AT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: dj AT delorie DOT com
Message-Id: <8632-Sun09Mar2003061943+0200-eliz@elta.co.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp-workers AT delorie DOT com
In-reply-to: <200303090033.h290XfN11047@envy.delorie.com> (message from DJ
Delorie on Sat, 8 Mar 2003 19:33:41 -0500)
Subject: Re: New POSIX: pwrite, revision 2 [PATCH]
References: <E18roPd-0000Rn-00 AT phekda DOT freeserve DOT co DOT uk> <200303090033 DOT h290XfN11047 AT envy DOT delorie DOT com>
Reply-To: Eli Zaretskii <eliz AT elta DOT co DOT il>
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Sat, 8 Mar 2003 19:33:41 -0500
> From: DJ Delorie <dj AT delorie DOT com>
> 
> I still think this is the wrong test.  FILE_DESC_PIPE is set by the
> pipe() call, but that call *always* uses regular files.  We should be
> testing the "is a device" bit from int 21/44/00

Yes, I agree: we should fail the function for character devices.

> (but not sure what to do about FSEXT).

If the handle is hooked by an FSEXT, I think we should give it a
chance to do its thing.

- Raw text -


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