[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/strigi/src/streams
From:       Daniel Winter <dw () danielwinter ! de>
Date:       2008-11-10 2:56:03
Message-ID: 1226285763.549126.1002.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 882215 by danielw:

Wait for terminated child to avoid defunct processes hanging arround

CCMAIL: jos@vandenoever.info


 M  +2 -0      processinputstream.cpp  


--- trunk/kdesupport/strigi/src/streams/processinputstream.cpp #882214:882215
@@ -64,6 +64,8 @@
     }
     if (pid != -1) {
         kill(SIGTERM, pid);
+        int status;
+        waitpid(pid, &status , 0);
     }
     const char* const* p = args;
     while (*p) {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic