aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>1999-10-13 18:04:51 +0000
committerEric Andersen <andersen@codepoet.org>1999-10-13 18:04:51 +0000
commit21943ce6416215ff1a2df7b5008460bf9099f478 (patch)
treed76fc76602dbad14cd2c07d32e81efc56347488a
parentc6cb79dedfb1af4ce64e75cd1c0d3cc1bfa71225 (diff)
downloadbusybox-w32-21943ce6416215ff1a2df7b5008460bf9099f478.tar.gz
busybox-w32-21943ce6416215ff1a2df7b5008460bf9099f478.tar.bz2
busybox-w32-21943ce6416215ff1a2df7b5008460bf9099f478.zip
More fixes
-rw-r--r--Makefile5
-rw-r--r--more.c4
-rw-r--r--util-linux/more.c4
3 files changed, 8 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 86fc9f6a6..6c36b8fa4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,10 @@
1 1
2VERSION=0.29alpha1 2VERSION=0.29alpha1
3BUILDTIME=$(shell date "+%Y%m%d-%H%M") 3BUILDTIME=$(shell date "+%Y%m%d-%H%M")
4DODEBUG=true 4
5# Comment out the following to make a debuggable build
6# Leave this off for production use.
7#DODEBUG=true
5 8
6#This will choke on a non-debian system 9#This will choke on a non-debian system
7ARCH=`uname -m | sed -e 's/i.86/i386/' | sed -e 's/sparc.*/sparc/'` 10ARCH=`uname -m | sed -e 's/i.86/i386/' | sed -e 's/sparc.*/sparc/'`
diff --git a/more.c b/more.c
index f89387436..a56ce97d7 100644
--- a/more.c
+++ b/more.c
@@ -49,10 +49,10 @@ const char more_usage[] = "[file ...]";
49 49
50extern int more_main(int argc, char **argv) 50extern int more_main(int argc, char **argv)
51{ 51{
52 int c, lines=0, input; 52 int c, lines=0, input=0;
53 int next_page=0, rows = 24; 53 int next_page=0, rows = 24;
54#ifdef BB_MORE_TERM 54#ifdef BB_MORE_TERM
55 int cols; 55 int cols=79;
56 struct winsize win; 56 struct winsize win;
57#endif 57#endif
58 struct stat st; 58 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 ...]";
49 49
50extern int more_main(int argc, char **argv) 50extern int more_main(int argc, char **argv)
51{ 51{
52 int c, lines=0, input; 52 int c, lines=0, input=0;
53 int next_page=0, rows = 24; 53 int next_page=0, rows = 24;
54#ifdef BB_MORE_TERM 54#ifdef BB_MORE_TERM
55 int cols; 55 int cols=79;
56 struct winsize win; 56 struct winsize win;
57#endif 57#endif
58 struct stat st; 58 struct stat st;