* keyboard.c (tty_read_avail_input): Don't treat a -1 return from
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 27 Mar 2009 16:14:23 +0000 (16:14 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 27 Mar 2009 16:14:23 +0000 (16:14 +0000)
commitd347e4943a371d278f479db89d932f136d6ee659
tree547f6c4557fb62a0135c1193e2019d6d73255294
parentd696b0d53f982b231b26124f180a92a0e7935c06
* keyboard.c (tty_read_avail_input): Don't treat a -1 return from
Gpm_GetEvent as an error that justifies closing the filedescriptor.
* term.c (close_gpm): Get the filedescriptor as a (new) parameter.
(Fgpm_mouse_stop): Pass that new parameter.
* termhooks.h (close_gpm): Adjust prototype.
src/ChangeLog
src/keyboard.c
src/term.c
src/termhooks.h