diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-09-28 20:46:30 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-09-28 20:46:30 +0000 |
commit | 3c8a44569607336e4bea79da62162b3ded82557b (patch) | |
tree | fd063fc9ea33c7be96772845331722aad4f55472 /mg.c | |
parent | 61fdecaa0167a69938eb4ee2dc6fc2979a2c2c6b (diff) | |
download | perl-3c8a44569607336e4bea79da62162b3ded82557b.tar.gz |
fix various 5.00552 mishaps (fixes suggested by Jan Dubois,
Kurt Starsinic, Spider Boardman, Dan Sugalski and Albert
Dvornik)
p4raw-id: //depot/perl@1899
Diffstat (limited to 'mg.c')
-rw-r--r-- | mg.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -94,10 +94,13 @@ restore_magic(void *p) */ if (PL_savestack_ix == mgs->mgs_ss_ix) { - assert(SSPOPINT == SAVEt_DESTRUCTOR); + I32 popval = SSPOPINT; + assert(popval == SAVEt_DESTRUCTOR); PL_savestack_ix -= 2; - assert(SSPOPINT == SAVEt_ALLOC); - PL_savestack_ix -= SSPOPINT; + popval = SSPOPINT; + assert(popval == SAVEt_ALLOC); + popval = SSPOPINT; + PL_savestack_ix -= popval; } } |