From 6f347ef9dc540aaea025c0575e586817cd85cc8e Mon Sep 17 00:00:00 2001 From: "\"Vladimir N. Oleynik\"" Date: Sat, 15 Oct 2005 10:23:55 +0000 Subject: common BUFSIZ BSS buffer, small reduce code, data and bss --- coreutils/dos2unix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'coreutils/dos2unix.c') diff --git a/coreutils/dos2unix.c b/coreutils/dos2unix.c index 0c419aca7..0464df76f 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; -- cgit v1.2.3