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
