Artifacts Associated With Ticket 2379689fffffffff
Ticket change [9cbebfb327] (rid 96199) by dgp on 2008-12-02 21:44:39:
- assignee initialized to: "kennykb"
- cmimetype initialized to: "text/plain"
- comment initialized to:
I notice in the SlaveCreate() routine: /* * The [clock] command presents a safe API, but uses unsafe features in * its implementation. This means it has to be implemented in safe interps * as an alias to a version in the (trusted) master. */ if (safe) { Tcl_Obj *clockObj; int status; TclNewLiteralStringObj(clockObj, "clock"); Tcl_IncrRefCount(clockObj); status = AliasCreate(interp, slaveInterp, masterInterp, clockObj, clockObj, 0, NULL); Tcl_DecrRefCount(clockObj); if (status != TCL_OK) { goto error2; } } return slaveInterp; error: TclTransferResult(slaveInterp, TCL_ERROR, interp); error2: Tcl_DeleteInterp(slaveInterp); What is the reason to bypass the reporting of the error message when failure to create the [clock] alias lead to failure to create the slave interp? - foundin initialized to: "obsolete: 8.6a4"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "06. Time Measurement"
- title initialized to: "[clock] alias in safe slave"
- type initialized to: "Bug"
Ticket change [d63345916c] (rid 123765) by kennykb on 2009-10-29 09:35:52:
- icomment:
I thought that AliasCreate reports the problem in 'interp', not 'slaveInterp', so the error message should already be in place when we hit 'goto error2'. Did I err?
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
- icomment:
Ticket change [8940758039] (rid 131995) by kennykb on 2009-10-29 09:35:58:
- closedate changed to: "2009-10-29T02:35:58"
- closer changed to: "kennykb"
- resolution changed to: "Invalid"
- status changed to: "Pending"
Ticket change [f047b8ab97] (rid 109162) by dgp on 2009-10-29 21:42:58:
- icomment:
D'oh!
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [f23c42d7dd] (rid 109505) by dgp on 2009-10-29 21:43:05:
- closedate changed to: "2009-10-29T14:43:05"
- closer changed to: "dgp"
- icomment:
allow_comments - 1
- login: "dgp"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "dgp"