]> git.sesse.net Git - vlc/commitdiff
Fix the KDE open file dialog KIO scheduler crash avoidance hack
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 5 May 2010 19:56:29 +0000 (22:56 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 5 May 2010 19:56:29 +0000 (22:56 +0300)
bin/vlc.c

index e141b4b431728c065c0c0d9facb00ae3dc3150d6..d6fc5a820fa3f43ab0ea728f07d3e948f9de8bbc 100644 (file)
--- 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