This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In sv.c:sv_magic don’t allow tying ro COWs
authorFather Chrysostomos <sprout@cpan.org>
Sat, 10 Aug 2013 13:06:56 +0000 (06:06 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 11 Aug 2013 14:41:27 +0000 (07:41 -0700)
commit5a37a95f0f47817e59d3f5f9e96f98b4e0cde07e
tree510be1ad64a289aef9261852e2ab476833c76a01
parentba3062ae5fbdf03fcd307336079938ace26aee2b
In sv.c:sv_magic don’t allow tying ro COWs

Read-only COWs are read-only and should not be treated as though they
were not.  This logic is left over from when READONLY+FAKE meant
copy-on-write.
sv.c
t/op/tie.t