diff options
author | Steve Bennett <steveb@workware.net.au> | 2013-08-02 08:42:11 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2013-08-02 08:44:05 +1000 |
commit | a9fe2942a09523c248e64d080f8e3b38d3a34f19 (patch) | |
tree | 5be808a32bb42f3ec98cdfb6e8d8b647b462651d /tests/event.test | |
parent | 7c126ab08220024b7dfe293045e6ee4d0bb3ca95 (diff) | |
download | jimtcl-a9fe2942a09523c248e64d080f8e3b38d3a34f19.zip jimtcl-a9fe2942a09523c248e64d080f8e3b38d3a34f19.tar.gz jimtcl-a9fe2942a09523c248e64d080f8e3b38d3a34f19.tar.bz2 |
Correct file handler should be deleted
Previously, Jim_DeleteFileHandler() would indiscriminately
delete the first matching file handler in the list.
Instead, it should delete the file handler matching the event mask.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'tests/event.test')
-rw-r--r-- | tests/event.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/event.test b/tests/event.test index b460227..a969f4c 100644 --- a/tests/event.test +++ b/tests/event.test @@ -195,7 +195,7 @@ test event-13.1 "vwait/signal" signal { list [catch -signal { alarm 0.1 # This is just to prevent the vwait from exiting immediately - stdin readable { puts "stdin is readable" } + stdin readable { format test } vwait forever } msg] $msg } {5 SIGALRM} |