[vlc-commits] commit: Fix the KDE open file dialog KIO scheduler crash avoidance hack ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Wed May 5 21:57:26 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May  5 22:56:29 2010 +0300| [053f9d6ea00435633c3dcbf87041d868223c9ec7] | committer: Rémi Denis-Courmont 

Fix the KDE open file dialog KIO scheduler crash avoidance hack

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=053f9d6ea00435633c3dcbf87041d868223c9ec7
---

 bin/vlc.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/vlc.c b/bin/vlc.c
index e141b4b..d6fc5a8 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



More information about the vlc-commits mailing list