close CLLOCK;
}
-
use Msg;
use DXVars;
use DXDebug;
sub reap
{
my $cpid;
- while (($cpid = waitpid(-1, WNOHANG)) != -1) {
+ while (($cpid = waitpid(-1, WNOHANG)) > 0) {
dbg('reap', "cpid: $cpid");
@outstanding_connects = grep {$_->{pid} != $cpid} @outstanding_connects;
$zombies-- if $zombies > 0;
dbg('err', "reading in duplicate spot and WWV info ...");
DXProt->init();
-
# put in a DXCluster node for us here so we can add users and take them away
DXNode->new($DXProt::me, $mycall, 0, 1, $DXProt::myprot_version);