summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.h
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2007-12-05 21:47:25 (GMT)
committerhobbs <hobbs@noemail.net>2007-12-05 21:47:25 (GMT)
commitf64c2e4b545c64a58145bceab609e78192fdfd80 (patch)
tree4699636d41848d0d0642de636144a9faad783163 /generic/tclIO.h
parentf261a2194c5cdcf064199856388c120819da7e5a (diff)
downloadtcl-f64c2e4b545c64a58145bceab609e78192fdfd80.zip
tcl-f64c2e4b545c64a58145bceab609e78192fdfd80.tar.gz
tcl-f64c2e4b545c64a58145bceab609e78192fdfd80.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] FossilOrigin-Name: b780154df665e74c99d5abad69ef3089477f79a1
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,