From 666da5e2c6edec979966d16771818b32dcfafe04 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 26 Dec 2006 18:17:42 +0000 Subject: merge post-1.3.0 fixes --- findutils/find.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'findutils') diff --git a/findutils/find.c b/findutils/find.c index fffa3cd5c..2f94d13e7 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]); -- cgit v1.2.3