[vlc-devel] commit: Bring the glibc detection back, not using dlopen() hacks anymore. ( Rémi Denis-Courmont )

Antoine Cellerier dionoea at videolan.org
Mon Apr 6 19:46:17 CEST 2009


On Mon, Apr 06, 2009, git version control wrote:
> +    /* gettext in glibc 2.5-2.7 is not thread-safe. LibVLC keeps crashing,
> +     * especially in sterror_r(). Even if we have NLS disabled, the calling
> +     * process might have called setlocale(). */
> +    if (strverscmp (glcv, "2.5") >= 0 && strverscmp (glcv, "2.8") < 0)
> +    {
> +        fputs ("LibVLC has detected an unusable buggy GNU/libc version.\n"
> +               "Please update to version 2.8 or newer.\n", stderr);
> +        fflush (stderr);
> +        abort ();
> +    }

Would it be possible to disable gettext use at runtime here instead of
aborting? (I don't know how gettext works ...)

-- 
Antoine Cellerier
dionoea



More information about the vlc-devel mailing list