Problem with -failindex on 32-bit platform
Closed / Fixed5ae5ffc3f4cb58ff63418b8ab3cbe67278a878e9Created 4 years agoUpdated 4 years ago
Descriptionwiki2023-03-19 13:07:03
Running current "encoding.test" on 32-bit platform:
==== encoding-18.5 TableToUtfProc on invalid input with -failindex FAILED ==== Contents of test case:list [catch {encoding convertto -failindex pos jis0208 \\} res] $res $pos---- Result was: 0 !) 4294967295 ---- Result should have been (exact matching): 0 !) -1 ==== encoding-18.5 FAILED
==== encoding-19.4 TableFromUtfProc FAILED ==== Contents of test case:
list [encoding convertfrom -failindex idx ascii AÁ] [set idx]---- Result was: A\xC1 4294967295 ---- Result should have been (exact matching): A\xC1 -1 ==== encoding-19.4 FAILED
Referenced by3
dbdc7b999bMerge trunk 1e23dd4876: Fix [5ae5ffc3f4]: Problem with -failindex on 32-bit platform. check-in2023-03-23 21:33:031e23dd4876Fix [5ae5ffc3f4]: Problem with -failindex on 32-bit platform check-in2023-03-20 11:42:19c01c9c2885Proposed fix for [5ae5ffc3f4]: Problem with -failindex on 32-bit platform. This also fixes a memory-leak. check-in2023-03-19 13:23:03
jan.nijtmanswiki2023-03-19 13:24:35
Proposed fix [here]
jan.nijtmans Closed ticket [5ae5ffc3f4].
[History diff]2023-03-20 14:23:48
Log in (anonymous is fine) to add a comment.