This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
C<foreach my $x ...> in pseudo-fork()ed process may diddle
authorGurusamy Sarathy <gsar@cpan.org>
Sat, 25 Nov 2000 20:52:17 +0000 (20:52 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Sat, 25 Nov 2000 20:52:17 +0000 (20:52 +0000)
commitc3564e5c35b594706ecb001261b86a47fb837059
tree924db2bde875fbdf39afd6a16feea1b1c79b944a
parentcf829ab07ccc67cf02ca41d6f870136b64d83833
C<foreach my $x ...> in pseudo-fork()ed process may diddle
parent's memory; fix it by keeping track of the actual pad
offset rather than a raw pointer (this change is probably also
relevant to non-ithreads case to avoid fallout from reallocs of
the pad array, but is currently only enabled for the ithreads
case in the interests of minimal disruption to existing "well
tested" code)

p4raw-id: //depot/perl@7858
embed.h
embed.pl
global.sym
objXSUB.h
perlapi.c
pp_ctl.c
proto.h
scope.c
scope.h
sv.c
t/op/fork.t