summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-10-22 09:26:58 +0100
committerNicholas Clark <nick@ccl4.org>2009-10-22 11:56:20 +0100
commit9fb03e618192b6b5d49274cc64422acee51fe198 (patch)
tree03041992710e692feaeceeae038220ddf47414c4 /toke.c
parent1bb4187059cebfeb80fd44d4a65c5daa04be9ff4 (diff)
downloadperl-9fb03e618192b6b5d49274cc64422acee51fe198.tar.gz
Remove the "hack" that removes SVt_UTF8 in the UTF16 filter, by fixing t/TEST
Given that t/TEST already had code to add -I../lib when testing UTF-8 with -utf8, do likewise for testing UTF-16 with -utf16.
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/toke.c b/toke.c
index 7edccf4021..72e3e36d97 100644
--- a/toke.c
+++ b/toke.c
@@ -12817,10 +12817,6 @@ S_utf16_textfilter(pTHX_ int idx, SV *sv, int maxlen)
*end = '\0';
}
SvCUR_set(utf16_buffer, 0);
- /* This is to be bug-for-bug faithful with the implementation we've just
- replaced. Without this, ./TEST -utf16 base/lex.t fails, attempting to
- load utf8.pm */
- SvUTF8_off(sv);
DEBUG_P({sv_dump(sv);});
return SvCUR(sv);
}