Integrate:
authorNicholas Clark <nick@ccl4.org>
Sun, 13 Nov 2005 11:44:30 +0000 (11:44 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 13 Nov 2005 11:44:30 +0000 (11:44 +0000)
commit678f9f8e69283f64dcdcd30e3fe602110d10a5a6
tree0e68f319200f8b9a1bdc6681d794180e678e490b
parentd4b9b6e4cc25d0e932fd120c48e967f642ccbc07
Integrate:
[ 26108]
BEGIN blocks should start a new stack, as they can be called as a
side effect of "regular" Perl API calls within subroutines that have
already cached the current stack's address. If they don't, any stack
extension during the call may move the stack, rendering that cached
value invalid without the cachee realising. (For example, PP code
calling gv_fetchpv() which triggers a load of Errno.pm)
p4raw-link: @26108 on //depot/maint-5.8/perl: 5480675bc37b4a804a56a749cdedc70e27a270eb

p4raw-id: //depot/perl@26110
p4raw-integrated: from //depot/maint-5.8/perl@26107 'merge in' op.c
(@26097..)
op.c