[PATCH] libio: Assume _LIBC, weak_alias, errno, (__set_)errno &c are defined
Zack Weinberg
zackw@panix.com
Thu Aug 31 12:30:00 GMT 2017
On Thu, Aug 31, 2017 at 8:14 AM, Florian Weimer <fweimer@redhat.com> wrote:
> libio lives exclusively in glibc these days, so there is no reason to
> preserve _LIBC conditionals.
>
> While at it, I also removed some unnecessary indirections and conditions
> on other always-defined macros (F_GETFL, EIO, etc.).
>
> I checked that this does not change the produced binaries on i686.
LGTM.
If you're in a mood to clean up libio, may I suggest going after
_IO_MTSAFE_IO next? ;-)
zw
More information about the Libc-alpha
mailing list