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

List:       kde-commits
Subject:    icecream/daemon
From:       Stephan Kulow <coolo () kde ! org>
Date:       2006-09-11 15:24:07
Message-ID: 1157988247.350641.4465.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 583164 by coolo:

this should fix "the snell crash"


 M  +4 -1      main.cpp  


--- trunk/icecream/daemon/main.cpp #583163:583164
@@ -675,6 +675,8 @@
     if ( maybe_stats(true) )
         installed_size = install_environment( envbasedir, emsg->target,
                 emsg->name, c, nobody_uid, nobody_gid );
+    else
+        return false;
     if (!installed_size) {
         trace() << "install environment failed" << endl;
         c->send_msg(EndMsg()); // shut up, we had an error
@@ -730,7 +732,8 @@
 
     bool r = reannounce_environments(envbasedir, nodename); // do that before the file compiles
     // we do that here so we're not given out in case of full discs
-    maybe_stats(true);
+    if ( !maybe_stats(true) )
+        r = false;
     return r;
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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