Overview
| Comment: | Replace calls of TclUtfToUniChar() with TclUtfNext() when caller has no decoding need. Failing test string-22.14 indicates something is still not quite right. Now that Tcl_NumUtfChars() is not paying decoding prices, we let it spend to properly protect against overflow. [2738427] |
|---|---|
| Timelines: | family | ancestors | descendants | both | dgp-utf-next |
| Files: | files | file ages | folders |
| SHA3-256: |
d0cc6cdb7fd88938e1e62152f47954df |
| User & Date: | dgp on 2020-04-14 21:16:43.648 |
| Other Links: | branch diff | manifest | tags |
Context
|
2020-04-14
| ||
| 21:25 | Fix the bad logic in Tcl_UtfNext(). check-in: eb95fbb884 user: dgp tags: dgp-utf-next | |
| 21:16 | Replace calls of TclUtfToUniChar() with TclUtfNext() when caller has no decoding need. Failing test ... check-in: d0cc6cdb7f user: dgp tags: dgp-utf-next | |
| 20:18 | Create and use an optimized macro TclUtfNext() for Tcl_UtfNext(). check-in: 7a62f79951 user: dgp tags: dgp-utf-next | |
Changes
Modified generic/tclCompExpr.c
from [c4a5529845]
to [312f6e9223].
[diff]
Modified generic/tclUtf.c
from [4f6160fc46]
to [289613fbcc].
[diff]