Skip to content
Tcl Source Code Artifact [1707dcfbc0]
Login

Artifact [1707dcfbc0]

Artifact 1707dcfbc01c2412a4e9ea547f455c134b27b3e191acb4f35ebdab904bfd1d06:

Ticket change [1707dcfbc0] - Ticket [7f1162a8674cc65c|7f1162a867] <i>concatenation does not make usable surrogate pairs</i> status still Closed with 5 other changes by chw on 2021-04-14 09:38:16.
D 2021-04-14T09:38:16.138
J closedate 2459318.90157567
J closer chw
J icomment Hmm,\swondering\sabout\sthe\scomment\son\stop\sof\sTcl_AppendObjToObj()\swhich\sstates\r\n\r\n...\r\n\s*\s\s\s\s\s\sIMPORTANT:\sThis\sroutine\sdoes\snot\sand\sMUST\sNOT\sshimmer\sappendObjPtr.\r\n\s*\s\s\s\s\s\sCallers\sare\scounting\son\sthat.\r\n...\r\n\r\nand\slater\son\sin\sthe\simplementation\r\n\r\n...\r\n\s\s\s\s/*\sIf\sappended\sstring\sstarts\swith\sa\scontinuation\sbyte\sor\sa\slower\ssurrogate,\r\n\s\s\s\s\s*\sforce\sobjPtr\sto\sunicode\srepresentation.\sSee\s[7f1162a867]\r\n\s\s\s\s\s*\sThis\sfixes\sappend-3.4,\sappend-3.7\sand\sutf-1.18\stestcases.\s*/\r\n\s\s\s\sif\s(ISCONTINUATION(TclGetString(appendObjPtr)))\s{\r\n\s\s\s\s\s\s\s\sTcl_GetUnicode(objPtr);\r\n\s\s\s\s}\r\n...\r\n\r\nwhich\shas\sthe\spotential\sof\sbreaking\sthe\spromise.\sIs\sthis\snot\sa\sproblem?
J login chw
J mimetype text/plain
K 7f1162a8674cc65c9b72169818badc3186f97678
U chw
Z 8cfe5ff0b8251ad420dabef5f97202c2