Subject: | perlbench gets name wrong for recent perl. v5.14.2 at least |
diff -u perlbench-0.93/perlbench-run perlbench-0.93.crf//perlbench-run
--- perlbench-0.93/perlbench-run 2005-12-19 08:19:09.000000000
-0700
+++ perlbench-0.93.crf//perlbench-run 2011-12-31 15:53:59.000000000
-0700
@@ -139,7 +139,7 @@
print "\n";
print " " x 20;
for my $p (@perls) {
- printf "%8s", $p->{label};
+ printf "%8s ", $p->{label};
my $h = htmlesc($p->{label});
my $overlib_attr = "";
if ($use_overlib && $p->{name}) {
@@ -423,6 +423,11 @@
$self->{name} .= " build $1";
$self->{name} =~ s/^perl/ActivePerl/;
}
+ if (/^This is perl \d+, version \d+, subversion \d+ \
(([^\)]+)\)/) {
+ $self->{name} = $1;
+ /built for (\S+)/;
+ $self->{name} .= " $1";
+ }
}
close(V);