summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-07-27 15:13:36 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-07-27 15:13:36 (GMT)
commit8225b1fd250bbd3d71a52ca514ae343a91dfcdc5 (patch)
treea91dde691bf66a3e79e57ac8058f0ab98348bc68 /generic/tcl.h
parentaf64c95042a9706c6d45118c8f341aafa5c26686 (diff)
parent192dc7dffdb4bd9d434e1f54830711df4fed4672 (diff)
downloadtcl-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.h9
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