]> git.ipfire.org Git - thirdparty/systemd.git/commit
musl: introduce GNU specific version of strerror_r()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 24 Jan 2023 07:39:46 +0000 (23:39 -0800)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 14 Nov 2025 18:37:30 +0000 (03:37 +0900)
commitebb422dd2b3695de3abfb2dc4874bda432ca0c57
tree0a48af0904cf103ed82efe94581c95fea4986d40
parentb8ef90d6fd1eb8aeadfd8ceafd3cddce35301faa
musl: introduce GNU specific version of strerror_r()

musl provides XSI compliant strerror_r(), and it is slightly different
from the one by glibc.
Let's introduce a tiny wrapper to convert XSI strerror_r() to GNU one.

The wrapper also patches musl's spurious catchall error message.
src/include/musl/string.h [new file with mode: 0644]
src/libc/musl/meson.build
src/libc/musl/string.c [new file with mode: 0644]