]> git.ipfire.org Git - thirdparty/glibc.git/commit
Remove eloop-threshold.h
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 4 Mar 2025 18:13:41 +0000 (15:13 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 21 Mar 2025 18:46:48 +0000 (15:46 -0300)
commit1894e219dc530d7074085e95ffe3c1e66cebc072
tree38f725283bca1b4e545d25f0fbff8308e737979b
parent855561a1fbc601aa6c373c8a036d472cb52786e7
Remove eloop-threshold.h

On both Linux and Hurd the __eloop_threshold() is always a constant
(40 and 32 respectively), so there is no need to always call
__sysconf (_SC_SYMLOOP_MAX) for Linux case (!SYMLOOP_MAX).  To avoid
a name clash with gnulib, rename the new file min-eloop-threshold.h.

Checked on x86_64-linux-gnu and with a build for x86_64-gnu.
Reviewed-by: DJ Delorie <dj@redhat.com>
elf/chroot_canon.c
hurd/lookup-retry.c
stdlib/canonicalize.c
stdlib/tst-canon-bz26341.c
sysdeps/generic/eloop-threshold.h [deleted file]
sysdeps/generic/min-eloop-threshold.h [new file with mode: 0644]
sysdeps/mach/hurd/min-eloop-threshold.h [moved from sysdeps/mach/hurd/eloop-threshold.h with 83% similarity]
sysdeps/mach/hurd/sysconf.c