diff options
Diffstat (limited to 'community/libthreadar/alpine_strerror_r.patch')
-rw-r--r-- | community/libthreadar/alpine_strerror_r.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/community/libthreadar/alpine_strerror_r.patch b/community/libthreadar/alpine_strerror_r.patch deleted file mode 100644 index fe26c895bbb..00000000000 --- a/community/libthreadar/alpine_strerror_r.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- ./src/exceptions.cpp -+++ ./src/exceptions.cpp -@@ -59,16 +59,10 @@ - const unsigned int MSGSIZE = 300; - char buffer[MSGSIZE]; - --#if (_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE - // we expect the XSI-compliant strerror_r - int val = strerror_r(error_code, buffer, MSGSIZE); - if(val != 0) - strncpy(buffer, "Error code to message conversion, failed", MSGSIZE); --#else -- char *val = strerror_r(error_code, buffer, MSGSIZE); -- if(val != buffer) -- strncpy(buffer, val, MSGSIZE); --#endif - buffer[MSGSIZE-1] = '\0'; - - reset_first_message(buffer); |