projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
d923656
)
Localize $! in splainthis() too. (see bug #41717)
Rafael Garcia-Suarez [Wed, 7 Mar 2007 11:00:07 +0000 (11:00 +0000)]
p4raw-id: //depot/perl@30492
lib/diagnostics.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/diagnostics.pm
b/lib/diagnostics.pm
index
482fe28
..
68253fc
100755
(executable)
--- a/
lib/diagnostics.pm
+++ b/
lib/diagnostics.pm
@@
-549,6
+549,7
@@
sub splainthis {
return 0 if $TRACEONLY;
$_ = shift;
local $\;
+ local $!;
### &finish_compilation unless %msg;
s/\.?\n+$//;
my $orig = $_;