summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorArtur Bergman <sky@nanisky.com>2003-03-04 01:01:07 +0000
committerArtur Bergman <sky@nanisky.com>2003-03-04 01:01:07 +0000
commit3b1c21fabed159100271bd60bac3f870f5ac16af (patch)
tree964a49425c97f3e07139b6c00a0be98f76e90933 /t
parentbf61ac64f9c44081613e3d1b479639fda606e19f (diff)
downloadperl-3b1c21fabed159100271bd60bac3f870f5ac16af.tar.gz
Fixes bug #15654 bizarre constant mangling in 5.8.0
What happened was that a constant was freed, the pad released but the pad slot still held the SV, when pad slot was reallocated to be a target for a stringify, it did a sv_setpv on the target and the original SV was wiped out. When this SV was later on to new places using the constant, they got the wrong value. By replacing pad_free with pad_swipe for these cases, we won't have such a problem. (pad_swipe also removes the pointer to the original SV). p4raw-id: //depot/perl@18820
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions