diff options
author | davygrvy <davygrvy@noemail.net> | 2005-04-14 07:09:34 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@noemail.net> | 2005-04-14 07:09:34 (GMT) |
commit | d44d08504a543aca5ca43907ba15f30732ef0dca (patch) | |
tree | 45f3edbd2ca5e0a925aa37e989cdde6b5976ea97 /tests/io.test | |
parent | e86583a9d88ef7ef8a79695c14233e29c31a1120 (diff) | |
download | tcl-d44d08504a543aca5ca43907ba15f30732ef0dca.zip tcl-d44d08504a543aca5ca43907ba15f30732ef0dca.tar.gz tcl-d44d08504a543aca5ca43907ba15f30732ef0dca.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].
FossilOrigin-Name: 74c27f43eb21c8b3eb87b015be0a8567bbd7619b
Diffstat (limited to 'tests/io.test')
-rw-r--r-- | tests/io.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/io.test b/tests/io.test index ce9fce1..50ba5c6 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.9 2005/01/27 22:53:34 andreas_kupries Exp $ +# RCS: @(#) $Id: io.test,v 1.40.2.10 2005/04/14 07:10:52 davygrvy Exp $ if {[catch {package require tcltest 2}]} { puts stderr "Skipping tests in [info script]. tcltest 2 required." @@ -4816,7 +4816,7 @@ test io-38.2 {Tcl_SetChannelBufferSize, Tcl_GetChannelBufferSize} { lappend l [fconfigure $f -buffersize] close $f set l -} {4096 10000 4096 4096 4096 100000 4096} +} {4096 10000 1 1 1 100000 100000} test io-38.3 {Tcl_SetChannelBufferSize, changing buffersize between reads} { # This test crashes the interp if Bug #427196 is not fixed |