projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
4cb09e0
)
checkAUTHORS.pl --rank would loop infinitely on an empty results array.
Nicholas Clark [Fri, 13 Jan 2006 21:44:47 +0000 (21:44 +0000)]
p4raw-id: //depot/perl@26838
Porting/checkAUTHORS.pl
patch
|
blob
|
blame
|
history
diff --git
a/Porting/checkAUTHORS.pl
b/Porting/checkAUTHORS.pl
index
03cb362
..
be58ea2
100644
(file)
--- a/
Porting/checkAUTHORS.pl
+++ b/
Porting/checkAUTHORS.pl
@@
-221,6
+221,7
@@
sub display_ordered {
}
my $i = @sorted;
+ return unless $i;
while (--$i) {
next unless $sorted[$i];
print wrap ("$i:\t", "\t", join (" ", sort @{$sorted[$i]}), "\n");