Commit 79f476d6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Do not load KDE Qt plugins until KDE gets a clue

(cherry picked from commit 96c7f9c26940828357655380470a930cbb09497e)
parent 521f9682
......@@ -238,8 +238,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