Skip to content
Tcl Source Code Artifact [a9c63dd97f]
Login

Artifact [a9c63dd97f]

Artifact a9c63dd97fab6a7f8d60ea6b896e1ae52baa0cd1:

Ticket change [a9c63dd97f] - New ticket [2577420fffffffff|2577420fff] <i>Tcl_GetInterpPath produces invalid path.</i>. by sbron on 2009-02-07 14:54:54.
D 2009-02-07T14:54:54
J assignee hobbs
J cmimetype text/plain
J comment Tcl_GetInterpPath\sreturns\sTCL_OK\swhen\scalled\sform\swithin\sa\sTcl_InterpDeleteProc\sthat\sruns\swhen\sthe\sslave\sinterp\sis\sdeleted,\sbut\sthe\spath\sit\sproduces\sis\sgarbage.\n\nThe\sfollowing\scode\sprints\ssome\sstrange\scharacter\swhen\sit\sis\sregistered\swith\sTcl_CallWhenDeleted\sfor\ssome\sslave\sinterpreter\sand\sthat\sinterpreter\sis\ssubsequently\sdeleted.\n\nvoid\sInterpDelete(ClientData\sdummy,\sTcl_Interp\s*interp)\n{\n\s\s\sTcl_Interp\s*master;\n\s\s\smaster\s=\sTcl_GetMaster(interp);\n\s\s\sif\s(master\s!=\sNULL)\s{\n\s\s\s\s\s\sTcl_GetInterpPath(master,\sinterp);\n\s\s\s\s\s\sprintf("Path:\s%s\\n",\sTcl_GetStringResult(master));\n\s\s\s}\n}\n\nEither\sthe\sfunction\sshould\sproduce\sthe\scorrect\spath,\sor\sit\sshould\sreturn\sTCL_ERROR.\sIn\sthe\slatter\scase\sit\swould\salso\sbe\shelpful\sif\sthe\smanual\spage\swould\smention\sthat\sthis\sfunction\scannot\sbe\sused\swhen\sthe\sinterp\sis\sin\sthe\sprocess\sof\sbeing\sdeleted.\n\nProblem\swas\sfound\son\sSuSE\slinux\s11.0.\n
J foundin obsolete:\s8.6b1.1
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter sbron
J subsystem 20.\s[interp]
J title Tcl_GetInterpPath\sproduces\sinvalid\spath.
J type Bug
K 2577420fffffffffffffffffffffffffffffffff
U sbron
Z c24312fe3d4a799ec64b614ab045739a