Overview
| Artifact ID: | 3798c2b3c3e3d2839f35aeecc1187a38e7627b938fae37e86741e6c4540f0364 |
|---|---|
| Ticket: | c61818e4c9b710bdf9f947c1a40563aeab85357a
Tcl_UtfPrev flaws |
| User & Date: | sebres on 2020-04-08 15:54:32 |
Changes
- icomment:
As for suggested definition to handle max search depth (max number of iterations) in cycle of Tcl_UtfPrev correctly, [f10ba6b7ac2b709c] introduced it now (called UTF_TO_UNI_MAX), so it is 3 now for default 8.5th build (unless TCL_UTF_MAX gets specified greater than 3, where UTF_TO_UNI_MAX becomes 4 then in 8.5).<br/> All tests still passed. And for the case if the solution from branch sebres-utf-prev-fix should be used for versions >= 8.6 too, the definition of UTF_TO_UNI_MAX should be then adjusted further to maximally possible return value of Tcl_UtfToUniChar, corresponding its logic depended from specified TCL_UTF_MAX.
- login: "sebres"
- mimetype: "text/x-fossil-wiki"