Just last week, glibc fixed a bug where vfprintf failed to set ferror() when returning EOF due to an attempt to output to a read-only stream:
http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=aec84f5395 Should we update fprintf-posix and friends to detect this bug and work around it on older glibc? And at any rate, we probably need to update docs/posix-functions/[v][f]printf to document it. -- Eric Blake ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature