Commit 7db96bf8 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove the glibc libintl kludge.

Afterall it's not our bug. More importantly, the vlc_cond_wait "possible
deadlock" debug message has been removed, which makes the problem a lot
less likely to happen.
parent b5b7e051
......@@ -35,9 +35,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <locale.h>
#ifdef __GLIBC__
#include <dlfcn.h>
#endif
/* Explicit HACK */
......@@ -68,20 +65,6 @@ int main( int i_argc, const char *ppsz_argv[] )
{
int i_ret, id;
# 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
* inside its non-thread-safe dcgettext(). */
/* Hopefully glibc 2.8 will eventually work, not sure though */
fprintf (stderr,
"***************************************************\n"
"*** glibc version with broken libintl detected. ***\n"
"*** Messages localization will be disabled. ***\n"
"***************************************************\n");
setenv ("LC_MESSAGES", "C", 1);
}
# endif
setlocale (LC_ALL, "");
#ifndef __APPLE__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment