This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author neologix
Recipients jasujm, neologix, pitrou, serhiy.storchaka
Date 2013-05-14.16:52:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368550355.86.0.479601952968.issue17976@psf.upfronthosting.co.za>
In-reply-to
Content
> Indeed, fwrite() can return expected number of items and set errno. Here is a simple example on C. An output is:

Yeah, who's volunteering to report it to the glibc?

That's not a python bug, but I feel bad ignoring it.

Note that ferror() isn't reliable (not on my box at least), so we have to use errno directly.
And of course keep the check that the value returned by fwrite matches.
History
Date User Action Args
2013-05-14 16:52:35neologixsetrecipients: + neologix, pitrou, serhiy.storchaka, jasujm
2013-05-14 16:52:35neologixsetmessageid: <1368550355.86.0.479601952968.issue17976@psf.upfronthosting.co.za>
2013-05-14 16:52:35neologixlinkissue17976 messages
2013-05-14 16:52:35neologixcreate