aboutsummaryrefslogtreecommitdiff
path: root/coreutils/split.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-06-04 10:16:52 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-06-04 10:16:52 +0000
commit74324c86663f57a19c1de303ee8c8e5449db9ef2 (patch)
tree11f5da9de4212875ce5811be2e1050e076378c9a /coreutils/split.c
parent4e5f82c76f08614d0b69f9ec4a8baac303af15f6 (diff)
downloadbusybox-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 'coreutils/split.c')
-rw-r--r--coreutils/split.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/split.c b/coreutils/split.c
index 27f9cfdd6..7b4f8c2c0 100644
--- a/coreutils/split.c
+++ b/coreutils/split.c
@@ -49,7 +49,7 @@ static char *next_file(char *old, unsigned suffix_len)
49} 49}
50 50
51#define read_buffer bb_common_bufsiz1 51#define read_buffer bb_common_bufsiz1
52enum { READ_BUFFER_SIZE = sizeof(bb_common_bufsiz1) - 1 }; 52enum { READ_BUFFER_SIZE = COMMON_BUFSIZE - 1 };
53 53
54#define SPLIT_OPT_l (1<<0) 54#define SPLIT_OPT_l (1<<0)
55#define SPLIT_OPT_b (1<<1) 55#define SPLIT_OPT_b (1<<1)