hush/include
Denys Vlasenko d6e7672545 less: move "retry-on-EAGAIN" logic closer to read ops
This makes "G" (goto end of input) command work as well as
/search_for_nonexistent_string: both will read to EOF now
even from somewhat slow input (such as kernel's "git log").

function                                             old     new   delta
ndelay_on                                             35      43      +8
ndelay_off                                            35      43      +8
read_lines                                           695     691      -4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 16/-4)              Total: 12 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2014-09-22 21:14:02 +02:00
..
2011-03-06 19:54:15 +01:00
2013-07-30 11:52:58 +02:00
2010-10-28 18:57:19 +02:00
2013-01-15 13:58:01 +01:00
2013-07-30 11:52:58 +02:00
2013-01-15 13:58:01 +01:00
2010-10-29 11:46:52 +02:00
2013-01-15 13:58:01 +01:00