Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5c6a6a
)
Added 'S' to the itemized output for special files.
author
Wayne Davison
<wayned@samba.org>
Thu, 26 Jan 2006 10:39:01 +0000
(10:39 +0000)
committer
Wayne Davison
<wayned@samba.org>
Thu, 26 Jan 2006 10:39:01 +0000
(10:39 +0000)
log.c
patch
|
blob
|
blame
|
history
diff --git
a/log.c
b/log.c
index
d4cce69
..
8cf417c
100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-536,6
+536,7
@@
static void log_formatted(enum logcode code, char *format, char *op,
: !(iflags & ITEM_TRANSFER) ? '.'
: !local_server && *op == 's' ? '<' : '>';
n[1] = S_ISDIR(file->mode) ? 'd'
+ : IS_SPECIAL(file->mode) ? 'S'
: IS_DEVICE(file->mode) ? 'D'
: S_ISLNK(file->mode) ? 'L' : 'f';
n[2] = !(iflags & ITEM_REPORT_CHECKSUM) ? '.' : 'c';