Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
handle things more grecefully when one machine supports hard links and
[rsync/rsync.git]
/
flist.c
diff --git
a/flist.c
b/flist.c
index
8a99500
..
0cb8214
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-203,7
+203,6
@@
void receive_file_entry_v11(struct file_struct *file,
if (preserve_devices && IS_DEVICE(file->mode))
file->rdev = (flags & SAME_RDEV) ? last_rdev : (dev_t)read_int(f);
if (preserve_devices && IS_DEVICE(file->mode))
file->rdev = (flags & SAME_RDEV) ? last_rdev : (dev_t)read_int(f);
-#if SUPPORT_LINKS
if (preserve_links && S_ISLNK(file->mode)) {
int l = read_int(f);
file->link = (char *)malloc(l+1);
if (preserve_links && S_ISLNK(file->mode)) {
int l = read_int(f);
file->link = (char *)malloc(l+1);
@@
-211,7
+210,6
@@
void receive_file_entry_v11(struct file_struct *file,
read_buf(f,file->link,l);
file->link[l] = 0;
}
read_buf(f,file->link,l);
file->link[l] = 0;
}
-#endif
#if SUPPORT_HARD_LINKS
if (preserve_hard_links && S_ISREG(file->mode)) {
#if SUPPORT_HARD_LINKS
if (preserve_hard_links && S_ISREG(file->mode)) {