From 0c45bb23d21f6b3b8a371043fac7403790d57b20 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 9 Sep 2006 12:49:03 +0000 Subject: tar: fix "xopen with O_CREAT" warning, improve zero padding write (was doing zillions of 1-byte write syscalls) --- libbb/recursive_action.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'libbb/recursive_action.c') diff --git a/libbb/recursive_action.c b/libbb/recursive_action.c index d491b781b..28a493403 100644 --- a/libbb/recursive_action.c +++ b/libbb/recursive_action.c @@ -23,14 +23,10 @@ * is so stinking huge. */ int recursive_action(const char *fileName, - int recurse, int followLinks, int depthFirst, - int (*fileAction) (const char *fileName, - struct stat * statbuf, - void* userData), - int (*dirAction) (const char *fileName, - struct stat * statbuf, - void* userData), - void* userData) + int recurse, int followLinks, int depthFirst, + int (*fileAction) (const char *fileName, struct stat * statbuf, void* userData), + int (*dirAction) (const char *fileName, struct stat * statbuf, void* userData), + void* userData) { int status; struct stat statbuf; -- cgit v1.2.3