summaryrefslogtreecommitdiffstats
path: root/generic/tclTest.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-04-23 19:07:08 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-04-23 19:07:08 (GMT)
commite7186db8a96017cbfe8baf62cb3a23ce279c1bb0 (patch)
treeb0444a35fd26426f84187127afebdb19810af167 /generic/tclTest.c
parent2ca7ab9af0d59c9907dde3d844e1785d33df4812 (diff)
downloadtcl-e7186db8a96017cbfe8baf62cb3a23ce279c1bb0.zip
tcl-e7186db8a96017cbfe8baf62cb3a23ce279c1bb0.tar.gz
tcl-e7186db8a96017cbfe8baf62cb3a23ce279c1bb0.tar.bz2
Fix regression in Tcl_NumUtfChars, caused by this commit: [6596c4af31e29b5d]. Expectations of failing tests was adapted later, that's why this was missed.
Lesson: Tcl_UtfNext() is _not_ just an optimized replacement for Tcl_UtfToUniChar(). Sorry, but this change it just to dangerous! Tcl_UniCharAtIndex() and Tcl_UtfAtIndex() most likely have the same regression when fead with invalid byte-sequences, therefore reverted those too. HOLD ON! These regressions are equally the result of [5c322bbd51]. It takes both changes to cause the failing tests. We need to argue about which change was the wrong one.
Diffstat (limited to 'generic/tclTest.c')
0 files changed, 0 insertions, 0 deletions