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

List:       kde-commits
Subject:    KDE/kdesdk/scripts
From:       Michael Pyne <michael.pyne () kdemail ! net>
Date:       2007-11-13 0:56:22
Message-ID: 1194915382.886993.24303.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 735916 by mpyne:

I guess the EOF from the update process on the second try can happen after all.


 M  +3 -2      kdesvn-build  


--- trunk/KDE/kdesdk/scripts/kdesvn-build #735915:735916
@@ -6038,10 +6038,11 @@
                 # I'm pretty sure EOF shouldn't happen here, otherwise we'd
                 # have something to send.
                 my $msg = $ipc->receiveFromUpdater();
-                if (not defined $msg)
+                if (not defined $msg and $!)
                 {
                     error "r[mon]: Monitor IPC error, unexpected disappearance of updater.";
-                    error "r[mon]: Mysterious circumstances: r[b[$!]" if $!;
+                    error "r[mon]: Mysterious circumstances: r[b[$!]";
+                    return 1;
                 }
 
                 push @msgs, $msg;
[prev in list] [next in list] [prev in thread] [next in thread] 

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