Tcl Source Code

Artifact [b7e6d7f5ea]
Login

Artifact b7e6d7f5eaf08166239103820d6cbee889504d2c:

Ticket change [b7e6d7f5ea] - Ticket [cafef7c585] Unexplained code in StringRplcCmd function (tclCmdMZ.c) status still Open with 3 other changes by anonymous 2015-03-27 06:22:48.
D 2015-03-27T06:22:48.522
J icomment I\sdeleted\sthe\ssecond\sgroup\sof\stwo\ssentences\sin\sthe\sTcl\sinterpreter:\r\n\s\s\s\s\sustring\s=\sTcl_GetUnicodeFromObj(objv[1],\s&length);\r\n\s\s\s\s\slength--;\r\n\r\nI\scompiled\sand\sthe\stest\sproposed\sby\sdkf\sworks:\r\n\s\s\s\sset\sstart\send-2\r\n\s\s\s\sstring\sreplace\s$start\s$start\send\r\n\r\nIt\sreturns\s"en".\sThe\ssame\svalue\sreturned\sby\sthe\sinterpreter\swithout\sany\smodification\sto\sits\scode.\r\n\r\nAlso\sthe\scondition:\r\n\s\s\s\s\s\sobjv[1]==\sobjv[2]\s||\sobjv[1]\s==\sobjv[3]\r\ndoesn't\shappens\sinside\sthe\sfunction\sStringRplcCmd()\sin\sthis\stest.
J login anonymous
J mimetype text/plain
K cafef7c5856ec8b1cbc0ea13c6c41d96d9982d75
U anonymous
Z 9e9144e411629a13078aff8c5f869acf