diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-05-16 17:42:34 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-05-16 17:42:34 +0000 |
commit | f878fbec0f3fac7e674b5c48a29bb093a47749b9 (patch) | |
tree | 6664cf01490dc67b2c30019680ba70e4f1f53d08 | |
parent | 1d3434b8c1ecb43ba830424cfca969ab84444ed7 (diff) | |
download | perl-f878fbec0f3fac7e674b5c48a29bb093a47749b9.tar.gz |
[win32] fix misplaced SPAGAIN that caused successful s/// to fail to
return a value on the stack
p4raw-id: //depot/win32/perl@1000
-rw-r--r-- | pp_hot.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1695,13 +1695,13 @@ PP(pp_subst) sv_free(dstr); TAINT_IF(rxtainted & 1); + SPAGAIN; PUSHs(sv_2mortal(newSViv((I32)iters))); (void)SvPOK_only(TARG); TAINT_IF(rxtainted); SvSETMAGIC(TARG); SvTAINT(TARG); - SPAGAIN; LEAVE_SCOPE(oldsave); RETURN; } |