diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-03-29 10:30:50 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-03-29 10:30:50 +0000 |
commit | 8924a9f2bb3ad3f3eb6e814ab0304bf7874ad47e (patch) | |
tree | 5031fd816b1df09eaa897530a37ce814bba95011 /coreutils/diff.c | |
parent | bb59a35c64bcee0dea8f8fb8bed44660af4bcaf2 (diff) | |
download | busybox-w32-8924a9f2bb3ad3f3eb6e814ab0304bf7874ad47e.tar.gz busybox-w32-8924a9f2bb3ad3f3eb6e814ab0304bf7874ad47e.tar.bz2 busybox-w32-8924a9f2bb3ad3f3eb6e814ab0304bf7874ad47e.zip |
- fold recurse, depthFirst and dereference params into one param flags.
Minor size improvement (-16b for size, -24b according to bloat-o-meter).
git-svn-id: svn://busybox.net/trunk/busybox@18271 69ca8d6d-28ef-0310-b511-8ec308f3f277
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; |