Fwd: Bug#43023: libc 2.1.1-10 makes it impossible to use stdoutreliably

Alex Buell alex.buell@tahallah.demon.co.uk
Sun Aug 15 13:44:00 GMT 1999


On Sun, 15 Aug 1999, Joel Klecker wrote:

> However, stdio buffers things.  In many cases, the data doesn't get
> written until the program returns from main or calls exit(3).
> Furthermore there exist a number of network filesystems and similar
> systems where write errors are not reported until close(2).  So a
> straightforward `hello world' program, for example, might well lose
> data, even if it checked the return from printf(3).

BOLLOCKS, COMPLETE BOLLOCKS.  Three choices: 1) Don't use stdio 2) turn
buffering off 3) use fflush(). Read the info files for further
information.

*plonk*

I don't like trolls.

Cheers, 
Alex 
-- 

Legalise cannabis today!

http://www.tahallah.demon.co.uk



More information about the Libc-alpha mailing list