Overview
Artifact ID: | b7e6d7f5eaf08166239103820d6cbee889504d2c |
---|---|
Ticket: | cafef7c5856ec8b1cbc0ea13c6c41d96d9982d75
Unexplained code in StringRplcCmd function (tclCmdMZ.c) |
User & Date: | anonymous 2015-03-27 06:22:48 |
Changes
- icomment:
I deleted the second group of two sentences in the Tcl interpreter: ustring = Tcl_GetUnicodeFromObj(objv[1], &length); length--; I compiled and the test proposed by dkf works: set start end-2 string replace $start $start end It returns "en". The same value returned by the interpreter without any modification to its code. Also the condition: objv[1]== objv[2] || objv[1] == objv[3] doesn't happens inside the function StringRplcCmd() in this test.
- login: "anonymous"
- mimetype: "text/plain"