[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fprintf failures on read-only streams

From: Eric Blake
Subject: fprintf failures on read-only streams
Date: Tue, 24 May 2011 13:21:11 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10

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:


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   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]