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
c55f7021
Commit
c55f7021
authored
Jan 24, 2000
by
Andrew Tridgell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed a rare SEGV that can happen when a file disappears (due to
another program) during an update
parent
6957ae33
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
receiver.c
receiver.c
+5
-3
No files found.
receiver.c
View file @
c55f7021
...
...
@@ -254,10 +254,12 @@ static int receive_data(int f_in,struct map_struct *buf,int fd,char *fname,
rprintf
(
FINFO
,
"chunk[%d] of size %d at %.0f offset=%.0f
\n
"
,
i
,
len
,(
double
)
offset2
,(
double
)
offset
);
if
(
buf
)
{
map
=
map_ptr
(
buf
,
offset2
,
len
);
see_token
(
map
,
len
);
sum_update
(
map
,
len
);
}
if
(
fd
!=
-
1
&&
write_file
(
fd
,
map
,
len
)
!=
len
)
{
rprintf
(
FERROR
,
"write failed on %s : %s
\n
"
,
...
...
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