summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-29 22:35:27 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-29 22:35:27 (GMT)
commit761897c234e411b8ede7cad7cd97826eeaae9850 (patch)
tree24d210b443eb8490c24363a3fafb1987ee4ab084 /generic/tclIOUtil.c
parenta1416a6c397598835f3c599368c200d6e5402223 (diff)
downloadtcl-761897c234e411b8ede7cad7cd97826eeaae9850.zip
tcl-761897c234e411b8ede7cad7cd97826eeaae9850.tar.gz
tcl-761897c234e411b8ede7cad7cd97826eeaae9850.tar.bz2
oops, that's no utf-8 BOM ;-(
Diffstat (limited to 'generic/tclIOUtil.c')
-rw-r--r--generic/tclIOUtil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c
index 5a8d022..da0eb46 100644
--- a/generic/tclIOUtil.c
+++ b/generic/tclIOUtil.c
@@ -1770,7 +1770,7 @@ Tcl_FSEvalFile(interp, pathPtr)
* 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);