This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/11959] fwrite must not be declared with the warn_unused_result attribute
- From: "eblake at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 30 Aug 2010 20:46:01 -0000
- Subject: [Bug libc/11959] fwrite must not be declared with the warn_unused_result attribute
- References: <20100830202938.11959.jim@meyering.net>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From eblake at redhat dot com 2010-08-30 20:46 -------
This is particularly true since fputc is declared without __wur - consistency
demands that both or neither should have the attribute, and I strongly favor
neither based on the number of bug reports that have been falsely attributed to
gnulib as a result of glibc's header markup on fwrite. For example:
http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/22751
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |eblake at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=11959
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.