summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.h
diff options
context:
space:
mode:
authorhobbs <hobbs>2007-12-05 21:47:25 (GMT)
committerhobbs <hobbs>2007-12-05 21:47:25 (GMT)
commitd2cafa17fbc0ba124639514618fcdefecc66d927 (patch)
tree4699636d41848d0d0642de636144a9faad783163 /generic/tclIO.h
parent23b63fa1bae88cf7965c0113afc1738d23b51dd4 (diff)
downloadtcl-d2cafa17fbc0ba124639514618fcdefecc66d927.zip
tcl-d2cafa17fbc0ba124639514618fcdefecc66d927.tar.gz
tcl-d2cafa17fbc0ba124639514618fcdefecc66d927.tar.bz2
* generic/tclIO.h: Create Tcl_Obj for Tcl channels to reduce
* generic/tclIO.c: overhead in lookup by Tcl_GetChannel. New * generic/tclIOCmd.c: TclGetChannelFromObj for internal use. * generic/tclIO.c (WriteBytes, WriteChars): add opt check to avoid EOL translation when not linebuffered or using lf. [Bug 1845092]
Diffstat (limited to 'generic/tclIO.h')
-rw-r--r--generic/tclIO.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tclIO.h b/generic/tclIO.h
index f7afdc5..2b4fd63 100644
--- a/generic/tclIO.h
+++ b/generic/tclIO.h
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclIO.h,v 1.9 2005/10/13 00:56:59 dkf Exp $
+ * RCS: @(#) $Id: tclIO.h,v 1.10 2007/12/05 21:47:27 hobbs Exp $
*/
/*
@@ -334,6 +334,10 @@ typedef struct ChannelState {
* usable, but it may not be closed
* again from within the close
* handler. */
+#define CHANNEL_TAINTED (1<<20) /* Channel stack structure has changed.
+ * Used by Channel Tcl_Obj type to
+ * determine if we have to revalidate
+ * the channel. */
/*
* For each channel handler registered in a call to Tcl_CreateChannelHandler,