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:
2440f57
)
Need to extend the stack when using warn() without
author
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Thu, 8 Mar 2007 11:19:38 +0000
(11:19 +0000)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Thu, 8 Mar 2007 11:19:38 +0000
(11:19 +0000)
an argument (this fixes bug #41716)
p4raw-id: //depot/perl@30513
pp_sys.c
patch
|
blob
|
blame
|
history
diff --git
a/pp_sys.c
b/pp_sys.c
index
c35fb5b
..
29638d9
100644
(file)
--- a/
pp_sys.c
+++ b/
pp_sys.c
@@
-437,6
+437,7
@@
PP(pp_warn)
else if (SP == MARK) {
tmpsv = &PL_sv_no;
EXTEND(SP, 1);
+ SP = MARK + 1;
}
else {
tmpsv = TOPs;