diff options
author | nijtmans <nijtmans> | 2009-11-18 22:41:41 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2009-11-18 22:41:41 (GMT) |
commit | b57c08b7e2ccf91e1096b30f2170d2f603f59e0c (patch) | |
tree | 01d099afa4749afee67d0a99e9e442dcebb9cc45 /generic/tclIORChan.c | |
parent | a9191c772b1a15d5f705b2d4fa807388370ac0f8 (diff) | |
download | tcl-b57c08b7e2ccf91e1096b30f2170d2f603f59e0c.zip tcl-b57c08b7e2ccf91e1096b30f2170d2f603f59e0c.tar.gz tcl-b57c08b7e2ccf91e1096b30f2170d2f603f59e0c.tar.bz2 |
Fix [Bug 2849797]: channel name inconsistencies as suggested by DKF
minor *** POTENTIAL INCOMPATIBILITY *** because
Tcl_CreateChannel() and its derivatives, now
sometimes ignore their "chanName" argument.
Diffstat (limited to 'generic/tclIORChan.c')
-rw-r--r-- | generic/tclIORChan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIORChan.c b/generic/tclIORChan.c index 15e41d8..f2f8e1d 100644 --- a/generic/tclIORChan.c +++ b/generic/tclIORChan.c @@ -15,7 +15,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclIORChan.c,v 1.41 2009/10/07 17:07:07 andreas_kupries Exp $ + * RCS: @(#) $Id: tclIORChan.c,v 1.42 2009/11/18 22:41:41 nijtmans Exp $ */ #include <tclInt.h> @@ -735,7 +735,7 @@ TclChanCreateObjCmd( * Return handle as result of command. */ - Tcl_SetObjResult(interp, rcId); + Tcl_SetResult(interp, chanPtr->state->channelName, TCL_VOLATILE); return TCL_OK; error: |