summaryrefslogtreecommitdiff
path: root/flist.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2004-01-09 16:53:55 +0000
committerWayne Davison <wayned@samba.org>2004-01-09 16:53:55 +0000
commit0c42946536087bc2caa4d5d1fe4569c7c097c941 (patch)
treecf942da97eb510140dae053ce9e670ada6db8223 /flist.c
parentab264c9e7956499f6c3058c29ad2a5f037839d81 (diff)
downloadrsync-0c42946536087bc2caa4d5d1fe4569c7c097c941.tar.gz
Added an extra comment.
Diffstat (limited to 'flist.c')
-rw-r--r--flist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/flist.c b/flist.c
index 46079d96..f1b054f5 100644
--- 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)) {
- /* 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)