X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: weird problem with printf() Date: 20 Sep 2004 11:01:15 GMT Lines: 16 Message-ID: <2r7rjrF17idfoU2@uni-berlin.de> References: <59493f32 DOT 0409200155 DOT 7ad6ec60 AT posting DOT google DOT com> X-Trace: news.uni-berlin.de QXj2bkTbUDLDtDLOiEYJyQS+rQ+pzSGGHICrBSUBMH8WSfHEv4ETXUkxdf X-Orig-Path: not-for-mail To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Aniruddha wrote: > I am flushing the output stream after every printf. Is it because of > the size of the translation unit or some problem with insufficient > memory? Almost certainly not. The problem, whatever it actually may be, is almost certainly in the (presumably large) portions of your program that you didn't show, and it could be almost literally *anything*. My assumption being that you're somehow invoking undefined, which just happens to kill your stdout stream (redirect it to /dev/null or whatever). -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.