Skip to content
Tcl Source Code Artifact [a25ffedd19]
Login

Artifact [a25ffedd19]

Artifact a25ffedd1965998d14ed5f3d144ec2148248542afe7e71ba43c29f2fc7684963:

Ticket change [a25ffedd19] - Ticket [27944a3661a5e409|27944a3661] <i>Taming test utf-6.88</i> status still Open with 3 other changes by jan.nijtmans on 2020-04-23 19:24:08.
D 2020-04-23T19:24:08.891
J icomment I'm\sveeeeery\ssorry,\sbut\sI\sbelieve\sthat\schanging\sTcl_UfToUniChar()\sto\sTcl_UtfNext()\sin\srandom\splaces\sin\sthe\ssource-code\sis\stoo\sdangerous.\sA\sregression\sin\sTcl_NumUtfChars()\sis\salready\sdiscovered,\sI\sfound\s3\smore\splaces\swhere\ssuch\sa\schange\swas\sdone.\sSince\swe\sknow\sthat\sTcl_UtfNext()\sdoesn't\swork\sthe\ssame\sas\sTcl_UtfToUniChar(),\swe\sknow\sit's\snot\sthe\ssame\swhen\shandling\sinvalid\sbyte\ssequences.\sThe\sTcl\stest\ssuite\sdoesn't\shave\senough\stest-cases\sto\sfind\ssuch\splaces.\sSo,\ssuch\sa\schange\scan\sonly\sdone\safter\spreparing\sa\sproper\stest-case,\sshowing\sthat\sthe\schange\sis\sharmless.\r\n\r\nI\srecommend\sto\sundo\sthe\ssame\schanges\sin\sTcl\s8.5\stoo.\r\n\r\nAgain,\sSorry!
J login jan.nijtmans
J mimetype text/x-fossil-wiki
K 27944a3661a5e409dead945dbc8f9e4a50033e62
U jan.nijtmans
Z 7ed31f79f2408142620e3371f8958570