diff options
author | dgp <dgp@users.sourceforge.net> | 2016-07-18 16:26:44 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2016-07-18 16:26:44 (GMT) |
commit | a127a9e4aa8b2a9a386cd7fe694bfef8f1cf5264 (patch) | |
tree | 6e8a2ea347e991687484927a565d7b911e59d7e5 /generic/tclIO.h | |
parent | 8f0cfce66a4fd94536faac0595c3d7d7c7844d64 (diff) | |
download | tcl-a127a9e4aa8b2a9a386cd7fe694bfef8f1cf5264.zip tcl-a127a9e4aa8b2a9a386cd7fe694bfef8f1cf5264.tar.gz tcl-a127a9e4aa8b2a9a386cd7fe694bfef8f1cf5264.tar.bz2 |
[104f2885bb] Rework the "chan" Tcl_ObjType to properly validate cached
channel name lookups.
Diffstat (limited to 'generic/tclIO.h')
-rw-r--r-- | generic/tclIO.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/generic/tclIO.h b/generic/tclIO.h index 348a9c5..d096798 100644 --- a/generic/tclIO.h +++ b/generic/tclIO.h @@ -214,6 +214,8 @@ typedef struct ChannelState { * because it happened in the background. The * value is the chanMg, if any. #219's * companion to 'unreportedError'. */ + int epoch; /* Used to test validity of stored channelname + * lookup results. */ } ChannelState; /* @@ -275,10 +277,6 @@ 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. */ /* * Local Variables: |