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:
56343c7
)
mktables: improve debug statement
author
Karl Williamson
<public@khwilliamson.com>
Tue, 4 Jan 2011 23:53:13 +0000
(16:53 -0700)
committer
Karl Williamson
<public@khwilliamson.com>
Wed, 5 Jan 2011 00:04:32 +0000
(17:04 -0700)
Don't output an empty list.
lib/unicore/mktables
patch
|
blob
|
blame
|
history
diff --git
a/lib/unicore/mktables
b/lib/unicore/mktables
index
2bf1987
..
18311fa
100644
(file)
--- a/
lib/unicore/mktables
+++ b/
lib/unicore/mktables
@@
-3823,7
+3823,7
@@
sub trace { return main::trace(@_); }
trace "i =[", $i, "]", $r->[$i];
trace 'i+1=[', $i+1, ']', $r->[$i+1] if $i < @$r - 1;
trace 'i+2=[', $i+2, ']', $r->[$i+2] if $i < @$r - 2;
- trace "removed
@return"
;
+ trace "removed
", @return if @return
;
}
# An actual deletion could have changed the maximum in the list.