diff options
author | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-10-15 10:23:55 +0000 |
---|---|---|
committer | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-10-15 10:23:55 +0000 |
commit | 6f347ef9dc540aaea025c0575e586817cd85cc8e (patch) | |
tree | 5fc98f67e92bb2eca75d33940a4f8698bb216f3a /shell | |
parent | 84e7511607600c2c7b9e7c4087897d44cc4668c4 (diff) |
common BUFSIZ BSS buffer, small reduce code, data and bss
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c index 559238c3f..6edc48421 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); |