www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/04/20/17:47:59

Message-Id: <199904202247.WAA12596@out1.ibm.net>
From: "Mark E." <snowball3 AT usa DOT net>
To: djgpp-workers AT delorie DOT com
Date: Tue, 20 Apr 1999 18:48:15 -0400
MIME-Version: 1.0
Subject: Re: Bug no. 277
In-reply-to: <199904201438.KAA10238@envy.delorie.com>
References: <199904200356 DOT DAA32542 AT out2 DOT ibm DOT net> (snowball3 AT usa DOT net)
X-mailer: Pegasus Mail for Win32 (v3.01d)
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> 
> > If it isn't intentional, here's a patch to not let _IOEOF be set when
> > the stream is stdin:
> 
> Will this do the right thing if stdin is redirected?  It won't do
> the right thing if someone dup's stdin to another stream,
> nor fdopens fd 0 to another stream.
> 

Also, the draft standard disallows my patch even if I modified it to do 
what I wanted.

Mark

--- 
Mark Elbrecht, snowball3 AT usa DOT net
http://snowball.digitalspace.net/

- Raw text -


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