<i>Changes to Tcl_SetObjLength() break "expect -re"</i> status still Open with 5 other changes
by
.
D 2003-02-18T04:34:23
J icomment Logged\sIn:\sYES\s\nuser_id=124643\n\nI\sthink\sI\sgou\sit:\nexpect.c\saround\sline\s2220\smodifies\sthe\scontents\sof\sthe\npointer\sthat\scomes\sback\sfrom\sTcl_GetStringFromObj():\n\n----\ssnip\s----\nstr\s=\sTcl_GetStringFromObj(esPtr->buffer,\s&length);\n...\nif\s(length\s!=\s0)\s{\n\s\s\s\smemmove(str,str+match,length-match);\n}\nTcl_SetObjLength(esPtr->buffer,\slength-match);\n---\ssnap\s----\n\nThis\smodifies\sthe\sstring\srep,\sbut\sdoesn't\supdate\sthe\sunicode\nstring.\n
J login rmax
J mimetype text/plain
J title Changes\sto\sTcl_SetObjLength()\sbreak\s"expect\s-re"
J username rmax
K 686782ffffffffffffffffffffffffffffffffff
U rmax
Z 2d563de1c82b03887875a4c8a3be4836