delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/04/20/07:15:19

Date: Tue, 20 Apr 1999 12:09:39 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Mark E." <snowball3 AT usa DOT net>
cc: djgpp-workers AT delorie DOT com
Subject: Re: Bug no. 277
In-Reply-To: <199904200520.FAA38452@out5.ibm.net>
Message-ID: <Pine.SUN.3.91.990420120734.841J-100000@is>
MIME-Version: 1.0
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

On Tue, 20 Apr 1999, Mark E. wrote:

> If you compile the original example, it "fails" just like the sample C++ 
> program in bug #377 when ctrl-z is pressed. When a call to 
> clearerr(stdin) is added as above, the program waits at the second 
> prompt.

Yup, that's what the C program I put in my note to this bug report did 
also.

> But when I added clearerr(stdin) to bug 377's sample 
> program, it made no difference. So I have to conclude that it's a 
> libstdc++ and not a DJGPP problem .

So this probably means that libstdc++ doesn't use the stdin stream at 
all, right?

Thanks for working on this, I think I can now close the bug report.

- Raw text -


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