diff options
author | davygrvy <davygrvy@pobox.com> | 2005-04-14 07:09:34 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@pobox.com> | 2005-04-14 07:09:34 (GMT) |
commit | 0e5bed34d7e56bcee072a35346363b5f474bc178 (patch) | |
tree | 45f3edbd2ca5e0a925aa37e989cdde6b5976ea97 /tests/iogt.test | |
parent | 864004153d677fa4995a053ea87c11a6c1b6e2ea (diff) | |
download | tcl-0e5bed34d7e56bcee072a35346363b5f474bc178.zip tcl-0e5bed34d7e56bcee072a35346363b5f474bc178.tar.gz tcl-0e5bed34d7e56bcee072a35346363b5f474bc178.tar.bz2 |
* generic/tclIO.c (Tcl_SetChannelBufferSize): Lowest size limit
* tests/io.test: changed from ten bytes to one byte. Need
* tests/iogt.test: for this change was proven by
Ross Cartlidge <rossc@cisco.com> where [read stdin 1] was grabbing
10 bytes followed by starting a child process that was intended to
continue reading from stdin. Even with -buffersize set to one,
nine chars were getting lost by the buffersize over reading for
the native read() caused by [read].
Diffstat (limited to 'tests/iogt.test')
-rw-r--r-- | tests/iogt.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/iogt.test b/tests/iogt.test index 2494b91..f64b49a 100644 --- a/tests/iogt.test +++ b/tests/iogt.test @@ -10,7 +10,7 @@ # Copyright (c) 2000 Andreas Kupries. # All rights reserved. # -# RCS: @(#) $Id: iogt.test,v 1.7 2002/07/04 15:46:55 andreas_kupries Exp $ +# RCS: @(#) $Id: iogt.test,v 1.7.2.1 2005/04/14 07:10:57 davygrvy Exp $ if {[catch {package require tcltest 2.1}]} { puts stderr "Skipping tests in [info script]. tcltest 2.1 required." @@ -498,7 +498,7 @@ test iogt-2.1 {basic I/O, operation trail} {testchannel unixOnly} { audit_ops aout -attach $fout fconfigure $fin -buffersize 10 - fconfigure $fout -buffersize 5 + fconfigure $fout -buffersize 10 fcopy $fin $fout @@ -548,7 +548,7 @@ test iogt-2.2 {basic I/O, data trail} {testchannel unixOnly} { audit_flow aout -attach $fout fconfigure $fin -buffersize 10 - fconfigure $fout -buffersize 5 + fconfigure $fout -buffersize 10 fcopy $fin $fout |