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
ea118be5
Commit
ea118be5
authored
Oct 28, 2007
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed setting of updating_basis value.
parent
6a85ee96
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
receiver.c
receiver.c
+1
-4
No files found.
receiver.c
View file @
ea118be5
...
...
@@ -364,8 +364,6 @@ int recv_files(int f_in, char *local_name)
if
(
delay_updates
)
delayed_bits
=
bitbag_create
(
cur_flist
->
used
+
1
);
updating_basis
=
inplace
;
while
(
1
)
{
cleanup_disable
();
...
...
@@ -498,7 +496,6 @@ int recv_files(int f_in, char *local_name)
fnamecmp
=
get_backup_name
(
fname
);
break
;
case
FNAMECMP_FUZZY
:
updating_basis
=
0
;
if
(
file
->
dirname
)
{
pathjoin
(
fnamecmpbuf
,
MAXPATHLEN
,
file
->
dirname
,
xname
);
...
...
@@ -507,7 +504,6 @@ int recv_files(int f_in, char *local_name)
fnamecmp
=
xname
;
break
;
default:
updating_basis
=
0
;
if
(
fnamecmp_type
>=
basis_dir_cnt
)
{
rprintf
(
FERROR
,
"invalid basis_dir index: %d.
\n
"
,
...
...
@@ -553,6 +549,7 @@ int recv_files(int f_in, char *local_name)
fd1
=
do_open
(
fnamecmp
,
O_RDONLY
,
0
);
}
}
updating_basis
=
inplace
&&
fnamecmp
==
fname
;
if
(
fd1
==
-
1
)
{
st
.
st_mode
=
0
;
...
...
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