projects
/
dus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eca27b5
)
Do not ignore ./something when the -d option is on.
author
Francois Fleuret
<francois@fleuret.org>
Mon, 22 Mar 2010 07:57:29 +0000
(08:57 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Mon, 22 Mar 2010 07:57:29 +0000
(08:57 +0100)
dus.c
patch
|
blob
|
history
diff --git
a/dus.c
b/dus.c
index
08cd183
..
d4ca191
100644
(file)
--- a/
dus.c
+++ b/
dus.c
@@
-85,7
+85,7
@@
int ignore_entry(const char *name) {
return
strcmp(name, ".") == 0 ||
strcmp(name, "..") == 0 ||
- (ignore_dotfiles && name[0] == '.');
+ (ignore_dotfiles && name[0] == '.'
&& name[1] != '/'
);
}
size_sum_t entry_size(const char *name) {