tests: replace fread by xfread
authorFrederic Berat <fberat@redhat.com>
Mon, 12 Jun 2023 15:18:20 +0000 (17:18 +0200)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Tue, 13 Jun 2023 23:59:08 +0000 (19:59 -0400)
commita84dcb4bdfe5070f2327da693d8b025c89b4877a
treee551263f0622ab6dd69fe3ff1adf4aa0790320a9
parent127c21c0e2f669454835f78fc03079866282c19b
tests: replace fread by xfread

With fortification enabled, fread calls return result needs to be checked,
has it gets the __wur macro enabled.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
libio/bug-fseek.c
stdio-common/bug12.c
stdio-common/bug3.c
stdio-common/bug4.c
stdio-common/tst-cookie.c
stdio-common/tst-fmemopen3.c
support/Makefile
support/xfread.c [new file with mode: 0644]
support/xstdio.h