mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-31 06:12:14 +01:00
13 lines
451 B
Diff
13 lines
451 B
Diff
diff -rupN a/wutil.cpp b/wutil.cpp
|
|
--- a/wutil.cpp 2013-10-19 22:10:26.000000000 +0200
|
|
+++ b/wutil.cpp 2014-02-05 17:30:54.372370762 +0100
|
|
@@ -319,7 +319,7 @@ static inline void safe_append(char *buf
|
|
|
|
const char *safe_strerror(int err)
|
|
{
|
|
-#if defined(__UCLIBC__)
|
|
+#if defined(__UCLIBC__) || !defined(__GLIBC__)
|
|
// uClibc does not have sys_errlist, however, its strerror is believed to be async-safe
|
|
// See #808
|
|
return strerror(err);
|