aboutsummaryrefslogtreecommitdiff
path: root/coreutils/diff.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/diff.c')
-rw-r--r--coreutils/diff.c3
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;