This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Don’t allow read-only COWs to be blessed
authorFather Chrysostomos <sprout@cpan.org>
Sat, 10 Aug 2013 20:06:26 +0000 (13:06 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 11 Aug 2013 14:41:27 +0000 (07:41 -0700)
commitc13d5d105bb279112ad400ff1b19adfdc70c80ac
tree812219cbb29c0fd48d5b4f11503d5214e0fd2f19
parent5a37a95f0f47817e59d3f5f9e96f98b4e0cde07e
Don’t allow read-only COWs to be blessed

The logic exempting copy-on-write scalars from read-only checks in
sv_bless was left over from when READONLY+FAKE meant copy-on-write.
sv.c
t/op/bless.t