[vlc-devel] commit: Revert "Don't test for buggy libintl when NLS is disabled" ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Mar 3 16:54:09 CET 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Mon Mar  3 17:53:12 2008 +0200| [c8ba07f17b50264e47e30432b55811c35f89034e]

Revert "Don't test for buggy libintl when NLS is disabled"

strerror_r() will still crash as setlocale() is used regardless of
ENABLE_NLS.

This reverts commit 61d0ac25f124103bcdf609d16e5d489bfaa54e0f.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c8ba07f17b50264e47e30432b55811c35f89034e
---

 src/vlc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/vlc.c b/src/vlc.c
index 2f22342..b8dd9bb 100644
--- a/src/vlc.c
+++ b/src/vlc.c
@@ -70,7 +70,7 @@ int main( int i_argc, const char *ppsz_argv[] )
 {
     int i_ret;
 
-#   if defined __GLIBC__ && defined ENABLE_NLS
+#   ifdef __GLIBC__
     if (dlsym (RTLD_NEXT, "inet6_rth_add") && !dlsym (RTLD_NEXT, "qsort_r"))
     {
         /* Way too many Linux users have glibc 2.5-2.7 that keeps crashing




More information about the vlc-devel mailing list