On 2020-12-28 2:08 p.m., Bruno Haible wrote:
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
My apologies, I didn't mean to waste anyone's time! As for your answer, I have downloaded, extracted & copied the new directory (m4-2020-12-26/) parallel to the existing m4-native/ directory but have not been able to update the paths correctly yet.

Reply via email to