This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2 1/5] Pre-cleanup: Remove unnecessary redefinitions of std symbols.
On Mon, 5 Feb 2018, Zack Weinberg wrote:
> Two files in stdio-common were unnecessarily redefining some standard
> symbols as their _IO_ aliases, which causes problems for a build with
> the visibility of libio.h reduced.
>
> This changes installed stripped libraries, because the line numbering
> changes in vfprintf.c, which changes the messages associated with a
> bunch of assertions. However, if it weren't entangled with a scary
> change I wouldn't be hesitating to call it an obvious cleanup.
>
> * stdio-common/vfprintf.c: Don't redefine FILE, va_list, or BUFSIZ.
> * stdio-common/tstgetln.c: Don't redefine ssize_t.
OK, please commit.
--
Joseph S. Myers
joseph@codesourcery.com