Skip to content
Tcl Source Code Artifact [5108688449]
Login

Artifact [5108688449]

Artifact 51086884495ca487510331401020e47aa2b8bed6:

Ticket change [5108688449] - Ticket [402501ffffffffff|402501ffff] <i>Fix for Bug 119393</i> status still Open with 4 other changes by dgp on 2000-11-28 03:51:53.
D 2000-11-28T03:51:53
J icomment Looks\slike\sthe\swhole\sTraceVarInfo()\sroutine\sneeds\sa\nrewrite.\s\sBy\sthe\srequirements\sof\sTcl_TraceVar(),\nTraceVarInfo()\sis\ssupposed\sto\sreturn\sNULL\son\ssuccess,\nor\sa\spointer\sto\sa\s*static*\scharacter\sstring\scontaining\nan\serror\smessage\son\sfailure.\s\sWhen\sthe\strace\sscript\nreturns\san\serror,\sthough,\sTraceVarInfo\sis\sreturning\sthe\npointer\stvarPtr->errMsg,\swhich\sis\sdynamically\sallocated\nand\swhich\sassumes\sthe\sstructure\s*tvarPtr\sstill\sexists.\nThis\smeans\sTraceVarInfo()\sis\sincapable\sof\sproperly\shandling\na\strace\sscript\sthat\sboth\sreturns\san\serror\sand\sdeletes\nthe\strace,\sbecause\sthen\sthere's\snowhere\sfor\sthe\serror\nmessage\sto\slive.\n
J login dgp
J mimetype text/plain
J username dgp
K 402501ffffffffffffffffffffffffffffffffff
U dgp
Z 290d8272bcc573d2896cb94d0a5bd075