This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH] Don't install libio.h or _G_config.h
On Mon, 5 Feb 2018, Zack Weinberg wrote:
> I suppose, for comparison purposes, I could temporarily restore the
> getc/putc macros (with prototypes for _IO_getc and _IO_putc in
> stdio.h) and leave blank lines in vfprintf.c; that ought to make
> everything come out exactly the same.
That seems the natural thing to do. Or the other way around: start with
small patches that just remove the getc/putc macros and remove the
undefines/redefines from vfprintf.c (supposing those removals don't depend
on the rest of the changes), so that you have a baseline from which the
installed stripped shared libraries will be unchanged by the main patch.
Joseph S. Myers