diff options
author | Eric Andersen <andersen@codepoet.org> | 1999-10-13 18:04:51 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 1999-10-13 18:04:51 +0000 |
commit | 21943ce6416215ff1a2df7b5008460bf9099f478 (patch) | |
tree | d76fc76602dbad14cd2c07d32e81efc56347488a | |
parent | c6cb79dedfb1af4ce64e75cd1c0d3cc1bfa71225 (diff) |
More fixes
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | more.c | 4 | ||||
-rw-r--r-- | util-linux/more.c | 4 |
3 files changed, 8 insertions, 5 deletions
@@ -1,7 +1,10 @@ VERSION=0.29alpha1 BUILDTIME=$(shell date "+%Y%m%d-%H%M") -DODEBUG=true + +# Comment out the following to make a debuggable build +# Leave this off for production use. +#DODEBUG=true #This will choke on a non-debian system ARCH=`uname -m | sed -e 's/i.86/i386/' | sed -e 's/sparc.*/sparc/'` @@ -49,10 +49,10 @@ const char more_usage[] = "[file ...]"; extern int more_main(int argc, char **argv) { - int c, lines=0, input; + int c, lines=0, input=0; int next_page=0, rows = 24; #ifdef BB_MORE_TERM - int cols; + int cols=79; struct winsize win; #endif struct stat st; diff --git a/util-linux/more.c b/util-linux/more.c index f89387436..a56ce97d7 100644 --- a/util-linux/more.c +++ b/util-linux/more.c @@ -49,10 +49,10 @@ const char more_usage[] = "[file ...]"; extern int more_main(int argc, char **argv) { - int c, lines=0, input; + int c, lines=0, input=0; int next_page=0, rows = 24; #ifdef BB_MORE_TERM - int cols; + int cols=79; struct winsize win; #endif struct stat st; |