mach: strerror must not return NULL (bug 30555)
commitefdb85183aca7634d61a413c55d63e519d89d162
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 2 Jul 2023 11:27:51 +0000 (2 11:27 +0000)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 2 Jul 2023 11:27:51 +0000 (2 11:27 +0000)
treea9134f4319213e2b30a6bc078ab7bb4a501db9bb
parent181e991dfb800f721b693fe1a2227f736b99e725
mach: strerror must not return NULL (bug 30555)

This follows 1d44530a5be2 ("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.
»
sysdeps/mach/strerror_l.c