Re: fprintf failures on read-only streams

2011-05-24 Thread Bruno Haible
Hi Eric, > 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 wo

fprintf failures on read-only streams

2011-05-24 Thread Eric Blake
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