- char *arg = *argv;
-
- if (OPT_TRAVERSE_TOP) {
- /* resolves symlink (even recursive) */
- arg = xmalloc_realpath(arg);
- if (!arg)
- continue;
- }
-
- if (!recursive_action(arg,
- OPT_RECURSE, // recurse
- OPT_TRAVERSE, // follow links if -L
- FALSE, // depth first
- fileAction, // file action
- fileAction, // dir action
- NULL, // user data
- 0) // depth
+ if (!recursive_action(*argv,
+ flags, /* flags */
+ fileAction, /* file action */
+ fileAction, /* dir action */
+ ¶m, /* user data */
+ 0) /* depth */