diff options
author | dgp <dgp@users.sourceforge.net> | 2014-05-01 16:33:39 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-05-01 16:33:39 (GMT) |
commit | b18161555e63f857014d2306adcb9fbcad3c6144 (patch) | |
tree | 4aac92dc41c8a340a4fe4cb06ddf02b7f7b01cfe /tests/iogt.test | |
parent | 7526dfb7b5a0389d1442df96f1cfb2b7173649ed (diff) | |
download | tcl-b18161555e63f857014d2306adcb9fbcad3c6144.zip tcl-b18161555e63f857014d2306adcb9fbcad3c6144.tar.gz tcl-b18161555e63f857014d2306adcb9fbcad3c6144.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.test | 2 |
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 |