From: RĂ©mi Denis-Courmont Date: Wed, 5 May 2010 19:56:29 +0000 (+0300) Subject: Fix the KDE open file dialog KIO scheduler crash avoidance hack X-Git-Tag: 1.2.0-pre1~6748 X-Git-Url: https://git.sesse.net/?p=vlc;a=commitdiff_plain;h=053f9d6ea00435633c3dcbf87041d868223c9ec7 Fix the KDE open file dialog KIO scheduler crash avoidance hack --- 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