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
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/ExtUtils/typemap: silence g++ warning.
[perl5.git]
/
lib
/
diagnostics.pm
diff --git
a/lib/diagnostics.pm
b/lib/diagnostics.pm
index
a85f282
..
40c6748
100644
(file)
--- a/
lib/diagnostics.pm
+++ b/
lib/diagnostics.pm
@@
-194,6
+194,7
@@
our $TRACEONLY = 0;
our $WARNTRACE = 0;
use Config;
+use Text::Tabs 'expand';
my $privlib = $Config{privlibexp};
if ($^O eq 'VMS') {
require VMS::Filespec;
@@
-366,6
+367,7
@@
my %msg;
{
next;
}
+ $_ = expand $_;
s/^/ /gm;
$msg{$header} .= $_;
for my $h(@headers) { $msg{$h} .= $_ }