summaryrefslogtreecommitdiffstats
path: root/tests/ioCmd.test
diff options
context:
space:
mode:
authordas <das@noemail.net>2003-02-19 16:43:25 (GMT)
committerdas <das@noemail.net>2003-02-19 16:43:25 (GMT)
commit64aaea05424b6217cd28c5dfefa27efc77f4bbb7 (patch)
tree6fe21a65fd94d4bd6843d30414e5e3041829cb32 /tests/ioCmd.test
parent491468d1d3cb76957f0025c356e995af98e9a4a7 (diff)
downloadtcl-64aaea05424b6217cd28c5dfefa27efc77f4bbb7.zip
tcl-64aaea05424b6217cd28c5dfefa27efc77f4bbb7.tar.gz
tcl-64aaea05424b6217cd28c5dfefa27efc77f4bbb7.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. FossilOrigin-Name: 80440365aca9cb27befccf00f7bbcb088c7f7352
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)