diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2017-12-29 14:44:57 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2017-12-31 21:21:27 +0100 |
commit | 7a64940a59cfbcfd9ac3895df3a5c00ced4ca268 (patch) | |
tree | f346de7cd184e2d788adafd3d7061af8c9909694 /libio/iofwrite.c | |
parent | 4ebd0c4191c6073cc8a7c5fdcf1d182c4719bcbb (diff) | |
download | glibc-7a64940a59cfbcfd9ac3895df3a5c00ced4ca268.tar.gz |
tst-realloc: do not check for errno on success [BZ #22611]
POSIX explicitly says that applications should check errno only after
failure, so the errno value can be clobbered on success as long as it
is not set to zero.
Changelog:
[BZ #22611]
* malloc/tst-realloc.c (do_test): Remove the test checking that errno
is unchanged on success.
(cherry picked from commit f8aa69be445f65bb36cb3ae9291423600da7d6d2)
Diffstat (limited to 'libio/iofwrite.c')
0 files changed, 0 insertions, 0 deletions