This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cb09e0
)
checkAUTHORS.pl --rank would loop infinitely on an empty results array.
author
Nicholas Clark
<nick@ccl4.org>
Fri, 13 Jan 2006 21:44:47 +0000
(21:44 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
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");