mirror of
https://github.com/sheumann/hush.git
synced 2024-11-18 17:10:36 +00:00
More fixes
This commit is contained in:
parent
c6cb79dedf
commit
21943ce641
5
Makefile
5
Makefile
@ -1,7 +1,10 @@
|
|||||||
|
|
||||||
VERSION=0.29alpha1
|
VERSION=0.29alpha1
|
||||||
BUILDTIME=$(shell date "+%Y%m%d-%H%M")
|
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
|
#This will choke on a non-debian system
|
||||||
ARCH=`uname -m | sed -e 's/i.86/i386/' | sed -e 's/sparc.*/sparc/'`
|
ARCH=`uname -m | sed -e 's/i.86/i386/' | sed -e 's/sparc.*/sparc/'`
|
||||||
|
4
more.c
4
more.c
@ -49,10 +49,10 @@ const char more_usage[] = "[file ...]";
|
|||||||
|
|
||||||
extern int more_main(int argc, char **argv)
|
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;
|
int next_page=0, rows = 24;
|
||||||
#ifdef BB_MORE_TERM
|
#ifdef BB_MORE_TERM
|
||||||
int cols;
|
int cols=79;
|
||||||
struct winsize win;
|
struct winsize win;
|
||||||
#endif
|
#endif
|
||||||
struct stat st;
|
struct stat st;
|
||||||
|
@ -49,10 +49,10 @@ const char more_usage[] = "[file ...]";
|
|||||||
|
|
||||||
extern int more_main(int argc, char **argv)
|
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;
|
int next_page=0, rows = 24;
|
||||||
#ifdef BB_MORE_TERM
|
#ifdef BB_MORE_TERM
|
||||||
int cols;
|
int cols=79;
|
||||||
struct winsize win;
|
struct winsize win;
|
||||||
#endif
|
#endif
|
||||||
struct stat st;
|
struct stat st;
|
||||||
|
Loading…
Reference in New Issue
Block a user