diff options
Diffstat (limited to 'nsplugins/pluginscan.cpp')
-rw-r--r-- | nsplugins/pluginscan.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nsplugins/pluginscan.cpp b/nsplugins/pluginscan.cpp index 9d76d1913..b7c0ad1ff 100644 --- a/nsplugins/pluginscan.cpp +++ b/nsplugins/pluginscan.cpp @@ -46,6 +46,7 @@ #include <kstandarddirs.h> #include <klibloader.h> #include <kconfig.h> +#include <kcrash.h> #include <kdesktopfile.h> #include <kservicetype.h> #include <kmimetype.h> @@ -222,6 +223,11 @@ void registerPlugin( const QString &name, const QString &description, infoConfig->writeEntry( "mime", mimeInfo ); } +static void segv_handler(int) +{ + _exit(255); +} + int tryCheck(int write_fd, const QString &absFile) { KLibrary *_handle = KLibLoader::self()->library( QFile::encodeName(absFile) ); |