summaryrefslogtreecommitdiff
path: root/findutils/find.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-12-26 18:17:42 +0000
committerDenis Vlasenko2006-12-26 18:17:42 +0000
commit666da5e2c6edec979966d16771818b32dcfafe04 (patch)
treec23e6a01fc51d8419c1562f70836148c705ac46a /findutils/find.c
parent270c17c0e66ffe9fe0e47e891a583b5c6f8512ef (diff)
downloadbusybox-666da5e2c6edec979966d16771818b32dcfafe04.zip
busybox-666da5e2c6edec979966d16771818b32dcfafe04.tar.gz
merge post-1.3.0 fixes
Diffstat (limited to 'findutils/find.c')
-rw-r--r--findutils/find.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/findutils/find.c b/findutils/find.c
index fffa3cd..2f94d13 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -76,6 +76,7 @@ static action ***actions;
static int need_print = 1;
+#if ENABLE_FEATURE_FIND_EXEC
static int count_subst(const char *str)
{
int count = 0;
@@ -103,6 +104,7 @@ static char* subst(const char *src, int count, const char* filename)
strcpy(dst, src);
return buf;
}
+#endif
static int exec_actions(action ***appp, const char *fileName, struct stat *statbuf)
@@ -556,8 +558,8 @@ int find_main(int argc, char **argv)
argp[0] = "-a";
}
argp++;
- }
#endif
+ }
actions = parse_params(&argv[firstopt]);