diff options
Diffstat (limited to 'generic/tclIOUtil.c')
-rw-r--r-- | generic/tclIOUtil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c index 44849d1..efdb457 100644 --- a/generic/tclIOUtil.c +++ b/generic/tclIOUtil.c @@ -1803,7 +1803,7 @@ Tcl_FSEvalFileEx( * otherwise replace them [Bug 3466099]. */ if (Tcl_ReadChars(chan, objPtr, -1, - memcmp(string, "\xef\xbf\xbe", 3)) < 0) { + memcmp(string, "\xef\xbb\xbf", 3)) < 0) { Tcl_Close(interp, chan); Tcl_AppendResult(interp, "couldn't read file \"", Tcl_GetString(pathPtr), "\": ", Tcl_PosixError(interp), NULL); |