This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fix fputc and friends on read-only streams


On 06/07/2011 11:57 AM, Eric Blake wrote:
> POSIX requires that ferror() and errno reflect any failed attempt to
> write to a read-only stream, but newlib wasn't reliably doing this:
> 
> 2011-06-07  Eric Blake  <eblake@redhat.com>
> 
> 	* libc/stdio/wsetup.c (__swsetup_r): Set errno on failure.

Ping.

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]