diff options
author | Denis Vlasenko | 2008-03-17 08:38:45 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-03-17 08:38:45 +0000 |
commit | 107fe7c081c2e0ab96628b431d9d812cdf9c82b2 (patch) | |
tree | 653d231e2dc06c990044882dffb445c726dad791 /e2fsprogs/old_e2fsprogs/e2p/uuid.c | |
parent | aefed941c26aade36c5b51c8ef5ea6f740cc0e5d (diff) | |
download | busybox-107fe7c081c2e0ab96628b431d9d812cdf9c82b2.zip busybox-107fe7c081c2e0ab96628b431d9d812cdf9c82b2.tar.gz |
less: improve search when data is not supplied fast enough by stdin -
now will try reading for 1-2 seconds before declaring that there is no match.
This fixes a very common annoyance with long manpages.
function old new delta
read_lines 653 719 +66
buffer_down 28 83 +55
goto_match 140 141 +1
cap_cur_fline 72 - -72
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 3/0 up/down: 122/-72) Total: 50 bytes
text data bss dec hex filename
798734 661 7428 806823 c4fa7 busybox_old
798768 661 7428 806857 c4fc9 busybox_unstripped
Diffstat (limited to 'e2fsprogs/old_e2fsprogs/e2p/uuid.c')
0 files changed, 0 insertions, 0 deletions