Skip to content
Tcl Source Code View Ticket
Login

View Ticket

chan event exception anomaly

Open2449154fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-12-19 14:01:57
Something's off in how the default
background exception handlers react
to TCL_RETURN coming back from chan
event handler.  (Likely same trouble
with any non-error exception).  Note
this contrast:

% chan event [open Makefile] readable return
% vwait forever
can't read "::errorInfo": no such variable
    while executing
"set savedErrorInfo $::errorInfo"
can't wait for variable "forever": would wait forever


% after 0 return
after#0
% vwait forever
command returned bad code: 2
    ("after" script)
can't wait for variable "forever": would wait forever
Log in (anonymous is fine) to add a comment.