diff options
author | Denis Vlasenko | 2006-09-09 12:49:03 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-09-09 12:49:03 +0000 |
commit | 0c45bb23d21f6b3b8a371043fac7403790d57b20 (patch) | |
tree | e3a3377f46d5ee1e57db3cb775ad78ae746dbb91 /libbb/recursive_action.c | |
parent | d5d614c5f48a9151a257df717b46b8a850c1428b (diff) | |
download | busybox-0c45bb23d21f6b3b8a371043fac7403790d57b20.zip busybox-0c45bb23d21f6b3b8a371043fac7403790d57b20.tar.gz |
tar: fix "xopen with O_CREAT" warning, improve zero padding write
(was doing zillions of 1-byte write syscalls)
Diffstat (limited to 'libbb/recursive_action.c')
-rw-r--r-- | libbb/recursive_action.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/libbb/recursive_action.c b/libbb/recursive_action.c index d491b78..28a4934 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; |