summaryrefslogtreecommitdiff
path: root/misc/qefgcvt.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-03-10 16:20:01 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-03-17 19:44:51 +0530
commitb1dbb426e164ad1236c2c76268e03fec5c7a7bbe (patch)
tree9e3a263e48066fd376234a4e03cebc542eb6b36a /misc/qefgcvt.c
parentfcd89ebe4f5ea948ff4c796771b918cde8960721 (diff)
downloadglibc-b1dbb426e164ad1236c2c76268e03fec5c7a7bbe.tar.gz
Fix up return codes for tests in tst-ftell-active-handler
The test functions used a variable ret to store failure codes for individual tests, but the variable was incorrectly used to record other failure codes too, resulting in overwriting of the tests status. This is now fixed by making sure that the ret variable is used only for recording test failures. * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix up test status with function return status. (do_write_test): Likewise. (do_append_test): Likewise.
Diffstat (limited to 'misc/qefgcvt.c')
0 files changed, 0 insertions, 0 deletions