This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fixes bug #15273, the return of the object caused
authorArtur Bergman <sky@nanisky.com>
Fri, 3 Jan 2003 23:45:34 +0000 (23:45 +0000)
committerArtur Bergman <sky@nanisky.com>
Fri, 3 Jan 2003 23:45:34 +0000 (23:45 +0000)
commit0405e91e9230dfa76b6164c6ed64f7dab29ff49a
treeb81b2fb7785540a5be80dcbb66b177c6cef3ebbb
parent1d784c9012710943ee8845da67010090b81b0eda
Fixes bug #15273, the return of the object caused
the stash of the object to be cloned, cloning the entire syntax
tree and all lexicals in there creating danglning copies to the
object. (Pararell but unlinked STASH tree).
This adds a new flag, when set it will use STASHES from the
thread we are joining into avoiding the problem.

p4raw-id: //depot/perl@18419
MANIFEST
ext/threads/threads.xs
sv.c
sv.h