projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e040ff7
)
The values for proxy constant subroutines need to be read only.
Nicholas Clark [Mon, 26 Dec 2005 12:48:10 +0000 (12:48 +0000)]
p4raw-id: //depot/perl@26488
lib/ExtUtils/Constant/ProxySubs.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/ExtUtils/Constant/ProxySubs.pm
b/lib/ExtUtils/Constant/ProxySubs.pm
index
d630c01
..
d8a7c2a
100644
(file)
--- a/
lib/ExtUtils/Constant/ProxySubs.pm
+++ b/
lib/ExtUtils/Constant/ProxySubs.pm
@@
-201,6
+201,7
@@
void ${c_subname}_add_symbol($pthx HV *hash, const char *name, I32 namelen, SV *
SvUPGRADE(*sv, SVt_RV);
SvRV_set(*sv, value);
SvROK_on(*sv);
+ SvREADONLY_on(value);
}
}