projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
5c24ba5
)
In Perl_mg_dup(), don't call ptr_table_fetch, as we never call ptr_table_store.
Nicholas Clark [Mon, 18 May 2009 10:27:16 +0000 (11:27 +0100)]
sv.c
patch
|
blob
|
blame
|
history
diff --git
a/sv.c
b/sv.c
index
858ba26
..
c21b8ce
100644
(file)
--- a/
sv.c
+++ b/
sv.c
@@
-10516,10
+10516,6
@@
Perl_mg_dup(pTHX_ MAGIC *mg, CLONE_PARAMS *const param)
if (!mg)
return (MAGIC*)NULL;
- /* look for it in the table first */
- mgret = (MAGIC*)ptr_table_fetch(PL_ptr_table, mg);
- if (mgret)
- return mgret;
for (; mg; mg = mg->mg_moremagic) {
MAGIC *nmg;