diff options
author | apnadkarni <apnmbx-wits@yahoo.com> | 2023-02-10 17:07:12 (GMT) |
---|---|---|
committer | apnadkarni <apnmbx-wits@yahoo.com> | 2023-02-10 17:07:12 (GMT) |
commit | e26214c28753b22c398ba4d7196a8afae999ab5a (patch) | |
tree | 4a414b531bf1f2880840f04b1a70eb6757a9b38a /generic/tclIO.h | |
parent | 9d1ba01f11c772a015e3edbfb1ea4ae8e9f148bf (diff) | |
download | tcl-e26214c28753b22c398ba4d7196a8afae999ab5a.zip tcl-e26214c28753b22c398ba4d7196a8afae999ab5a.tar.gz tcl-e26214c28753b22c398ba4d7196a8afae999ab5a.tar.bz2 |
Phase out (almost) STRICT and NOCOMPLAIN flags.
Diffstat (limited to 'generic/tclIO.h')
-rw-r--r-- | generic/tclIO.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclIO.h b/generic/tclIO.h index a69e990..3f2feee 100644 --- a/generic/tclIO.h +++ b/generic/tclIO.h @@ -275,16 +275,17 @@ typedef struct ChannelState { * encountered an encoding error */ #define CHANNEL_RAW_MODE (1<<16) /* When set, notes that the Raw API is * being used. */ +#ifdef APN #define CHANNEL_ENCODING_NOCOMPLAIN (1<<17) /* set if option * -nocomplainencoding is set to 1 */ #define CHANNEL_ENCODING_STRICT (1<<18) /* set if option * -strictencoding is set to 1 */ +#endif #define CHANNEL_INCLOSE (1<<19) /* Channel is currently being closed. * Its structures are still live and * usable, but it may not be closed * again from within the close * handler. */ -#define ENCODING_FAILINDEX (1<<20) /* Internal flag, fail on Invalid bytes only */ #define CHANNEL_CLOSEDWRITE (1<<21) /* Channel write side has been closed. * No further Tcl-level write IO on * the channel is allowed. */ |