From 9cacf4afaa63e933fd6e3658e6b0cc6581c3f644 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Wed, 28 Nov 2007 17:23:39 +0000 Subject: [PATCH] Lets assume glibc 2.8 will work properly when it's out (though I doubt it) --- NEWS | 2 ++ src/vlc.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 3df8dc17b8..0509d073d4 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,8 @@ Changes between 0.8.6 and 0.9.0-svn (not released yet): Important notes: ---------------- + * On Linux, localization will be disabled if you have glibc 2.6 or 2.7 due + to a major bug in libintl with these glibc versions. * The HTTP interface is now only available on the local machine by default. If you want to make it available from other machines, you will have to edit the ".hosts" file. diff --git a/src/vlc.c b/src/vlc.c index 828ea264ea..e9190c825b 100644 --- a/src/vlc.c +++ b/src/vlc.c @@ -67,7 +67,7 @@ int main( int i_argc, const char *ppsz_argv[] ) int i_ret; # ifdef __GLIBC__ - if (dlsym (RTLD_NEXT, "sync_file_range")) + if (dlsym (RTLD_NEXT, "sync_file_range") && !dlsym (RTLD_NEXT, "qsort_r")) { /* Way too many Linux users have glibc 2.6 that keeps crashing * inside its non-thread-safe dcgettext(). */ -- 2.39.2