diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-05-29 20:36:05 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-05-29 20:39:51 -0700 |
commit | 3259388b9b72d07a50fa1de8a5c6c1764a8e7584 (patch) | |
tree | e1a28095bccb5cba5088204b7822e4db7097ec13 /universal.c | |
parent | 67a53d688ca9c89ddf138af0a4561601b3b778a8 (diff) | |
download | perl-3259388b9b72d07a50fa1de8a5c6c1764a8e7584.tar.gz |
Revert "[perl #91834] utf8::decode does not respect copy-on-write"
This reverts commit 40f11004fb3b5fa1cd207a20090df837d721b736.
Diffstat (limited to 'universal.c')
-rw-r--r-- | universal.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/universal.c b/universal.c index d012c0f01d..145d860bc6 100644 --- a/universal.c +++ b/universal.c @@ -695,7 +695,6 @@ XS(XS_utf8_decode) croak_xs_usage(cv, "sv"); else { SV * const sv = ST(0); - if (SvIsCOW(sv)) sv_force_normal(sv); const bool RETVAL = sv_utf8_decode(sv); ST(0) = boolSV(RETVAL); sv_2mortal(ST(0)); |