diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-07-27 15:13:36 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-07-27 15:13:36 (GMT) |
commit | 8225b1fd250bbd3d71a52ca514ae343a91dfcdc5 (patch) | |
tree | a91dde691bf66a3e79e57ac8058f0ab98348bc68 /generic/tcl.h | |
parent | af64c95042a9706c6d45118c8f341aafa5c26686 (diff) | |
parent | 192dc7dffdb4bd9d434e1f54830711df4fed4672 (diff) | |
download | tcl-8225b1fd250bbd3d71a52ca514ae343a91dfcdc5.zip tcl-8225b1fd250bbd3d71a52ca514ae343a91dfcdc5.tar.gz tcl-8225b1fd250bbd3d71a52ca514ae343a91dfcdc5.tar.bz2 |
Rebase to 9.0. Add more filname encoding checks
Diffstat (limited to 'generic/tcl.h')
-rw-r--r-- | generic/tcl.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index cae8fb6..005ca28 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -2013,14 +2013,9 @@ typedef struct Tcl_EncodingType { * changes, ensure ENCODING_PROFILE_* macros in tclInt.h are modified if * necessary. */ +#define TCL_ENCODING_PROFILE_STRICT TCL_ENCODING_STOPONERROR #define TCL_ENCODING_PROFILE_TCL8 0x01000000 -#define TCL_ENCODING_PROFILE_STRICT 0x02000000 -#define TCL_ENCODING_PROFILE_REPLACE 0x03000000 -#if TCL_MAJOR_VERSION < 9 -#define TCL_ENCODING_PROFILE_DEFAULT TCL_ENCODING_PROFILE_TCL8 -#else -#define TCL_ENCODING_PROFILE_DEFAULT TCL_ENCODING_PROFILE_TCL8 -#endif +#define TCL_ENCODING_PROFILE_REPLACE 0x02000000 /* * The following definitions are the error codes returned by the conversion |