projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc0d193
)
Restore the const to vtbl in Perl_mg_localize() removed in change
author
Nicholas Clark
<nick@ccl4.org>
Sun, 21 Jan 2007 23:11:30 +0000
(23:11 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Sun, 21 Jan 2007 23:11:30 +0000
(23:11 +0000)
26924.
p4raw-id: //depot/perl@29910
mg.c
patch
|
blob
|
history
diff --git
a/mg.c
b/mg.c
index
86f0e12
..
a3e0f26
100644
(file)
--- a/
mg.c
+++ b/
mg.c
@@
-413,7
+413,7
@@
Perl_mg_localize(pTHX_ SV *sv, SV *nsv)
dVAR;
MAGIC *mg;
for (mg = SvMAGIC(sv); mg; mg = mg->mg_moremagic) {
- MGVTBL* const vtbl = mg->mg_virtual;
+
const
MGVTBL* const vtbl = mg->mg_virtual;
switch (mg->mg_type) {
/* value magic types: don't copy */
case PERL_MAGIC_bm: