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