Sender: nate AT cartsys DOT com Message-ID: <370E4124.D6F9387B@cartsys.com> Date: Fri, 09 Apr 1999 11:04:20 -0700 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.5 i586) MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: fflush question References: <199904082241 DOT SAA27805 AT mccoy2 DOT ECE DOT McGill DOT CA> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Alain Magloire wrote: > > So do these systems have serious bugs in scanf, or is there a subtle bug > > in the test that I missed? > > Yes. In your second test your doing 2 fscanf(), and the printf() > is missing an argument. I run this On Solaris, QNX, SunOS with > no problems .i.e no need for fsync(). Duuuuuuuuuuuuuuuuuuuuh. Wow, do I feel dumb. Okay, new results are on their way, this time without the benefit of pseudocode. :) -- Nate Eldredge nate AT cartsys DOT com