From 4c978631096a97e1cd68dfe40a1583de537112c4 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 3 Feb 2007 03:31:13 +0000 Subject: assorted fixes for bugs found with randomconfig --- findutils/find.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'findutils/find.c') diff --git a/findutils/find.c b/findutils/find.c index 2decb36..d71af9c 100644 --- a/findutils/find.c +++ b/findutils/find.c @@ -316,12 +316,15 @@ static int find_type(const char *type) } #endif +#if ENABLE_FEATURE_FIND_PERM || ENABLE_FEATURE_FIND_MTIME \ + || ENABLE_FEATURE_FIND_MMIN static const char* plus_minus_num(const char* str) { if (*str == '-' || *str == '+') str++; return str; } +#endif static action*** parse_params(char **argv) { @@ -486,7 +489,7 @@ static action*** parse_params(char **argv) ap->subst_count[i] = count_subst(ap->exec_argv[i]); } #endif -#ifdef ENABLE_FEATURE_FIND_USER +#if ENABLE_FEATURE_FIND_USER else if (strcmp(arg, "-user") == 0) { action_user *ap; if (!*++argv) -- cgit v1.1