summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--tests/io.test3
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a461743..87a1f79 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
*** 8.4.7 TAGGED FOR RELEASE ***
+ * tests/io.test (io-61.1): create file in binary mode for x-plat.
+
2004-07-25 Pat Thoyts <patthoyts@users.sourceforge.net>
* generic/tclThreadAlloc.c: Moved the tclInt.h include to provide
diff --git a/tests/io.test b/tests/io.test
index 242b949..a529e61 100644
--- a/tests/io.test
+++ b/tests/io.test
@@ -12,7 +12,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: io.test,v 1.40.2.5 2004/07/23 16:00:58 dgp Exp $
+# RCS: @(#) $Id: io.test,v 1.40.2.6 2004/07/26 21:39:42 hobbs Exp $
if {[catch {package require tcltest 2}]} {
puts stderr "Skipping tests in [info script]. tcltest 2 required."
@@ -7111,6 +7111,7 @@ test io-60.1 {writing illegal utf sequences} {openpipe fileevent} {
test io-61.1 {Reset eof state after changing the eof char} -setup {
set datafile [makeFile {} eofchar]
set f [open $datafile w]
+ fconfigure $f -translation binary
puts -nonewline $f [string repeat "Ho hum\n" 11]
puts $f =
set line [string repeat "Ge gla " 4]