This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: Sticky EOF breaks stream concatenation via dup2 [BZ #23636]


Florian Weimer <fweimer@redhat.com> writes:

>> Getting back to the particular software broken, cups-filter, how did
>> it work on non-glibc systems without this bug? Was the code being used
>> glibc-specific? Or was it just untested elsewhere?
> The current dependencies of cups-filters look sufficiently heavy that
> it's possible that only glibc targets were used with it.

cups-filters is included in the FreeBSD ports collection, but they've
been carrying a patch since 2015 that adds clearerr(stdin); in the
appropriate place:

https://svnweb.freebsd.org/ports/head/print/cups-filters/files/patch-filter_foomatic-rip_foomaticrip.c?revision=411031&view=markup

-- 
Adam Sampson <ats@offog.org>                         <http://offog.org/>


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