.
D 2004-08-26T01:30:06
J icomment \n\nFile\sAdded\s-\s99158:\s1016167.patch\n\nLogged\sIn:\sYES\s\nuser_id=80530\n\n\nAttached\spatch\scorrects\sthis\sspecific\ninstance\sof\sthe\sbug.\n\nNote\sthat\sit\smakes\suse\sof\sthe\ninternal\sroutine\sTclGetOriginalCommand\nto\sdo\sso.\n\nAnother\sfix\swould\sbe\sto\sstore\s[after]'s\ndata\sdirecty\sin\san\sInterp\sfield,\srather\sthan\nin\sassocData\sand\sclientData\s(would\salso\nrequire\sinternals\sprivilege).\n\nOnly\sfix\sthat\swould\sbe\savailable\sto\s\nextensions\swould\sbe\sto\sarrange\sfor\nthe\sTcl_CreateObjCommand\scall\nthat\screates\s[after]\sto\spass\sin\sa\sreal\nClientData\svalue\sthat\sallows\sspace\nfor\smods\son\sthe\sfly.\s\sThat\sfix\swould\nalso\stake\scare\sof\sany\sother\s\nC-based\swrappers,\sthat,\slike\s[namespace\nimport],\slead\sto\sthe\sresult\sof\nTcl_GetCommandFromObj(objv[0])\snot\nbeing\sthe\sstruct\sthat\sholds\sthe\scurrent\nclientData.\s\sThere\sappears\sto\sbe\sno\ngenerally\sreliable\sway\sfor\sa\sTcl_ObjCmdProc\nto\sget\sat\sthe\sTcl_CmdInfo\sof\sthe\scommand\ncurrently\sbeing\sdispatched.\s\sIn\sorder\sto\nwrite\sto\sthe\sClientData,\sit\sneeds\sto\sbe\noriginally\sset\sup\swith\sspace\sto\swrite\son.\n
J login dgp
J mimetype text/plain
J username dgp
K 1016167fffffffffffffffffffffffffffffffff
U dgp
Z 98f00f1269c6b8955c9f034d05ccca46