Skip to content
Tcl Source Code Artifact [60e22dfa94]
Login

Artifact [60e22dfa94]

Artifact 60e22dfa94b79444c07abc81e9a75b254efc8a0f:

Ticket change [60e22dfa94] - Ticket [686782ffffffffff|686782ffff] <i>Changes to Tcl_SetObjLength() break &quot;expect -re&quot;</i> status still Open with 5 other changes by rmax on 2003-02-18 17:26:26.
D 2003-02-18T17:26:26
J icomment Logged\sIn:\sYES\s\nuser_id=124643\n\nThere\swere\sseveral\splaces\sin\sexpect\swhere\sit\srelied\son\sthe\nundocumented\sside\seffect\sof\sthe\sold\sTcl_SetObjLength()\sto\nremove\sthe\sinternal\srep.\sFor\sthe\stime\sbeing\sI\shave\sadded\sa\nexpInvalidateInternalRep()\sfunction\sto\sour\sexpect\spackage\nthat\sjust\scalls\sthe\sfreeIntRepProc\sof\sthe\sobject\stype\sand\nthen\ssets\sthe\stypePtr\sto\sNULL,\sas\ssuggested\son\syesterday's\nchat\sby\sJeff\sand\sKevin,\sand\sby\sdkf\sbelow,\swhile\sI\swas\styping\nthese\slines\s;).\n\nBut\sI\simagine,\sthat\sthere\sare\sother\sextensions\sand\napplications\swhich\salso\srely\son\sthe\sold\sbehaviour\sof\nTcl_SetObjLength().\sSo\sit\smight\sbe\sbetter\sto\snot\schange\sthat\nbefore\sthe\snext\smajor\srelease.\n\nMabe\sTcl_SetObjLength()\scould\sbe\ssplit\sin\stwo\sparts,\sa\nprivate\sone\sthat\skeeps\sthe\sinternal\srep\sand\scan\sbe\sused\sby\nthe\score,\sand\sa\spublic\swrapper\swhich\smaintains\sthe\scurrent\nbehaviour.\n\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 21408475fc186721a61b4b409e971920