Commit 96c7f9c2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Do not load KDE Qt plugins until KDE gets a clue

parent 5dc56030
......@@ -264,8 +264,26 @@ error:
#endif
/*** Locales ***
* setlocale() is not thread-safe and has a tendency to crash other threads as
/*** Dynaminc linker ***/
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.
* 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