projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Remove two warnings (sub diag() was redefined, and implict split is
[p5sagit/p5-mst-13.2.git]
/
pad.c
diff --git
a/pad.c
b/pad.c
index
44fafb6
..
6e33495
100644
(file)
--- a/
pad.c
+++ b/
pad.c
@@
-1517,6
+1517,9
@@
Perl_cv_clone(pTHX_ CV *proto)
else
sv = newSV(0);
SvPADMY_on(sv);
+ /* reset the 'assign only once' flag on each state var */
+ if (SvPAD_STATE(namesv))
+ SvPADSTALE_on(sv);
}
}
else if (IS_PADGV(ppad[ix]) || IS_PADCONST(ppad[ix])) {