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:
1ed56a0
)
Only set FLAG_TIME_FAILED if receiver_symlink_times is set.
author
Wayne Davison
<wayned@samba.org>
Tue, 19 Feb 2008 00:48:04 +0000
(16:48 -0800)
committer
Wayne Davison
<wayned@samba.org>
Tue, 19 Feb 2008 00:48:04 +0000
(16:48 -0800)
rsync.c
patch
|
blob
|
blame
|
history
diff --git
a/rsync.c
b/rsync.c
index
b0042f7
..
6a5f5df
100644
(file)
--- a/
rsync.c
+++ b/
rsync.c
@@
-41,6
+41,7
@@
extern int am_generator;
extern int am_starting_up;
extern int allow_8bit_chars;
extern int protocol_version;
+extern int receiver_symlink_times;
extern int uid_ndx;
extern int gid_ndx;
extern int inc_recurse;
@@
-399,7
+400,7
@@
int set_file_attrs(const char *fname, struct file_struct *file, stat_x *sxp,
}
if (ret == 0) /* ret == 1 if symlink could not be set */
updated = 1;
- else
+ else
if (receiver_symlink_times)
file->flags |= FLAG_TIME_FAILED;
}