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 Update. 2002-12-14 19:49:13 +00:00
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 Add a test case for scandir. 2015-05-13 12:33:41 -07:00
tst-scandir.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-seekdir.c Modify several tests to use test-skeleton.c 2015-08-06 02:59:04 -04:00
Versions Implement scandirat function 2011-08-09 09:57:55 -04:00
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