aboutsummaryrefslogtreecommitdiff
path: root/string/Makefile
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2023-06-15 12:08:22 +0200
committerFlorian Weimer <fweimer@redhat.com>2023-06-15 19:54:09 +0200
commit1d44530a5be2442e064baa48139adc9fdfb1fc6b (patch)
tree99321e32c7e27993de27c359e2022afe1fdf8c91 /string/Makefile
parent388ae538ddcb05c7d8966147b488a5f6e481656e (diff)
downloadglibc-1d44530a5be2442e064baa48139adc9fdfb1fc6b.zip
glibc-1d44530a5be2442e064baa48139adc9fdfb1fc6b.tar.gz
glibc-1d44530a5be2442e064baa48139adc9fdfb1fc6b.tar.bz2
string: strerror must not return NULL (bug 30555)
For strerror, this fixes commit 28aff047818eb1726394296d27b ("string: Implement strerror in terms of strerror_l"). This commit avoids returning NULL for strerror_l as well, although POSIX allows this behavior for strerror_l. Reviewed-by: Arjun Shankar <arjun@redhat.com>
Diffstat (limited to 'string/Makefile')
-rw-r--r--string/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/string/Makefile b/string/Makefile
index 0ad276c..d3106d1 100644
--- a/string/Makefile
+++ b/string/Makefile
@@ -178,6 +178,7 @@ tests := \
tst-endian \
tst-inlcall \
tst-memmove-overflow \
+ tst-strerror-fail \
tst-strfry \
tst-strlcat \
tst-strlcpy \