run the gauntlet.

Turns out the launcher spawns children, but is not the main process.
For whatever reason, the SIGCHLD handler did not get propagated, and
it doesn't serve any purpose to add waitpid to Slave::kill, since it's
not run from the launcher, but the main process...
This commit is contained in:
espie 2002-03-30 17:25:13 +00:00
parent c50860bba1
commit fb2a0cde9a

View File

@ -0,0 +1,20 @@
$OpenBSD: patch-konq-embed_dropin_kio_launcher_cpp,v 1.1 2002/03/30 17:25:13 espie Exp $
--- konq-embed/dropin/kio/launcher.cpp.orig Sat Mar 30 17:12:06 2002
+++ konq-embed/dropin/kio/launcher.cpp Sat Mar 30 17:13:00 2002
@@ -36,6 +36,8 @@
#include <kio/slavebase.h>
#include <dcopdispatcher.h>
+extern void setupSignalHandler();
+
using namespace KIO;
Launcher *Launcher::s_self = 0;
@@ -233,6 +235,7 @@ void Launcher::dispatchLoop()
{
qDebug( "Launcher::dispatchLoop()..." );
+ setupSignalHandler();
while ( 42 )
{
LauncherMsg launcherMsg;