patch-src_posix_error_c 422 B

1234567891011121314
  1. --- vlc-2.2.1.orig/src/posix/error.c 2014-08-14 02:20:04.000000000 -0500
  2. +++ vlc-2.2.1/src/posix/error.c 2015-04-25 21:13:22.287684003 -0500
  3. @@ -48,7 +48,11 @@ static const char *vlc_strerror_l(int er
  4. errno = saved_errno;
  5. }
  6. +#if defined(__UCLIBC__)
  7. + const char *buf = strerror_r(errnum, loc, 100);
  8. +#else
  9. const char *buf = strerror_l(errnum, loc);
  10. +#endif
  11. freelocale(loc);
  12. return buf;