Change 24643 made the mistake of assuming that CvCONST can only be true
authorNicholas Clark <nick@ccl4.org>
Wed, 22 Feb 2006 00:23:49 +0000 (00:23 +0000)
committerNicholas Clark <nick@ccl4.org>
Wed, 22 Feb 2006 00:23:49 +0000 (00:23 +0000)
commitcfae286ee950aa5c0910601410971733f656001f
tree7a782e4edb61cf51fbb37a340bf7d6e0481573fa
parentfd13b0dcd66223c4c2556f134a38b299c80ace69
Change 24643 made the mistake of assuming that CvCONST can only be true
on XSUBs. Somehow it can also end up on perl subs. Bug spotted by and
test case from Marcus Holland-Moritz.

p4raw-id: //depot/perl@27267
sv.c
t/op/threads.t