aboutsummaryrefslogtreecommitdiff
path: root/coreutils/dos2unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/dos2unix.c')
-rw-r--r--coreutils/dos2unix.c3
1 files changed, 2 insertions, 1 deletions
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 @@
44 * to pick a random letter to add to out temporary file. */ 44 * to pick a random letter to add to out temporary file. */
45typedef unsigned long int bb_uint64_t; 45typedef unsigned long int bb_uint64_t;
46 46
47#define tempFn bb_common_bufsiz1
48
47/* if fn is NULL then input is stdin and output is stdout */ 49/* if fn is NULL then input is stdin and output is stdout */
48static int convert(char *fn, int ConvType) 50static int convert(char *fn, int ConvType)
49{ 51{
50 int c, fd; 52 int c, fd;
51 struct timeval tv; 53 struct timeval tv;
52 RESERVE_CONFIG_BUFFER(tempFn, BUFSIZ);
53 static bb_uint64_t value=0; 54 static bb_uint64_t value=0;
54 FILE *in, *out; 55 FILE *in, *out;
55 56