diff options
author | dgp <dgp@noemail.net> | 2007-09-06 18:13:19 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2007-09-06 18:13:19 (GMT) |
commit | 5d8adfcb19e95a7cfe1bde6471bb69ee52aade77 (patch) | |
tree | 21db3085afb048eebeefccee941778b5e8733f74 /generic/tclIOCmd.c | |
parent | cfc0470326dd0ad12c30c7fef76094e433b0ff69 (diff) | |
download | tcl-5d8adfcb19e95a7cfe1bde6471bb69ee52aade77.zip tcl-5d8adfcb19e95a7cfe1bde6471bb69ee52aade77.tar.gz tcl-5d8adfcb19e95a7cfe1bde6471bb69ee52aade77.tar.bz2 |
* generic/tclInt.decls: New internal routine TclBackgroundException()
* generic/tclEvent.c: that for the first time permits non-TCL_ERROR
exceptions to trigger [interp bgerror] handling. Closes a gap in
TIP 221. When falling back to [bgerror] (which is designed only
to handle TCL_ERROR), convert exceptions into errors complaining
about the exception.
* generic/tclInterp.c: Convert Tcl_BackgroundError() callers to call
* generic/tclIO.c: TclBackgroundException().
* generic/tclIOCmd.c:
* generic/tclTimer.c:
* generic/tclIntDecls.h: make genstubs
* generic/tclStubInit.c:
FossilOrigin-Name: d487b6177f90c2e6ed098196aa542ca6db0f5a21
Diffstat (limited to 'generic/tclIOCmd.c')
-rw-r--r-- | generic/tclIOCmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIOCmd.c b/generic/tclIOCmd.c index ba610b5..9156b6d 100644 --- a/generic/tclIOCmd.c +++ b/generic/tclIOCmd.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclIOCmd.c,v 1.42 2007/06/28 21:10:38 patthoyts Exp $ + * RCS: @(#) $Id: tclIOCmd.c,v 1.43 2007/09/06 18:13:20 dgp Exp $ */ #include "tclInt.h" @@ -1284,7 +1284,7 @@ AcceptCallbackProc( result = Tcl_VarEval(interp, script, " ", Tcl_GetChannelName(chan), " ", address, " ", portBuf, NULL); if (result != TCL_OK) { - Tcl_BackgroundError(interp); + TclBackgroundException(interp, result); Tcl_UnregisterChannel(interp, chan); } |