<i>Changes to Tcl_SetObjLength() break "expect -re"</i> status still Open with 5 other changes
by
.
D 2003-02-18T17:50:26
J icomment Logged\sIn:\sYES\s\nuser_id=90580\n\nvince,\sthanks\sfor\sattaching\sthe\spatch,\ssorry\sfor\sbeing\sslow.\n\nreinhardt,\sdoes\sthis\sfix\sthe\sproblem\syou\ssee?\sI\sdon't\shave\sany\s\nproblem\swith\smy\sexpect\s-re\sscripts\sanymore\swith\sthis\swithout\s\nhaving\sto\schange\sexpect.\s(the\spatch\srestores\sthe\s\nabovementioned\sTcl_SetObjLength\sside\seffect)\n\nif\syes,\sthis\sshould\sdefinitely\sbe\sapplied\sbefore\s8.4.3\n\nfor\sefficiency,\swe\smight\swant\sto\sconsider\snew\sAPI\sin\sthe\sfuture\sto\s\ninvalidate\sthe\sunicode\srep\sexplicitly\swithout\sfreeing\sits\sassociated\s\nmemory\s(to\savoid\sdeallocating\sand\sreallocating\sthe\sunicode\s\nbuffer\srepeatedly,\sthus\sdefeating\sthe\smemory\soptimizations\sin\s\ntclStringObj.c)\n\nI've\sproposed\sTcl_InvalidateUnicode()\sor/and\s\nTcl_SetUnicodeLength()\s(where\sa\slength\sparam\sof\s-1\swould\s\ninvalidate\sthe\sunicode\srep)\n\n
J login das
J mimetype text/plain
J title Changes\sto\sTcl_SetObjLength()\sbreak\s"expect\s-re"
J username das
K 686782ffffffffffffffffffffffffffffffffff
U das
Z 73fc94bfb104ad80112eee3fac72a254