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 (from parent 1:
ab264c9
)
Added an extra comment.
author
Wayne Davison
<wayned@samba.org>
Fri, 9 Jan 2004 16:53:55 +0000
(16:53 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 9 Jan 2004 16:53:55 +0000
(16:53 +0000)
flist.c
patch
|
blob
|
blame
|
history
diff --git
a/flist.c
b/flist.c
index
46079d9
..
f1b054f
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-470,7
+470,8
@@
static void send_file_entry(struct file_struct *file, int f,
write_int(f, gid);
}
if (preserve_devices && IS_DEVICE(mode)) {
write_int(f, gid);
}
if (preserve_devices && IS_DEVICE(mode)) {
- /* If SAME_HIGH_RDEV is off, SAME_RDEV_pre28 is also off. */
+ /* If SAME_HIGH_RDEV is off, SAME_RDEV_pre28 is also off.
+ * Also, avoid using "rdev" because it may be incomplete. */
if (!(flags & SAME_HIGH_RDEV))
write_int(f, file->rdev);
else if (protocol_version >= 28)
if (!(flags & SAME_HIGH_RDEV))
write_int(f, file->rdev);
else if (protocol_version >= 28)