diff options
author | Jim Meyering <jim@meyering.net> | 1994-10-20 16:16:39 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1994-10-20 16:16:39 +0000 |
commit | 154bd660bbc3bfdde9f4bb43d1942375e8bb324f (patch) | |
tree | 42b1dd0158a22cd99ff532c65282f149be108c3e /src | |
parent | adeff820d3380fd5d80599a3962cd13a9269d1d1 (diff) | |
download | coreutils-154bd660bbc3bfdde9f4bb43d1942375e8bb324f.tar.xz |
merge with 3.9p
Diffstat (limited to 'src')
-rw-r--r-- | src/du.c | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -491,10 +491,14 @@ count_entry (ent, top, last_dev) } else if (opt_all || top) { - printf ("%ld\t%s\n", output_size == size_bytes ? size - : convert_blocks (size, output_size == size_kilobytes), - path->text); - fflush (stdout); + int print_only_dir_size = 1; + if (!print_only_dir_size) + { + printf ("%ld\t%s\n", output_size == size_bytes ? size + : convert_blocks (size, output_size == size_kilobytes), + path->text); + fflush (stdout); + } } return size; |