aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-09-09 12:49:03 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-09-09 12:49:03 +0000
commit0c45bb23d21f6b3b8a371043fac7403790d57b20 (patch)
treee3a3377f46d5ee1e57db3cb775ad78ae746dbb91 /libbb
parentd5d614c5f48a9151a257df717b46b8a850c1428b (diff)
downloadbusybox-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')
-rw-r--r--libbb/recursive_action.c12
1 files changed, 4 insertions, 8 deletions
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;