]> git.ipfire.org Git - thirdparty/glibc.git/commit
linux: Fix fstatat on MIPSn64 (BZ #29730)
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 1 Nov 2022 19:43:55 +0000 (20:43 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Wed, 2 Nov 2022 15:35:05 +0000 (16:35 +0100)
commit7457b7eef8dfe8cc48e55b9f9837df6dd397b80d
tree318458b72d7c3b15bb050ed2422912c075d45b56
parent40c112ed0d7d0577d2f84851c1f7b8157b3bd2f5
linux: Fix fstatat on MIPSn64 (BZ #29730)

Commit 6e8a0aac2f883 ("time: Fix overflow itimer tests on 32-bit
systems") changed in_time_t_range to assume a 32-bit time_t. This broke
fstatat on MIPSn64 that was using it with a 64-bit time_t due to
difference between stat and stat64. This commit fix that by adding a
MIPSn64 specific version, which bypasses the EOVERFLOW tests.

Resolves: BZ #29730

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/unix/sysv/linux/mips/mips64/n64/fstatat.c [new file with mode: 0644]