summaryrefslogtreecommitdiffstats
path: root/call/yapp.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2015-06-10 09:38:38 +0200
committerRalf Baechle <ralf@linux-mips.org>2015-06-10 09:43:51 +0200
commit03f6d2aaec860d89e3d6280fa31dd03ed6a8f435 (patch)
treef78cfa4db944971f66e668caa6dc0c15d44825eb /call/yapp.c
parentf079af0c0f59f00c79808cca931425e848d43efa (diff)
Call: Handle select(2) returning EINTR.
This may happen when call is running in curses mode, and the terminal window is resized which results in a SIGWINCH sent. Ncurses as normally configured on Linux distributions will have installed a handler. If as it is the most likely case, the select call will be interrupted by the signal, select will return EINTR and call will exit. Note that this doesn't mean it's now a good idea to resize the window. Call will still not handle the screen size change properly and the output will look ugly and missformatted. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'call/yapp.c')
0 files changed, 0 insertions, 0 deletions