fix mismatched type in posix_getdents definitionmaster
commit007997299248b8682dcbb73595c53dfe86071c83
authorRich Felker <dalias@aerifal.cx>
Sun, 12 May 2024 19:33:15 +0000 (12 15:33 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 12 May 2024 19:33:15 +0000 (12 15:33 -0400)
tree15f1ddf4ca823b43f7f62a61621dd941443b9586
parentcbf59dd662cea8786c2f3a5ea21f8da64f002b30
fix mismatched type in posix_getdents definition

commit 1b0d48517f816e98f19111df82f32bfc1608ecec wrongly copied the
getdents return type of int rather than matching the ssize_t used by
posix_getdents. this was overlooked in testing on 32-bit archs but
obviously broke 64-bit archs.
src/dirent/posix_getdents.c