Overview
| Comment: | Tweak Invalid() function: No need for "return 0" twice in the function. For start bytes F0-F4, case TCL_UTF_MAX=4, Tcl_UtfToUniChar() reads 3 bytes but only advances 1 byte. So Tcl_UtfCharComplete() must make sure 3 bytes are available, not 1. Adapt Tcl_UtfCharComplete() accordingly. No change for TCL_UTF_MAX=[3|6] |
|---|---|
| Timelines: | family | ancestors | descendants | both | core-8-6-branch |
| Files: | files | file ages | folders |
| SHA3-256: |
1c924d98e0653aee02958b0b7a53fff1 |
| User & Date: | jan.nijtmans on 2020-05-10 19:28:08.734 |
| Other Links: | branch diff | manifest | tags |
Context
|
2020-05-11
| ||
| 07:39 | occurance -> occurrence. check-in: 1f06b263bc user: jan.nijtmans tags: core-8-6-branch | |
|
2020-05-10
| ||
| 20:11 | Merge 8.6 check-in: 2cff341b8c user: jan.nijtmans tags: core-8-branch | |
| 19:28 | Tweak Invalid() function: No need for "return 0" twice in the function. For start bytes F0-F4, case... check-in: 1c924d98e0 user: jan.nijtmans tags: core-8-6-branch | |
| 13:10 | Merge bug-31aa44375d branch. Mark encoding-15.5 testcase as "knownBug". Discussion is not over yet, ... check-in: 9185977c43 user: jan.nijtmans tags: core-8-6-branch | |
Changes
Modified generic/tclUtf.c
from [1102147264]
to [c5862ed2d3].
[diff]
Modified tests/utf.test
from [347fbab518]
to [2b87defd84].
[diff]