mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(process_file): Always reset size_to_propagate_to_parent for
--separate-dirs (-S).
This commit is contained in:
1 parent
23e52c28fb
commit
12508c923f
1 file changed
+3
-2
@@ -426,11 +426,12 @@ process_file (const char *file, const struct stat *sb, int file_type,
|
||||
assert ((size_t) info->level == prev_level - 1);
|
||||
size_to_propagate_to_parent = size_including_subdirs
|
||||
= size + sum[prev_level];
|
||||
if (opt_separate_dirs)
|
||||
size_to_propagate_to_parent = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if (opt_separate_dirs)
|
||||
size_to_propagate_to_parent = 0;
|
||||
|
||||
prev_level = info->level;
|
||||
first_call = 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user