projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Chip noticed that the intended optionality of the 'IV' was
[p5sagit/p5-mst-13.2.git]
/
sv.c
diff --git
a/sv.c
b/sv.c
index
98d70a4
..
73fef98
100644
(file)
--- a/
sv.c
+++ b/
sv.c
@@
-9323,6
+9323,9
@@
Perl_re_dup(pTHX_ REGEXP *r, CLONE_PARAMS *param)
ret->subbeg = SAVEPV(r->subbeg);
else
ret->subbeg = Nullch;
+#ifdef PERL_COPY_ON_WRITE
+ ret->saved_copy = Nullsv;
+#endif
ptr_table_store(PL_ptr_table, r, ret);
return ret;