diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-09-29 07:51:16 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-09-29 07:51:16 (GMT) |
commit | cf3494dfd17c878ba1a8b121d647ece41fdba358 (patch) | |
tree | 901bfa87ada40db064f0c0f9cbd5b7e144c24252 /generic/tclInt.h | |
parent | 85b8b933f9f8fc0f12a1a898760de37e956f3000 (diff) | |
parent | e067642e2b6d96c45ad9dc6e5afd52c3ae7dd150 (diff) | |
download | tcl-cf3494dfd17c878ba1a8b121d647ece41fdba358.zip tcl-cf3494dfd17c878ba1a8b121d647ece41fdba358.tar.gz tcl-cf3494dfd17c878ba1a8b121d647ece41fdba358.tar.bz2 |
Merge 9.0. Make stderr channel -profile replace
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r-- | generic/tclInt.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index 900c0eb..fa9bb26 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -2945,10 +2945,10 @@ typedef struct ProcessGlobalValue { #define ENCODING_PROFILE_MASK 0xFF000000 #define ENCODING_PROFILE_GET(flags_) ((flags_) & ENCODING_PROFILE_MASK) -#define ENCODING_PROFILE_SET(flags_, profile_) \ - do { \ - (flags_) &= ~ENCODING_PROFILE_MASK; \ - (flags_) |= profile_; \ +#define ENCODING_PROFILE_SET(flags_, profile_) \ + do { \ + (flags_) &= ~ENCODING_PROFILE_MASK; \ + (flags_) |= ((profile_) & ENCODING_PROFILE_MASK);\ } while (0) /* |