glibc/dirent
Frédéric Bérat 20b6b8e8a5 tests: replace read by xread
With fortification enabled, read calls return result needs to be checked,
has it gets the __wur macro enabled.

Note on read call removal from  sysdeps/pthread/tst-cancel20.c and
sysdeps/pthread/tst-cancel21.c:
It is assumed that this second read call was there to overcome the race
condition between pipe closure and thread cancellation that could happen
in the original code. Since this race condition got fixed by
d0e3ffb7a5 the second call seems
superfluous. Hence, instead of checking for the return value of read, it
looks reasonable to simply remove it.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
2023-06-19 09:14:56 -04:00
..
alphasort64.c
alphasort.c
bug-readdir1.c
closedir.c
dirent.h
dirfd.c
fdopendir.c
getdents64.c
getdents.c
list.c
Makefile
opendir-tst1.c
opendir.c
readdir64_r.c
readdir64.c
readdir_r.c
readdir.c
rewinddir.c
scandir64-tail.c
scandir64.c
scandir-cancel.c
scandir-tail-common.c
scandir-tail.c
scandir.c
scandirat64.c
scandirat.c
seekdir.c
telldir.c
tst-fdopendir2.c
tst-fdopendir.c tests: replace read by xread 2023-06-19 09:14:56 -04:00
tst-scandir64.c
tst-scandir.c
tst-seekdir.c
Versions
versionsort64.c
versionsort.c