use __fstat instead of __fstatat with AT_EMPTY_PATH in __map_file
authorRich Felker <dalias@aerifal.cx>
Wed, 4 May 2022 14:53:01 +0000 (10:53 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 4 May 2022 14:53:01 +0000 (10:53 -0400)
commit6e9d2370c7559af80b32a91f20898f41597e093b
treea30cf22a43324361fd710848e5cf2caf7ef102e6
parent05a55868ff0f42cfc8701c7977322aa4c8e1aca3
use __fstat instead of __fstatat with AT_EMPTY_PATH in __map_file

this isolates knowledge of the nonstandard AT_EMPTY_PATH extension to
one place and returns __map_file to its prior simplicity.
src/time/__map_file.c