From 053f9d6ea00435633c3dcbf87041d868223c9ec7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Wed, 5 May 2010 22:56:29 +0300 Subject: [PATCH] Fix the KDE open file dialog KIO scheduler crash avoidance hack --- bin/vlc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/vlc.c b/bin/vlc.c index e141b4b431..d6fc5a820f 100644 --- a/bin/vlc.c +++ b/bin/vlc.c @@ -190,9 +190,10 @@ int main( int i_argc, const char *ppsz_argv[] ) #ifdef RTLD_NOLOAD /* Avoid crash in KIO scheduler cleanup. */ /* This is ugly, but we get way too many crash reports due to this. */ - if (dlopen ("libkfilemodule.so", RTLD_LAZY|RTLD_LOCAL|RTLD_NOLOAD) != NULL) + if (dlopen ("libkio.so.5", RTLD_LAZY|RTLD_LOCAL|RTLD_NOLOAD) != NULL) { - fprintf (stderr, "KFile plugin present. Unclean shutdown!\n"); + fprintf (stderr, "KIO present. Unclean shutdown!\n" + " (see http://bugs.kde.org/show_bug.cgi?id=234484 for details)\n"); _exit (0); } #endif -- 2.39.2