diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-03-29 10:30:50 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-03-29 10:30:50 +0000 |
commit | 3e816c1252cc55e3763f946622129d31ea1f0f20 (patch) | |
tree | 5031fd816b1df09eaa897530a37ce814bba95011 /coreutils/diff.c | |
parent | 3d43edb28c80ee9cb54335f593d42d5d0471e15a (diff) | |
download | busybox-w32-3e816c1252cc55e3763f946622129d31ea1f0f20.tar.gz busybox-w32-3e816c1252cc55e3763f946622129d31ea1f0f20.tar.bz2 busybox-w32-3e816c1252cc55e3763f946622129d31ea1f0f20.zip |
- fold recurse, depthFirst and dereference params into one param flags.
Minor size improvement (-16b for size, -24b according to bloat-o-meter).
Diffstat (limited to 'coreutils/diff.c')
-rw-r--r-- | coreutils/diff.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/coreutils/diff.c b/coreutils/diff.c index 911bfcf4d..1903bb151 100644 --- a/coreutils/diff.c +++ b/coreutils/diff.c | |||
@@ -1079,7 +1079,8 @@ static char **get_dir(char *path) | |||
1079 | * add_to_dirlist then removes root dir prefix. */ | 1079 | * add_to_dirlist then removes root dir prefix. */ |
1080 | 1080 | ||
1081 | if (option_mask32 & FLAG_r) { | 1081 | if (option_mask32 & FLAG_r) { |
1082 | recursive_action(path, TRUE, TRUE, FALSE, add_to_dirlist, NULL, | 1082 | recursive_action(path, action_recurse|action_followLinks, |
1083 | add_to_dirlist, NULL, | ||
1083 | (void*)(strlen(path)+1), 0); | 1084 | (void*)(strlen(path)+1), 0); |
1084 | } else { | 1085 | } else { |
1085 | DIR *dp; | 1086 | DIR *dp; |