diff options
author | Denis Vlasenko | 2007-04-08 10:52:28 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-04-08 10:52:28 +0000 |
commit | bbd695d8010ab453a5a89ba6d7ebfe1a96b87b7d (patch) | |
tree | 98df39594da2e7f1fbe560aec04eeb09426947f0 /coreutils | |
parent | ca3484103e6b99d0c433988f2f809840d780d88b (diff) | |
download | busybox-bbd695d8010ab453a5a89ba6d7ebfe1a96b87b7d.zip busybox-bbd695d8010ab453a5a89ba6d7ebfe1a96b87b7d.tar.gz |
find: fix handling of -prune
recursive_actions: uppercase flag constants
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/chown.c | 4 | ||||
-rw-r--r-- | coreutils/diff.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/chown.c b/coreutils/chown.c index 09b1a59..e64a39c 100644 --- a/coreutils/chown.c +++ b/coreutils/chown.c @@ -92,8 +92,8 @@ int chown_main(int argc, char **argv) } if (!recursive_action(arg, - (OPT_RECURSE ? action_recurse : 0 | /* recurse */ - OPT_TRAVERSE ? action_followLinks : 0),/* follow links if -L */ + (OPT_RECURSE ? ACTION_RECURSE : 0) | /* recurse */ + (OPT_TRAVERSE ? ACTION_FOLLOWLINKS : 0),/* follow links if -L */ fileAction, /* file action */ fileAction, /* dir action */ chown_func, /* user data */ diff --git a/coreutils/diff.c b/coreutils/diff.c index 7555718..09cacbd 100644 --- a/coreutils/diff.c +++ b/coreutils/diff.c @@ -1079,7 +1079,7 @@ static char **get_dir(char *path) * add_to_dirlist then removes root dir prefix. */ if (option_mask32 & FLAG_r) { - recursive_action(path, action_recurse|action_followLinks, + recursive_action(path, ACTION_RECURSE|ACTION_FOLLOWLINKS, add_to_dirlist, NULL, (void*)(strlen(path)+1), 0); } else { |