- fold recurse, depthFirst and dereference params into one param flags.

Minor size improvement (-16b for size, -24b according to bloat-o-meter).
This commit is contained in:
Bernhard Reutner-Fischer
2007-03-29 10:30:50 +00:00
parent 3d43edb28c
commit 3e816c1252
11 changed files with 50 additions and 55 deletions

View File

@@ -138,9 +138,7 @@ int run_parts_main(int argc, char **argv)
G.cmd[tmp] = arg_list->data;
/* G.cmd[tmp] = NULL; - G is already zeroed out */
if (!recursive_action(argv[argc - 1],
TRUE, /* recurse */
TRUE, /* follow links */
FALSE, /* depth first */
action_recurse|action_followLinks,
act, /* file action */
act, /* dir action */
NULL, /* user data */