[Bug 5156] New: fclose and fflush do not report write failures
bugzilla at busybox.net
bugzilla at busybox.net
Sun Apr 29 05:30:56 UTC 2012
https://bugs.busybox.net/show_bug.cgi?id=5156
Summary: fclose and fflush do not report write failures
Product: uClibc
Version: 0.9.33.1
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: stdio
AssignedTo: unassigned at uclibc.org
ReportedBy: michael at talamasca.ocis.net
CC: uclibc-cvs at uclibc.org
Estimated Hours: 0.0
Created attachment 4310
--> https://bugs.busybox.net/attachment.cgi?id=4310
Testcase for failure to report fclose/fflush failure
The fclose() and fflush() functions do not return EOF when buffered information
could not be written out.
This causes spurious test failures on modern GNU utilities (their testsuites
enforce that "foo --version > /dev/full" returns a failure exit status).
I'm attaching a simple testcase program containing two variations, both of
which 0.9.33.1 fails.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the uClibc-cvs
mailing list