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

List:       kde-commits
Subject:    kdenonbeta/icecream/icecream/daemon
From:       Stephan Kulow <coolo () kde ! org>
Date:       2004-09-01 8:14:29
Message-ID: 20040901081429.E3D532322 () office ! kde ! org
[Download RAW message or body]

CVS commit by coolo: 

I think I know now who eats my child pids (never hack in keynotes :)
No child pids -> no job done messages


  M +3 -3      environment.cpp   1.22


--- kdenonbeta/icecream/icecream/daemon/environment.cpp  #1.21:1.22
@@ -116,5 +116,5 @@ bool cleanup_cache( const string &basedi
     {
         int status = 0;
-        if ( wait( &status ) != pid )
+        if ( waitpid( pid, &status, 0 ) != pid )
             status = 1;
         return status == 0;
@@ -198,5 +198,5 @@ bool setup_env_cache(const string &based
     {
         int status = 0;
-        if ( wait( &status ) != pid )
+        if ( waitpid( pid, &status, 0 ) != pid )
             status = 1;
         if ( !status )
@@ -309,5 +309,5 @@ bool install_environment( const std::str
         } else {
 
-            if ( wait( &status ) != pid )
+            if ( waitpid( pid, &status, 0) != pid )
                 status = 1;
             dirname = dirname + "/" + name;


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

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