فهرست منبع

add a 0.9.27 compat symbol (_glibc_strerror_r) since the function has since been renamed to __glibc_strerror_r in 0.9.28

Mike Frysinger 20 سال پیش
والد
کامیت
4089ec9aeb
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      libc/string/wstring.c

+ 1 - 0
libc/string/wstring.c

@@ -1572,6 +1572,7 @@ int __xpg_strerror_r(int errnum, char *strerrbuf, size_t buflen)
 #ifdef L___glibc_strerror_r
 
 weak_alias(__glibc_strerror_r,__strerror_r);
+weak_alias(__glibc_strerror_r,_glibc_strerror_r); /* for 0.9.27 compat ... remove after 0.9.28 */
 
 char *__glibc_strerror_r(int errnum, char *strerrbuf, size_t buflen)
 {