diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-04 10:16:52 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-04 10:16:52 +0000 |
commit | 74324c86663f57a19c1de303ee8c8e5449db9ef2 (patch) | |
tree | 11f5da9de4212875ce5811be2e1050e076378c9a /libbb | |
parent | 4e5f82c76f08614d0b69f9ec4a8baac303af15f6 (diff) | |
download | busybox-w32-74324c86663f57a19c1de303ee8c8e5449db9ef2.tar.gz busybox-w32-74324c86663f57a19c1de303ee8c8e5449db9ef2.tar.bz2 busybox-w32-74324c86663f57a19c1de303ee8c8e5449db9ef2.zip |
Audit bb_common_bufsiz usage, add script which looks for misuse.
tr: stop using globals needlessly.
code: -103 bytes
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/messages.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/messages.c b/libbb/messages.c index 3febe7645..fbd882c43 100644 --- a/libbb/messages.c +++ b/libbb/messages.c | |||
@@ -54,7 +54,7 @@ WTMP_FILE; | |||
54 | # error unknown path to wtmp file | 54 | # error unknown path to wtmp file |
55 | #endif | 55 | #endif |
56 | 56 | ||
57 | char bb_common_bufsiz1[(BUFSIZ > 256*sizeof(void*) ? BUFSIZ : 256*sizeof(void*)) + 1]; | 57 | char bb_common_bufsiz1[COMMON_BUFSIZE]; |
58 | 58 | ||
59 | struct globals; | 59 | struct globals; |
60 | /* Make it reside in R/W memory: */ | 60 | /* Make it reside in R/W memory: */ |