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 Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
alphasort.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-readdir1.c
closedir.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
dirent.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
dirfd.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fdopendir.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getdents64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getdents.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
list.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
Makefile Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
opendir-tst1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
opendir.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
readdir64_r.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
readdir64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
readdir_r.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
readdir.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
rewinddir.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
scandir64-tail.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
scandir64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
scandir-cancel.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
scandir-tail-common.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
scandir-tail.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
scandir.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
scandirat64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
scandirat.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
seekdir.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
telldir.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-fdopendir2.c Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
tst-fdopendir.c tests: replace read by xread 2023-06-19 09:14:56 -04:00
tst-scandir64.c
tst-scandir.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-seekdir.c
Versions
versionsort64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
versionsort.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00