Artifacts Associated With Ticket 1209759
Ticket change [8248eb91ff] (rid 117212) by uring on 2005-05-27 10:56:33:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Have a command, say "ret", which returns the code TCL_RETURN, for example as a proc: proc ret {} { return -code 2 } ... and a procedure which calls "ret": Then, running tclsh you get: % catch ret % 2 % ret % foo But, if you implement the "ret" command in C, for example, static int ret_cmd( ClientData, Tcl_Interp * interp, int, Tcl_Obj * const * ) { return TCL_RETURN; } you'll get tclsh oborting: % load libret.so ;# creates the "ret" command % proc foo {} { ret } % catch ret % 2 % foo TclUpdateReturnInfo: negative return level - foundin initialized to: "obsolete: 8.5a2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "uring"
- subsystem initialized to: "18. Commands M-Z"
- title initialized to:
TclUpdateReturnInfo() panics when returning TCL_RETURN
- type initialized to: "Bug"
Ticket change [650f327fe8] (rid 92880) by dkf on 2005-05-27 19:36:58:
- assignee changed to: "dgp"
- priority changed to: "8"
Ticket change [876961522e] (rid 131691) by dgp on 2005-06-02 03:33:38:
- closedate changed to: "2005-06-01T20:33:38"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 Can't reproduce this with the current development sources. Believe this is already fixed for Tcl 8.5a3.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Out of Date"
- status changed to: "Pending"
- username: "dgp"
Ticket change [3b5e80a8b0] (rid 112732) by dgp on 2005-06-02 03:50:17:
- icomment:
Logged In: YES user_id=80530 ok, not sure what error I made before, but I reproduce it now.
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "9 Immediate"
- resolution changed to: "None"
- status changed to: "Open"
- username: "dgp"
- icomment:
Ticket change [2f0399a591] (rid 92980) by dgp on 2005-06-02 04:38:37:
- icomment:
Logged In: YES user_id=80530 ok, for compatibility with earlier Tcl releases, we want return TCL_RETURN; to mean the same as return Tcl_SetReturnOptions(interp, Tcl_NewObj()); Committing simple fix to achieve that. - login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- subsystem changed to: "45. Parsing and Eval"
- username: "dgp"
- icomment:
Ticket change [8699994937] (rid 131543) by dgp on 2005-06-02 05:19:23:
- icomment:
Logged In: YES user_id=80530 revised fix committed that should be more efficient.
- login: "dgp"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "dgp"
- icomment:
Ticket change [3d309d60eb] (rid 121046) by dgp on 2005-06-02 05:19:24:
- closedate changed to: "2005-06-01T22:19:24"
- closer changed to: "dgp"