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
01103e18
Commit
01103e18
authored
Feb 10, 2008
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make do_recv() reset copy_unsafe_links too (just like it does for
copy_links and copy_dirlinks).
parent
2d8f9b1d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
main.c
main.c
+2
-1
No files found.
main.c
View file @
01103e18
...
@@ -45,6 +45,7 @@ extern int got_xfer_error;
...
@@ -45,6 +45,7 @@ extern int got_xfer_error;
extern
int
module_id
;
extern
int
module_id
;
extern
int
copy_links
;
extern
int
copy_links
;
extern
int
copy_dirlinks
;
extern
int
copy_dirlinks
;
extern
int
copy_unsafe_links
;
extern
int
keep_dirlinks
;
extern
int
keep_dirlinks
;
extern
int
preserve_hard_links
;
extern
int
preserve_hard_links
;
extern
int
protocol_version
;
extern
int
protocol_version
;
...
@@ -759,7 +760,7 @@ static int do_recv(int f_in, int f_out, char *local_name)
...
@@ -759,7 +760,7 @@ static int do_recv(int f_in, int f_out, char *local_name)
/* The receiving side mustn't obey this, or an existing symlink that
/* The receiving side mustn't obey this, or an existing symlink that
* points to an identical file won't be replaced by the referent. */
* points to an identical file won't be replaced by the referent. */
copy_links
=
copy_dirlinks
=
0
;
copy_links
=
copy_dirlinks
=
copy_unsafe_links
=
0
;
#ifdef SUPPORT_HARD_LINKS
#ifdef SUPPORT_HARD_LINKS
if
(
preserve_hard_links
&&
!
inc_recurse
)
if
(
preserve_hard_links
&&
!
inc_recurse
)
...
...
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