diff options
| author | vodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-10-15 10:23:55 +0000 |
|---|---|---|
| committer | vodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-10-15 10:23:55 +0000 |
| commit | 247a3694036baa952f6dee076b04b7a58ca7df59 (patch) | |
| tree | 5fc98f67e92bb2eca75d33940a4f8698bb216f3a /shell | |
| parent | 1b47ba10db00a05de229d503090f5f36a1de552b (diff) | |
| download | busybox-w32-247a3694036baa952f6dee076b04b7a58ca7df59.tar.gz busybox-w32-247a3694036baa952f6dee076b04b7a58ca7df59.tar.bz2 busybox-w32-247a3694036baa952f6dee076b04b7a58ca7df59.zip | |
common BUFSIZ BSS buffer, small reduce code, data and bss
git-svn-id: svn://busybox.net/trunk/busybox@11867 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 { | |||
| 568 | }; | 568 | }; |
| 569 | 569 | ||
| 570 | static struct parsefile basepf; /* top level input file */ | 570 | static struct parsefile basepf; /* top level input file */ |
| 571 | static char basebuf[IBUFSIZ]; /* buffer for top level input file */ | 571 | #define basebuf bb_common_bufsiz1 /* buffer for top level input file */ |
| 572 | static struct parsefile *parsefile = &basepf; /* current input file */ | 572 | static struct parsefile *parsefile = &basepf; /* current input file */ |
| 573 | 573 | ||
| 574 | 574 | ||
| @@ -5939,7 +5939,6 @@ varunset(const char *end, const char *var, const char *umsg, int varflags) | |||
| 5939 | */ | 5939 | */ |
| 5940 | 5940 | ||
| 5941 | #define EOF_NLEFT -99 /* value of parsenleft when EOF pushed back */ | 5941 | #define EOF_NLEFT -99 /* value of parsenleft when EOF pushed back */ |
| 5942 | #define IBUFSIZ (BUFSIZ + 1) | ||
| 5943 | 5942 | ||
| 5944 | static void pushfile(void); | 5943 | static void pushfile(void); |
| 5945 | 5944 | ||
