less: switch off nonblock on kbd_fd before exit
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 13 Sep 2016 19:05:48 +0000 (21:05 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 13 Sep 2016 19:05:48 +0000 (21:05 +0200)
commit7fa799a97d381902ab27556918722a6e2d138b9e
tree6caca4a32217c396cd0b78ab994b3ec4f42d96bb
parent3c0e579a06c3f1d428d3642fc46beb4b635e5e6d
less: switch off nonblock on kbd_fd before exit

This is only necessary if we use stdout fd.

function                                             old     new   delta
less_exit                                             32      51     +19
less_main                                           2540    2543      +3
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 22/0)               Total: 22 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/less.c