diff options
author | dgp <dgp@users.sourceforge.net> | 2014-05-31 02:40:00 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-05-31 02:40:00 (GMT) |
commit | 9b701fdae73c40aaff17354d1b5ec80aad5f6010 (patch) | |
tree | 8772939968bbf992cb7f11d20a0a235c7cd4c691 /tests/io.test | |
parent | 3dcb02dc073df91fefb0d11006f1e9e3af8b9b4e (diff) | |
parent | 1f197f004a8ea114fe3cd6d3c8ec925200584e1c (diff) | |
download | tcl-9b701fdae73c40aaff17354d1b5ec80aad5f6010.zip tcl-9b701fdae73c40aaff17354d1b5ec80aad5f6010.tar.gz tcl-9b701fdae73c40aaff17354d1b5ec80aad5f6010.tar.bz2 |
Correct the interest masks in the Tcl_CreateFileHandler() calls in PipeWatchProc(). When we are interested in both readable and writable events of a command pipeline channel, we only want the readable from the read end of the pipe, and the writable from the write end of the pipe.
Diffstat (limited to 'tests/io.test')
-rw-r--r-- | tests/io.test | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/io.test b/tests/io.test index 023af06..96ea14b 100644 --- a/tests/io.test +++ b/tests/io.test @@ -7144,17 +7144,12 @@ test io-53.4 {CopyData: background write overflow} {stdio unix openpipe fileeven for {set x 0} {$x < 12} {incr x} { append big $big } -# file delete $path(test1) file delete $path(pipe) set f1 [open $path(pipe) w] puts $f1 { puts ready fcopy stdin stdout -command { set x } vwait x -# set f [open $path(test1) w] -# fconfigure $f -translation lf -# puts $f "done" -# close $f } close $f1 set f1 [open "|[list [interpreter] $path(pipe)]" r+] @@ -7162,7 +7157,6 @@ test io-53.4 {CopyData: background write overflow} {stdio unix openpipe fileeven fconfigure $f1 -blocking 0 puts $f1 $big flush $f1 - after 500 set result "" fileevent $f1 read [namespace code { append result [read $f1 1024] |