Commit 5d51aca2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Revert "Do not load KDE Qt plugins until KDE gets a clue"

This reverts commit 1b29a131.
This reverts commit 79f476d6.
parent a98cae25
...@@ -33,7 +33,6 @@ void vlc_enable_override (void); ...@@ -33,7 +33,6 @@ void vlc_enable_override (void);
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <dlfcn.h> #include <dlfcn.h>
#include <pthread.h> #include <pthread.h>
...@@ -239,26 +238,8 @@ error: ...@@ -239,26 +238,8 @@ error:
#endif #endif
/*** Dynaminc linker ***/ /*** Locales ***
* setlocale() is not thread-safe and has a tendency to crash other threads as
void *dlopen (const char *path, int flags)
{
if (override && path != NULL)
{
/* Work around the KDE SIGCHLD and KDE D-Bus exit handler bugs */
if (strstr (path, "libkde") != NULL)
{
LOG("Blocked", "\"%s\", %d", path, flags);
return NULL;
}
}
return CALL(dlopen, path, flags);
}
/*** Locales ***/
/* setlocale() is not thread-safe and has a tendency to crash other threads as
* quite many libc and libintl calls depend on the locale. * quite many libc and libintl calls depend on the locale.
* Use uselocale() instead for thread-safety. * Use uselocale() instead for thread-safety.
*/ */
......
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