aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
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
commit6f347ef9dc540aaea025c0575e586817cd85cc8e (patch)
tree5fc98f67e92bb2eca75d33940a4f8698bb216f3a /shell
parent84e7511607600c2c7b9e7c4087897d44cc4668c4 (diff)
downloadbusybox-w32-6f347ef9dc540aaea025c0575e586817cd85cc8e.tar.gz
busybox-w32-6f347ef9dc540aaea025c0575e586817cd85cc8e.tar.bz2
busybox-w32-6f347ef9dc540aaea025c0575e586817cd85cc8e.zip
common BUFSIZ BSS buffer, small reduce code, data and bss
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c3
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
570static struct parsefile basepf; /* top level input file */ 570static struct parsefile basepf; /* top level input file */
571static char basebuf[IBUFSIZ]; /* buffer for top level input file */ 571#define basebuf bb_common_bufsiz1 /* buffer for top level input file */
572static struct parsefile *parsefile = &basepf; /* current input file */ 572static 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
5944static void pushfile(void); 5943static void pushfile(void);
5945 5944