diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-05-31 21:31:56 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-05-31 21:31:56 +0000 |
commit | 2c31c731f0026b9f92dc0e07542fb8e38cad7dd2 (patch) | |
tree | 0f4c197180854003f7e169adbb0d0c056cc6f8b0 /miscutils | |
parent | 5a0772ad0b877d851856a7954de650d1db92eb5d (diff) | |
download | busybox-w32-2c31c731f0026b9f92dc0e07542fb8e38cad7dd2.tar.gz busybox-w32-2c31c731f0026b9f92dc0e07542fb8e38cad7dd2.tar.bz2 busybox-w32-2c31c731f0026b9f92dc0e07542fb8e38cad7dd2.zip |
more: stop using bss
# make && make bloatcheck
function old new delta
gotsig 86 107 +21
more_main 777 781 +4
cin_fileno 4 - -4
set_tty_to_initial_mode 25 - -25
new_settings 120 60 -60
initial_settings 120 60 -60
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 2/2 up/down: 25/-149) Total: -124 bytes
git-svn-id: svn://busybox.net/trunk/busybox@18715 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/less.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/miscutils/less.c b/miscutils/less.c index 58c1ec217..d5301bf58 100644 --- a/miscutils/less.c +++ b/miscutils/less.c | |||
@@ -209,6 +209,8 @@ static void fill_match_lines(unsigned pos); | |||
209 | * Has to deal with EOF and EPIPE on input, | 209 | * Has to deal with EOF and EPIPE on input, |
210 | * with line wrapping, with last line not ending in '\n' | 210 | * with line wrapping, with last line not ending in '\n' |
211 | * (possibly not ending YET!), with backspace and tabs. | 211 | * (possibly not ending YET!), with backspace and tabs. |
212 | * It reads input again if last time we got an EOF (thus supporting | ||
213 | * growing files) or EPIPE (watching output of slow process like make). | ||
212 | * | 214 | * |
213 | * Variables used: | 215 | * Variables used: |
214 | * flines[] - array of lines already read. Linewrap may cause | 216 | * flines[] - array of lines already read. Linewrap may cause |