diff options
author | "Vladimir N. Oleynik" | 2005-10-15 10:23:55 +0000 |
---|---|---|
committer | "Vladimir N. Oleynik" | 2005-10-15 10:23:55 +0000 |
commit | 6f347ef9dc540aaea025c0575e586817cd85cc8e (patch) | |
tree | 5fc98f67e92bb2eca75d33940a4f8698bb216f3a /shell | |
parent | 84e7511607600c2c7b9e7c4087897d44cc4668c4 (diff) | |
download | busybox-6f347ef9dc540aaea025c0575e586817cd85cc8e.zip busybox-6f347ef9dc540aaea025c0575e586817cd85cc8e.tar.gz |
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 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); |