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.
#include <stdio.h>
#include <stdlib.h>
#include <locale.h>
-#ifdef __GLIBC__
-#include <dlfcn.h>
-#endif
/* Explicit HACK */
{
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__