#4232 chan event exception anomaly

obsolete: 8.6a4
open
5
2008-12-19
2008-12-19
Don Porter
No

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

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks