bug-gnulib
[Top][All Lists]
Advanced

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

Re: fseeko broken by Fedora rawhide glibc / git master (ie future 2.28)


From: Paul Eggert
Subject: Re: fseeko broken by Fedora rawhide glibc / git master (ie future 2.28)
Date: Mon, 5 Mar 2018 11:00:40 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 03/05/2018 04:19 AM, Daniel P. Berrangé wrote:
I'm curious why we're trying to replace fseeko impl at all, since I
would expect the modern glibc impl to be suitable to use as-is.

It's to work around glibc bug#12799, a longstanding bug with ungetc and fflush. See the bug-gnulib thread that starts here:

https://lists.gnu.org/r/bug-gnulib/2009-01/msg00067.html

Any chance of getting that glibc bug fixed in glibc 2.28? That should avoid the problem with Gnulib, and would be a good thing in its own right. In the meantime, the attached Gnulib patch is intended to work around the bug from the Gnulib side; does it work for you? (I haven't tried it on rawhide.)

Attachment: 0001-fflush-adjust-to-glibc-2.28-libio.h-removal.txt
Description: Text document


reply via email to

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