busybox/miscutils
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
..
2013-10-08 14:53:29 +02:00
2013-01-18 13:30:13 +01:00
2013-11-26 12:12:27 +01:00
2013-03-15 00:42:39 +01:00
2013-01-28 12:26:29 +01:00
2013-01-14 01:34:48 +01:00
2011-05-30 23:00:47 +02:00
2014-03-03 15:14:26 +01:00
2011-10-28 14:07:44 +02:00
2013-01-15 13:58:01 +01:00
2013-01-15 13:58:01 +01:00
2013-08-04 21:07:20 +02:00
2013-10-08 14:53:29 +02:00