projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
95345d6
)
better win detection
author
minima
<minima>
Fri, 30 Mar 2001 16:50:07 +0000
(16:50 +0000)
committer
minima
<minima>
Fri, 30 Mar 2001 16:50:07 +0000
(16:50 +0000)
perl/cluster.pl
patch
|
blob
|
history
diff --git
a/perl/cluster.pl
b/perl/cluster.pl
index 291a751d0d166b24cd6c54f4f38fc8593bbb82b2..a8a2cc8ea587bf300952873fc318dcb25fed7c05 100755
(executable)
--- a/
perl/cluster.pl
+++ b/
perl/cluster.pl
@@
-89,7
+89,7
@@
$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/
; # is it Windows?
+$is_win =
($^O =~ /^MS/ || $^O =~ /^OS-2/) ? 1 : 0
; # is it Windows?