Skip to content
Tcl Source Code Artifact [6470fa7251]
Login

Artifact [6470fa7251]

Artifact 6470fa7251311cf4bf15a372e63898f9a34a73eb:

Manifest of check-in [6470fa7251] - * generic/tclBasic.c: * generic/tclBinary.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompExpr.c: * generic/tclDictObj.c: It is a poor practice to directly set or append to the value of the objResult of an interp, because that value might be shared, and in that circumstance a Tcl_Panic() will be the result. Searched for example of this practice and replaced with safer alternatives, often using the Tcl_AppendResult() routine that dkf just rehabilitated. by dgp on 2004-10-06 05:52:20.
B 46e4edb86c9c4cc4384805e34e34b27249a0112b
C \s\s\s\s\s\s\s\s*\sgeneric/tclBasic.c:\n\s\s\s\s\s\s\s\s*\sgeneric/tclBinary.c:\n\s\s\s\s\s\s\s\s*\sgeneric/tclCmdAH.c:\n\s\s\s\s\s\s\s\s*\sgeneric/tclCmdIL.c:\n\s\s\s\s\s\s\s\s*\sgeneric/tclCmdMZ.c:\n\s\s\s\s\s\s\s\s*\sgeneric/tclCompExpr.c:\n\s\s\s\s\s\s\s\s*\sgeneric/tclDictObj.c:\n\s\s\s\s\s\s\s\sIt\sis\sa\spoor\spractice\sto\sdirectly\sset\sor\sappend\sto\sthe\svalue\n\s\s\s\s\s\s\s\sof\sthe\sobjResult\sof\san\sinterp,\sbecause\sthat\svalue\smight\sbe\n\s\s\s\s\s\s\s\sshared,\sand\sin\sthat\scircumstance\sa\sTcl_Panic()\swill\sbe\sthe\n\s\s\s\s\s\s\s\sresult.\s\sSearched\sfor\sexample\sof\sthis\spractice\sand\sreplaced\n\s\s\s\s\s\s\s\swith\ssafer\salternatives,\soften\susing\sthe\sTcl_AppendResult()\n\s\s\s\s\s\s\s\sroutine\sthat\sdkf\sjust\srehabilitated.\n
D 2004-10-06T05:52:20
F ChangeLog ee113b2bf932898953a2a64ef406afbd5386cdea
F doc/SetResult.3 1af129fed8f66d35287836021d7d0f5eaf29ec7d
F generic/tclBasic.c 0ebe11c59eac0e261d9726b3ae2835aab564e437
F generic/tclBinary.c fde61f8b507fb54d3b5996bc589d74f827a2a135
F generic/tclCmdAH.c a633f3629a35d14ddcf7715edbbdf802913a4dec
F generic/tclCmdIL.c a87daf1509b62fcea9e1b7a988d1fd60c470d7a5
F generic/tclCmdMZ.c 85e2d71036ddbc290883a0b294126252587ccbcf
F generic/tclCompExpr.c 5b53e980b8ccf6f55bb4cd8a102d165370f7eb72
F generic/tclDictObj.c f100f10e639707797c0f2fd09156bea9551fb15c
F generic/tclResult.c e5ac259fac9b65b1f265489db164efe9a502c184
P cd5499b524bb62d6008b8abc90369994e9ea9560
U dgp
Z 262096deb8f7d40c0e3e5a3c90f898dd