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 /coreutils/dos2unix.c | |
parent | 84e7511607600c2c7b9e7c4087897d44cc4668c4 (diff) | |
download | busybox-6f347ef9dc540aaea025c0575e586817cd85cc8e.zip busybox-6f347ef9dc540aaea025c0575e586817cd85cc8e.tar.gz |
common BUFSIZ BSS buffer, small reduce code, data and bss
Diffstat (limited to 'coreutils/dos2unix.c')
-rw-r--r-- | coreutils/dos2unix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/coreutils/dos2unix.c b/coreutils/dos2unix.c index 0c419ac..0464df7 100644 --- a/coreutils/dos2unix.c +++ b/coreutils/dos2unix.c @@ -44,12 +44,13 @@ * to pick a random letter to add to out temporary file. */ typedef unsigned long int bb_uint64_t; +#define tempFn bb_common_bufsiz1 + /* if fn is NULL then input is stdin and output is stdout */ static int convert(char *fn, int ConvType) { int c, fd; struct timeval tv; - RESERVE_CONFIG_BUFFER(tempFn, BUFSIZ); static bb_uint64_t value=0; FILE *in, *out; |