diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-03-08 11:19:38 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-03-08 11:19:38 +0000 |
commit | 83f957ec18f48986bbac4f0b35e66bbc0e02ccdf (patch) | |
tree | 4b96270d122474f7bff9b1da0187adc7cd56048b | |
parent | 2440f57eb96c4329967f5d7bc390ffabf1449b9c (diff) | |
download | perl-83f957ec18f48986bbac4f0b35e66bbc0e02ccdf.tar.gz |
Need to extend the stack when using warn() without
an argument (this fixes bug #41716)
p4raw-id: //depot/perl@30513
-rw-r--r-- | pp_sys.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -437,6 +437,7 @@ PP(pp_warn) else if (SP == MARK) { tmpsv = &PL_sv_no; EXTEND(SP, 1); + SP = MARK + 1; } else { tmpsv = TOPs; |