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

List:       kde-commits
Subject:    icecream/daemon
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2012-07-08 12:10:17
Message-ID: 20120708121017.92C47AC7A9 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1304600 by lunakl:

avoid infinite loop if the remote compiler crashes or exits prematurely



 M  +4 -0      workit.cpp  


--- trunk/icecream/daemon/workit.cpp #1304599:1304600
@@ -395,6 +395,10 @@
                         continue;
                     kill(pid, SIGTERM); // Most likely crashed anyway ...
                     return_value = EXIT_COMPILER_CRASHED;
+                    client_fd = -1;
+                    input_complete = true;
+                    delete fcmsg;
+                    fcmsg = 0;
                     continue;
                 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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