Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
ee39281d
Commit
ee39281d
authored
Mar 11, 2008
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed the 'T' itemized output for a symlink the right way this time.
parent
0607c307
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
generator.c
generator.c
+1
-2
rsync.c
rsync.c
+1
-2
No files found.
generator.c
View file @
ee39281d
...
...
@@ -27,7 +27,6 @@ extern int dry_run;
extern
int
do_xfers
;
extern
int
stdout_format_has_i
;
extern
int
logfile_format_has_i
;
extern
int
receiver_symlink_times
;
extern
int
am_root
;
extern
int
am_server
;
extern
int
am_daemon
;
...
...
@@ -2081,7 +2080,7 @@ void generate_files(int f_out, const char *local_name)
need_retouch_dir_times
=
preserve_times
>
1
;
lull_mod
=
allowed_lull
*
5
;
symlink_timeset_failed_flags
=
ITEM_REPORT_TIME
|
(
receiver_symlink_times
?
ITEM_REPORT_TIMEFAIL
:
0
);
|
(
protocol_version
>=
30
||
!
am_server
?
ITEM_REPORT_TIMEFAIL
:
0
);
if
(
verbose
>
2
)
rprintf
(
FINFO
,
"generator starting pid=%ld
\n
"
,
(
long
)
getpid
());
...
...
rsync.c
View file @
ee39281d
...
...
@@ -41,7 +41,6 @@ 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
;
...
...
@@ -400,7 +399,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
if
(
receiver_symlink_times
)
else
file
->
flags
|=
FLAG_TIME_FAILED
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment