Overview
| Artifact ID: | 1113fa053679076b6766243dc6febe2e68567bc4 |
|---|---|
| Ticket: | 1008314fffffffffffffffffffffffffffffffff
Tcl_*SetVar* mishandle TCL_LIST_ELEMENT |
| User & Date: | dgp on 2004-08-12 22:26:31 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
The TclPtrSetVar() routine processes the TCL_LIST_ELEMENT flag only when the TCL_APPEND_VALUE flag is also set. This is an error that was introduced in revision 1.32 of tclVar.c. For example, Tcl_SetVar(i, "x", "a b", TCL_LIST_ELEMENT); will set the value of x to be "a b" and not "{a b}" as it should according to the docs. The public routine Tcl_SetErrorCode() can also be used to demo this bug. In particular Tcl_SetErrorCode(i, "{", NULL); will store a value in ::errorCode that is not a valid Tcl list. - foundin changed to: "obsolete: 8.4.7"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "07. Variables"
- title changed to: "Tcl_*SetVar* mishandle TCL_LIST_ELEMENT"
- type changed to: "Bug"