]> git.ipfire.org Git - thirdparty/glibc.git/commit
tests: replace ftruncate by xftruncate
authorFrédéric Bérat <fberat@redhat.com>
Fri, 28 Apr 2023 12:21:39 +0000 (14:21 +0200)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Thu, 1 Jun 2023 16:45:13 +0000 (12:45 -0400)
commit32043daaafcd59793b9addf7af1bcedb3b666f09
tree2be44a97aaee5d057b630e885c384bde05b70ea5
parent026a84a54d3b6c23b999b793e2a6f8ecd211e3b8
tests: replace ftruncate by xftruncate

With fortification enabled, ftruncate calls return result needs to be
checked, has it gets the __wur macro enabled.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
io/tst-copy_file_range.c
posix/tst-getopt-cancel.c
stdio-common/tst-perror.c