Date: Sun, 09 Mar 2003 06:19:44 +0200 From: "Eli Zaretskii" 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: <200303090033 DOT h290XfN11047 AT envy DOT delorie DOT com> Reply-To: Eli Zaretskii 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: Sat, 8 Mar 2003 19:33:41 -0500 > From: DJ Delorie > > 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.