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]


On 09/17/2018 11:14 AM, Adam Sampson wrote:
> 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,

Thank you *very* much for chiming in. That data point is indicative
that we may have just a few packages that fail like this.

Do you have any visibility into the ports tree to see how many
other patches add clearerr(.*);?

-- 
Cheers,
Carlos.


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