summaryrefslogtreecommitdiffstats
path: root/tests/ioCmd.test
diff options
context:
space:
mode:
authordas <das>2003-02-19 16:43:25 (GMT)
committerdas <das>2003-02-19 16:43:25 (GMT)
commitfb48f14fb28f2dd0b1633560091087d54f10dc1e (patch)
tree6fe21a65fd94d4bd6843d30414e5e3041829cb32 /tests/ioCmd.test
parent2f11046286a55314b942213dfb6f2fad4fdb837e (diff)
downloadtcl-fb48f14fb28f2dd0b1633560091087d54f10dc1e.zip
tcl-fb48f14fb28f2dd0b1633560091087d54f10dc1e.tar.gz
tcl-fb48f14fb28f2dd0b1633560091087d54f10dc1e.tar.bz2
* generic/tclStringObj.c: restored Tcl_SetObjLength() side-effect
of always invalidating unicode rep (if the obj has a string rep). Added hasUnicode flag to String struct, allows decoupling of validity of unicode rep from buffer size allocated to it (improves memory allocation efficiency). [Bugs #686782, #671138, #635200] * macosx/Tcl.pbproj/project.pbxproj: * macosx/Makefile: reworked embedded build to no longer require relinking but to use install_name_tool instead to change the install_names for embedded frameworks. * macosx/Tcl.pbproj/project.pbxproj: preserve mod dates when running 'make install' to build framework (avoids bogus rebuilds of dependent frameworks because tcl headers appear changed). * tests/ioCmd.test (iocmd-1.8): fix failure when system encoding is utf-8: use iso8859-1 encoding explicitly.
Diffstat (limited to 'tests/ioCmd.test')
-rw-r--r--tests/ioCmd.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ioCmd.test b/tests/ioCmd.test
index 807d4bb..9e721e7 100644
--- a/tests/ioCmd.test
+++ b/tests/ioCmd.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: ioCmd.test,v 1.15 2002/07/10 11:56:44 dgp Exp $
+# RCS: @(#) $Id: ioCmd.test,v 1.16 2003/02/19 16:43:30 das Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -56,7 +56,7 @@ test iocmd-1.7 {puts command} {
} 7
test iocmd-1.8 {puts command} {
set f [open $path(test1) w]
- fconfigure $f -translation lf -eofchar {}
+ fconfigure $f -translation lf -eofchar {} -encoding iso8859-1
puts -nonewline $f [binary format a4a5 foo bar]
close $f
file size $path(test1)