From 76c81b20b6039773ba19982279d04dbf2306cc68 Mon Sep 17 00:00:00 2001 From: ferrieux Date: Mon, 30 Apr 2012 21:31:14 +0000 Subject: Fix a nesting bug in the message-passing protocol to Tcl_SetChannelError in one case. --- generic/tclIO.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/tclIO.c b/generic/tclIO.c index 0f2aa28..bac4c17 100644 --- a/generic/tclIO.c +++ b/generic/tclIO.c @@ -2118,7 +2118,7 @@ Tcl_GetChannelHandle( chanPtr = ((Channel *) chan)->state->bottomChanPtr; if (!chanPtr->typePtr->getHandleProc) { Tcl_SetChannelError(chan, Tcl_ObjPrintf( - "channel \"%s\" does not support OS handles", + "{channel \"%s\" does not support OS handles}", Tcl_GetChannelName(chan))); return TCL_ERROR; } -- cgit v0.12