bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: POSIX requires checking all *printf return values?!?


From: Pádraig Brady
Subject: Re: POSIX requires checking all *printf return values?!?
Date: Fri, 19 Oct 2007 16:42:52 +0100
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

Jim Meyering wrote:
> I'm beginning to wonder if this is an error in the C library after all.
> Surely POSIX doesn't intend to require that all programs test every
> *printf return value.  That would be silly.  If so, what's the point
> of the stream error indicator?

You make a fair point.
Perhaps the stream error indicator is just to indicate
errors external to the program?

I noticed a different work around in busybox
which only works for single threaded progs
(which should be fine for coreutils).
http://www.busybox.net/downloads/patches/svn-14627.patch

Pádraig.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]