From: greve AT rs1 DOT thch DOT uni-bonn DOT de (Thomas Greve) Subject: Re: How safe is -O2? To: dj AT ctron DOT com (DJ Delorie) Date: Fri, 15 May 92 18:52:42 NFT Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Status: O > It has been noted that cout doesn't flush on exit - it may be the same > problem. Has anyone looked at atexit() to see if it has any bugs? > You have removed atexit from the libc. (i stumbled over this when trying to compile libc with an old makefile ;-) Maybe *this* is the answer to the abv questions? BTW: i didn't notice that cout doesn't flush. I thought it flushes immediately after every \n?? But i will look for this. Do i remember right that this happens only when stdout is redirected? - Thomas greve AT rs1 DOT thch DOT uni-bonn DOT de unt145 AT dbnrhrz1