]> git.ipfire.org Git - thirdparty/glibc.git/commit
libio: Do not autogenerate stdio_lim.h
authorAdhemerval Zanella Netto <adhemerval.zanella@linaro.org>
Mon, 6 Mar 2023 18:53:55 +0000 (15:53 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 27 Mar 2023 16:57:55 +0000 (13:57 -0300)
commitf65ca70deaf38db4ca12458e74cefd8ad9063956
treef170b2f04d3912e20be14a57a56fd1eead03d579
parent88677348b4de73874ca7d5a47451f42880f65f07
libio: Do not autogenerate stdio_lim.h

Instead define the required fields in system dependend files.  The only
system dependent definition is FILENAME_MAX, which should match POSIX
PATH_MAX, and it is obtained from either kernel UAPI or mach headers.
Currently set pre-defined value from current kernels.

It avoids a circular dependendy when including stdio.h in
gen-as-const-headers files.

Checked on x86_64-linux-gnu and i686-linux-gnu
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Makerules
Rules
libio/stdio.h
sysdeps/mach/hurd/bits/stdio_lim.h [moved from stdio-common/stdio_lim.h.in with 72% similarity]
sysdeps/posix/Makefile [deleted file]
sysdeps/unix/sysv/linux/bits/stdio_lim.h [new file with mode: 0644]