The two patches of this series each fix a compilation error found with
buildroot for a RISC-V 64bits NOMMU static-only toolchain.
Comments are welcome.
Damien Le Moal (2):
utils/getconf: Fix compilation error
librt: avoid compilation error
librt/clock_nanosleep.c | 5 +++--
utils/getconf.c | 20 +++++++++++++++++---
2 files changed, 20 insertions(+), 5 deletions(-)
--
2.26.2
This is a touchy change since it touches a common header.
This needs a thorough review in order not to break something.
But for the record glibc only tests for __USE_XOPEN2K8 and musl does not test for anything at all and directly uses timespec fields.
glibc: https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/ge…
musl: https://git.musl-libc.org/cgit/musl/tree/arch/aarch64/bits/stat.h
Yann Sionneau (1):
Fix memory corruption due to struct stat field
libc/sysdeps/linux/common-generic/bits/stat.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--
2.17.1