Patch: fix for bug 938
commit9ba7079735ed9f073296275c98d7a85b13cdb490
authorLaurent MONIN <zas@norz.org>
Sat, 3 Mar 2007 22:49:00 +0000 (3 23:49 +0100)
committerKalle Olavi Niemitalo <Kalle@Astalo.kon.iki.fi>
Sat, 9 Feb 2008 12:11:21 +0000 (9 14:11 +0200)
treee39f6799f9a6a265826d3d0643c1bb9d479b5c47
parentdf07b7839c6063ddf8c7f08853777b938d0a7a34
Patch: fix for bug 938

This patch prevents  handle_itrm_stdin() and clear_handlers(itrm->in.std) to be
called when -remote is set and in.std < 0.
It adds two assertions for in.std >= 0 in handle_itrm_stdin() and
unhandle_itrm_stdin().
May be a bad fix, please test and review.

[Added a NEWS entry.  --KON]
NEWS
src/terminal/kbd.c