diff options
author | hobbs <hobbs> | 2004-07-26 21:39:40 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2004-07-26 21:39:40 (GMT) |
commit | dd3a15f77204f9835c4d1e9aae10aa21b9e0d4ca (patch) | |
tree | cdd647484af0d27d8d2ff4eb2deab8bbbc70808b | |
parent | 35fff5c7b6a7b36c6bac13cc62965fb3b671910e (diff) | |
download | tcl-dd3a15f77204f9835c4d1e9aae10aa21b9e0d4ca.zip tcl-dd3a15f77204f9835c4d1e9aae10aa21b9e0d4ca.tar.gz tcl-dd3a15f77204f9835c4d1e9aae10aa21b9e0d4ca.tar.bz2 |
(io-61.1): create file in binary mode for x-platcore_8_4_7
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | tests/io.test | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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] |