Manifest of check-in
[768fcfc909]
- * generic/tclBasic.c:
* generic/tclBinary.c:
* generic/tclCmdAH.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 00:24:14.
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\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-06T00:24:14
F ChangeLog 2983d06ad40a557bf8e50f41150bc658b3ccbe25
F doc/SetResult.3 1af129fed8f66d35287836021d7d0f5eaf29ec7d
F generic/tclBasic.c 0ebe11c59eac0e261d9726b3ae2835aab564e437
F generic/tclBinary.c 98fc1d96e9d97f3a9eaaafdc247b913e7f7a0ea5
F generic/tclCmdAH.c a633f3629a35d14ddcf7715edbbdf802913a4dec
F generic/tclResult.c e5ac259fac9b65b1f265489db164efe9a502c184
P 79c1d5927d8e13e27b6a7b48dd8abb6c333e3a7d
U dgp
Z a8440d9f2c5b9f685504ac7a658fe3b4