[PATCH] Don't install libio.h or _G_config.h

Zack Weinberg zackw@panix.com
Mon Feb 5 23:35:00 GMT 2018


On Mon, Feb 5, 2018 at 11:12 AM, Joseph Myers <joseph@codesourcery.com> wrote:
> 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.

That turned out to work nicely.  New patch series in a few minutes.

zw



More information about the Libc-alpha mailing list