This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
The upgrade/croak order in Perl_sv_utf8_encode() seemed utterly
authorNicholas Clark <nick@ccl4.org>
Fri, 12 May 2006 14:08:45 +0000 (14:08 +0000)
committerNicholas Clark <nick@ccl4.org>
Fri, 12 May 2006 14:08:45 +0000 (14:08 +0000)
commita5f5288a1ce96404c41043e92557b8c1a5ad9e30
tree2a1409ea42cbe587f5f33cab96ca90113e8a95da
parentf0f40d8670b7f33d2000added2e7cf136c08f07b
The upgrade/croak order in Perl_sv_utf8_encode() seemed utterly
backwards. It now checks for readonly *first*.

p4raw-id: //depot/perl@28178
sv.c