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
ee297522
Commit
ee297522
authored
Nov 27, 2004
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for multiple --*-dest options.
parent
e012f858
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
receiver.c
receiver.c
+5
-4
No files found.
receiver.c
View file @
ee297522
...
@@ -39,7 +39,7 @@ extern int cvs_exclude;
...
@@ -39,7 +39,7 @@ extern int cvs_exclude;
extern
int
io_error
;
extern
int
io_error
;
extern
char
*
tmpdir
;
extern
char
*
tmpdir
;
extern
char
*
partial_dir
;
extern
char
*
partial_dir
;
extern
char
*
compare_dest
;
extern
char
*
basis_dir
[]
;
extern
int
make_backups
;
extern
int
make_backups
;
extern
int
do_progress
;
extern
int
do_progress
;
extern
char
*
backup_dir
;
extern
char
*
backup_dir
;
...
@@ -439,7 +439,8 @@ int recv_files(int f_in, struct file_list *flist, char *local_name,
...
@@ -439,7 +439,8 @@ int recv_files(int f_in, struct file_list *flist, char *local_name,
partialptr
=
partial_dir
?
partial_dir_fname
(
fname
)
:
fname
;
partialptr
=
partial_dir
?
partial_dir_fname
(
fname
)
:
fname
;
if
(
f_in_name
>=
0
)
{
if
(
f_in_name
>=
0
)
{
switch
(
read_byte
(
f_in_name
))
{
uchar
j
;
switch
(
j
=
read_byte
(
f_in_name
))
{
case
FNAMECMP_FNAME
:
case
FNAMECMP_FNAME
:
fnamecmp
=
fname
;
fnamecmp
=
fname
;
break
;
break
;
...
@@ -449,10 +450,10 @@ int recv_files(int f_in, struct file_list *flist, char *local_name,
...
@@ -449,10 +450,10 @@ int recv_files(int f_in, struct file_list *flist, char *local_name,
case
FNAMECMP_BACKUP
:
case
FNAMECMP_BACKUP
:
fnamecmp
=
get_backup_name
(
fname
);
fnamecmp
=
get_backup_name
(
fname
);
break
;
break
;
case
FNAMECMP_
CMPDEST
:
case
FNAMECMP_
BASIS_DIR
:
default:
default:
pathjoin
(
fnamecmpbuf
,
sizeof
fnamecmpbuf
,
pathjoin
(
fnamecmpbuf
,
sizeof
fnamecmpbuf
,
compare_dest
,
fname
);
basis_dir
[
j
]
,
fname
);
fnamecmp
=
fnamecmpbuf
;
fnamecmp
=
fnamecmpbuf
;
break
;
break
;
}
}
...
...
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