Files
semi-libc/src/stdio
Rich Felker 10a17dfbad fix assumption in fputs that fwrite returning 0 implies an error
internally, the idiom of passing nmemb=1 to fwrite and interpreting
the return value of fwrite (which is necessarily 0 or 1) as
failure/success is fairly widely used. this is not correct, however,
when the size argument is unknown and may be zero, since C requires
fwrite to return 0 in that special case. previously fwrite always
returned nmemb on success, but this was changed for conformance with
ISO C by commit 500c6886c6.
2016-02-16 13:26:16 -05:00
..
2011-02-12 00:22:29 -05:00
2012-11-08 16:39:41 -05:00
2011-02-20 17:19:37 -05:00
2011-02-12 00:22:29 -05:00
2012-10-27 19:52:40 -04:00
2012-11-08 16:39:41 -05:00
2015-06-13 20:53:02 +00:00
2012-10-27 19:52:40 -04:00
2012-11-08 16:39:41 -05:00
2011-02-12 00:22:29 -05:00
2013-04-05 23:20:28 -07:00
2012-10-27 19:52:40 -04:00
2011-02-12 00:22:29 -05:00
2012-11-08 16:39:41 -05:00
2012-11-08 16:39:41 -05:00
2012-11-08 16:39:41 -05:00
2012-11-08 16:39:41 -05:00
2012-06-20 09:27:28 -04:00
2012-10-27 19:52:40 -04:00
2011-02-12 00:22:29 -05:00
2012-11-08 16:39:41 -05:00
2012-11-08 16:39:41 -05:00
2013-04-05 23:20:28 -07:00
2013-04-05 23:20:28 -07:00
2014-06-04 03:39:22 -04:00
2013-04-05 23:20:28 -07:00
2012-11-08 16:39:41 -05:00
2013-04-05 23:20:28 -07:00
2012-11-08 16:39:41 -05:00
2013-04-05 23:20:28 -07:00
2013-04-05 23:20:28 -07:00
2013-04-05 23:20:28 -07:00