summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorArtur Bergman <sky@nanisky.com>2003-01-03 23:45:34 +0000
committerArtur Bergman <sky@nanisky.com>2003-01-03 23:45:34 +0000
commit0405e91e9230dfa76b6164c6ed64f7dab29ff49a (patch)
treeb81b2fb7785540a5be80dcbb66b177c6cef3ebbb /sv.h
parent1d784c9012710943ee8845da67010090b81b0eda (diff)
downloadperl-0405e91e9230dfa76b6164c6ed64f7dab29ff49a.tar.gz
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
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sv.h b/sv.h
index d87ba113b6..7c5e6dca06 100644
--- a/sv.h
+++ b/sv.h
@@ -1186,6 +1186,7 @@ Returns a pointer to the character buffer.
#define CLONEf_COPY_STACKS 1
#define CLONEf_KEEP_PTR_TABLE 2
#define CLONEf_CLONE_HOST 4
+#define CLONEf_JOIN_IN 8
struct clone_params {
AV* stashes;