projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e4a826c
)
try again
author
minima
<minima>
Fri, 30 Mar 2001 16:51:55 +0000
(16:51 +0000)
committer
minima
<minima>
Fri, 30 Mar 2001 16:51:55 +0000
(16:51 +0000)
perl/cluster.pl
patch
|
blob
|
history
diff --git
a/perl/cluster.pl
b/perl/cluster.pl
index a8a2cc8ea587bf300952873fc318dcb25fed7c05..0c12e3a9cfa332047fbb5025b12c0efde3ff2fbf 100755
(executable)
--- a/
perl/cluster.pl
+++ b/
perl/cluster.pl
@@
-36,6
+36,9
@@
BEGIN {
open(CLLOCK, ">$lockfn") or die "Can't open Lockfile ($lockfn) $!";
print CLLOCK "$$\n";
close CLLOCK;
open(CLLOCK, ">$lockfn") or die "Can't open Lockfile ($lockfn) $!";
print CLLOCK "$$\n";
close CLLOCK;
+
+ $is_win = ($^O =~ /^MS/ || $^O =~ /^OS-2/) ? 1 : 0; # is it Windows?
+
}
use Msg;
}
use Msg;
@@
-89,8
+92,6
@@
$starttime = 0; # the starting time of the cluster
$lockfn = "cluster.lock"; # lock file name
#@outstanding_connects = (); # list of outstanding connects
@listeners = (); # list of listeners
$lockfn = "cluster.lock"; # lock file name
#@outstanding_connects = (); # list of outstanding connects
@listeners = (); # list of listeners
-$is_win = ($^O =~ /^MS/ || $^O =~ /^OS-2/) ? 1 : 0; # is it Windows?
-
# send a message to call on conn and disconnect
# send a message to call on conn and disconnect