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
fe960187
Commit
fe960187
authored
Feb 20, 2005
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If we update the contents of a symlink and --remove-sent-files
is enabled, tell the sender about it via MSG_SUCCESS.
parent
07c6ae7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
generator.c
generator.c
+6
-0
No files found.
generator.c
View file @
fe960187
...
...
@@ -42,6 +42,7 @@ extern int preserve_gid;
extern
int
preserve_times
;
extern
int
omit_dir_times
;
extern
int
delete_during
;
extern
int
remove_sent_files
;
extern
int
update_only
;
extern
int
opt_ignore_existing
;
extern
int
inplace
;
...
...
@@ -555,6 +556,11 @@ static void recv_generator(char *fname, struct file_list *flist,
rprintf
(
code
,
"%s -> %s
\n
"
,
safe_fname
(
fname
),
safe_fname
(
file
->
u
.
link
));
}
if
(
remove_sent_files
&&
!
dry_run
)
{
char
numbuf
[
4
];
SIVAL
(
numbuf
,
0
,
ndx
);
send_msg
(
MSG_SUCCESS
,
numbuf
,
4
);
}
}
#endif
return
;
...
...
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