Skip to content
Tcl Source Code Artifact [cd5499b524]
Login

Artifact [cd5499b524]

Artifact cd5499b524bb62d6008b8abc90369994e9ea9560:

Manifest of check-in [cd5499b524] - * generic/tclBasic.c: * generic/tclBinary.c: * generic/tclCmdAH.c: * generic/tclCmdIL.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 03:43:26.
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\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-06T03:43:26
F ChangeLog 8b60042c097f7b4dcc76efb9841d8d8507b8e088
F doc/SetResult.3 1af129fed8f66d35287836021d7d0f5eaf29ec7d
F generic/tclBasic.c 0ebe11c59eac0e261d9726b3ae2835aab564e437
F generic/tclBinary.c 98fc1d96e9d97f3a9eaaafdc247b913e7f7a0ea5
F generic/tclCmdAH.c a633f3629a35d14ddcf7715edbbdf802913a4dec
F generic/tclCmdIL.c a87daf1509b62fcea9e1b7a988d1fd60c470d7a5
F generic/tclResult.c e5ac259fac9b65b1f265489db164efe9a502c184
P 768fcfc909b091f7b223bdc6c3f4ccf3619a1551
U dgp
Z 651fdae3c812ab2c856fcd4bf0677196