bug-gnulib
[Top][All Lists]
Advanced

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

Re: port freadahead.c & fseeko.c


From: Bruno Haible
Subject: Re: port freadahead.c & fseeko.c
Date: Mon, 28 Dec 2020 23:08:53 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-197-generic; KDE/5.18.0; x86_64; ; )

Ron Eggler wrote:
> On 2020-12-23 4:17 p.m., Paul Eggert wrote:
> > On 12/23/20 1:56 PM, Ron Eggler wrote:
> >> How can I patch these files to work with my platform?
> >
> > Look in your stdio.h (commonly /usr/include/stdio.h), and the files it 
> > includes, to see how it defines ungetc etc. Then use that knowledge to 
> > update lib/freadahead.c and lib/fseeko.c. It'll require some expertise 
> > in low-level C hacking.
> 
> I'm having troubles with finding the correct definition, when I grep the 
> sources for ungetc I get the following:
> 
> x86_64-linux$ grep -rn --include \*.h ungetc
> m4-native/1.4.17-r0/m4-1.4.17/lib/stdio-impl.h:65: struct  __sbuf _ub; 
> /* ungetc buffer */

Ron,

Please don't waste Paul's time. You got the answer already:

https://lists.gnu.org/archive/html/bug-gnulib/2020-12/msg00197.html

Bruno




reply via email to

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