projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48294f6
)
(process_file): Remove useless disjunct.
author
Jim Meyering
<jim@meyering.net>
Fri, 19 Sep 2003 06:51:59 +0000
(06:51 +0000)
committer
Jim Meyering
<jim@meyering.net>
Fri, 19 Sep 2003 06:51:59 +0000
(06:51 +0000)
src/du.c
patch
|
blob
|
history
diff --git
a/src/du.c
b/src/du.c
index
ddcb13c
..
15b4461
100644
(file)
--- a/
src/du.c
+++ b/
src/du.c
@@
-461,9
+461,7
@@
process_file (const char *file, const struct stat *sb, int file_type,
if (!print)
return 0;
- /* FIXME: This looks suspiciously like it could be simplified. */
- if ((IS_FTW_DIR_TYPE (file_type) &&
- (info->level <= max_depth || info->level == 0))
+ if ((IS_FTW_DIR_TYPE (file_type) && info->level <= max_depth)
|| ((opt_all && info->level <= max_depth) || info->level == 0))
{
print_only_size (size_to_print);