summaryrefslogtreecommitdiffstats
path: root/tests/iogt.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-05-01 16:33:39 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-05-01 16:33:39 (GMT)
commit8e5e88f4dbbd30500ce43e26c083e19cd44c217b (patch)
tree4aac92dc41c8a340a4fe4cb06ddf02b7f7b01cfe /tests/iogt.test
parentd3c1978e070d0b1a990192e884cde57de81c43cb (diff)
downloadtcl-8e5e88f4dbbd30500ce43e26c083e19cd44c217b.zip
tcl-8e5e88f4dbbd30500ce43e26c083e19cd44c217b.tar.gz
tcl-8e5e88f4dbbd30500ce43e26c083e19cd44c217b.tar.bz2
Stop the segfault in iogt-2.4. First by changing the UpdateInterest()
call that triggers it. "downChanPtr" may no longer be the right argument at that point. Second, after ending the segfault, the test became an infinite loop (nested unstacking?! whoa.), so revised the test to one that terminates (and passes). Left behind a comment that the recursive unstacking case may require more examination.
Diffstat (limited to 'tests/iogt.test')
-rw-r--r--tests/iogt.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/iogt.test b/tests/iogt.test
index bd3c67b..ded8bb9 100644
--- a/tests/iogt.test
+++ b/tests/iogt.test
@@ -228,7 +228,7 @@ proc id_torture {chan op data} {
delete/read -
clear_read {;#ignore}
flush/write -
- flush/read -
+ flush/read {}
write -
read {
testchannel unstack $chan