only use fstatat and others legacy stat syscalls if they exist
authorRich Felker <dalias@aerifal.cx>
Thu, 28 Apr 2022 06:24:44 +0000 (02:24 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 2 May 2022 03:25:21 +0000 (23:25 -0400)
commitfb10dc288d74442ea85c26b0ac3810f05377cba9
treecab23a7bf084df8daf3f30e936ca0c29399c5e51
parent2b754a542492f5878608a1130e00021ae02a0e34
only use fstatat and others legacy stat syscalls if they exist

riscv32 and future architectures only provide statx.
src/stat/fstatat.c