Skip to content
Tcl Source Code Artifact [cdd127449a]
Login

Artifact [cdd127449a]

Artifact cdd127449a4bd2dea7c614c7e28e7a1a5bf655b5:

Ticket change [cdd127449a] - New ticket [1355342fffffffff|1355342fff] <i>cmd deletion traces do not discard the result</i>. by msofer on 2005-11-12 17:40:56.
D 2005-11-12T17:40:56
J assignee dgp
J cmimetype text/plain
J comment %\sproc\sx\s{}\s{}\n%\strace\sadd\scommand\sx\sdelete\s{set\sw\saha!;#}\n%\srename\sx\s{}\naha!\n%\sinfo\spatch\n8.5a4\n\nComparing\sTraceCommandProc\sin\sHEAD\s(tclTrace.c)\swith\n8-4-branch\s(tclCmdMZ.c),\sI\ssee\sthat\swe\sstill\shave\sthe\ncomment\sthat\sthe\sresult\sis\sdiscarded,\sbut\sthe\scode\sis\nmissing:\s8.4\shas\n\n\s\s\sTcl_SaveResult(interp,\s&state);\n\s\s\sstateCode\s=\siPtr->returnCode;\n\s\s\s...\n\s\s\sTcl_RestoreResult(interp,\s&state);\n\s\s\siPtr->returnCode\s=\sstateCode;\n\nNot\sfixing\smyself\sas\sI'm\snot\ssure\sabout\sthe\scorrect\nfix.\sThis\scode\swas\sremoved\son\s2004-10-19\s(tclTraces.c\nversion\s1.17)\swhen\sTclSaveInterpState\sand\srelated\swere\ncreated;\sthe\sChangelog\ssays:\n"Callers\sof\sTcl_*Result\supdated\sto\scall\sthe\snew\nroutines.\sThe\scalls\swere\srelocated\sin\sseveral\scases\sto\nperform\ssave/restore\soperations\sonly\swhen\sneeded."\nbut\sI\sdo\snot\ssee\swhere\sthis\smight\shave\sbeen\srelocated\sto.\n\n
J foundin obsolete:\s8.5a4
J priority 9\sImmediate
J resolution None
J status Open
J submitter msofer
J subsystem 46.\sTraces
J title cmd\sdeletion\straces\sdo\snot\sdiscard\sthe\sresult
J type Bug
K 1355342fffffffffffffffffffffffffffffffff
U msofer
Z 55a30feff5f8733c721ef68cb3e64102