From 6f347ef9dc540aaea025c0575e586817cd85cc8e Mon Sep 17 00:00:00 2001 From: "Vladimir N. Oleynik" Date: Sat, 15 Oct 2005 10:23:55 +0000 Subject: common BUFSIZ BSS buffer, small reduce code, data and bss --- shell/ash.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'shell/ash.c') diff --git a/shell/ash.c b/shell/ash.c index 559238c..6edc484 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -568,7 +568,7 @@ struct parsefile { }; static struct parsefile basepf; /* top level input file */ -static char basebuf[IBUFSIZ]; /* buffer for top level input file */ +#define basebuf bb_common_bufsiz1 /* buffer for top level input file */ static struct parsefile *parsefile = &basepf; /* current input file */ @@ -5939,7 +5939,6 @@ varunset(const char *end, const char *var, const char *umsg, int varflags) */ #define EOF_NLEFT -99 /* value of parsenleft when EOF pushed back */ -#define IBUFSIZ (BUFSIZ + 1) static void pushfile(void); -- cgit v1.1