Overview
| Artifact ID: | 9cbebfb327bb5d3c80df6bf6b950ca15c0912bf8 |
|---|---|
| Ticket: | 2379689fffffffffffffffffffffffffffffffff
[clock] alias in safe slave |
| User & Date: | dgp on 2008-12-02 21:44:39 |
Changes
- assignee changed to: "kennykb"
- cmimetype changed to: "text/plain"
- comment changed 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 changed to: "obsolete: 8.6a4"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "06. Time Measurement"
- title changed to: "[clock] alias in safe slave"
- type changed to: "Bug"