summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-04 11:02:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-04 11:02:32 (GMT)
commitcb5c9f4f89b6e7242ba07f84e278d35f202d7edd (patch)
tree96dc9dce0760840b34674d123d10a5d14ff148a7 /generic/tclIOUtil.c
parenteacedab36179d8cd74e4c302cd1614dea9d38c34 (diff)
parentc47a86166324a3e2efe9359c431bb93f7519847c (diff)
downloadtcl-cb5c9f4f89b6e7242ba07f84e278d35f202d7edd.zip
tcl-cb5c9f4f89b6e7242ba07f84e278d35f202d7edd.tar.gz
tcl-cb5c9f4f89b6e7242ba07f84e278d35f202d7edd.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclIOUtil.c')
-rw-r--r--generic/tclIOUtil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c
index 4cd2c6d..2fc439f 100644
--- a/generic/tclIOUtil.c
+++ b/generic/tclIOUtil.c
@@ -1757,7 +1757,7 @@ Tcl_FSEvalFileEx(
*/
if (Tcl_ReadChars(chan, objPtr, -1,
- memcmp(string, "\xef\xbb\xbf", 3)) == TCL_IO_FAILURE) {
+ memcmp(string, "\xEF\xBB\xBF", 3)) == TCL_IO_FAILURE) {
Tcl_CloseEx(interp, chan, 0);
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"couldn't read file \"%s\": %s",
@@ -1894,7 +1894,7 @@ TclNREvalFile(
*/
if (Tcl_ReadChars(chan, objPtr, -1,
- memcmp(string, "\xef\xbb\xbf", 3)) == TCL_IO_FAILURE) {
+ memcmp(string, "\xEF\xBB\xBF", 3)) == TCL_IO_FAILURE) {
Tcl_CloseEx(interp, chan, 0);
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"couldn't read file \"%s\": %s",