git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbe5eeb
)
Don't add st_size from a device to stats.total_size.
author
Wayne Davison
<wayned@samba.org>
Fri, 25 Feb 2005 20:28:27 +0000
(20:28 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 25 Feb 2005 20:28:27 +0000
(20:28 +0000)
flist.c
patch
|
blob
|
history
diff --git
a/flist.c
b/flist.c
index 05b53f6e30d7ab996d540062a72685a07f151f9f..110c304242c33ee25ba989792b78d0175bad9a18 100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-963,7
+963,7
@@
skip_filters:
file->mode = save_mode;
}
- if (
!S_ISDIR
(st.st_mode))
+ if (
S_ISREG(st.st_mode) || S_ISLNK
(st.st_mode))
stats.total_size += st.st_size;
return file;