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
acee1ad8
Commit
acee1ad8
authored
Sep 20, 2006
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Complain if a --remove-s*-files option is set and we can't remove
the source file.
parent
8f4ae68c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
sender.c
sender.c
+7
-2
No files found.
sender.c
View file @
acee1ad8
...
@@ -134,8 +134,13 @@ void successful_send(int ndx)
...
@@ -134,8 +134,13 @@ void successful_send(int ndx)
}
else
}
else
offset
=
0
;
offset
=
0
;
f_name
(
file
,
fname
+
offset
);
f_name
(
file
,
fname
+
offset
);
if
(
remove_source_files
&&
do_unlink
(
fname
)
==
0
&&
verbose
>
1
)
if
(
remove_source_files
)
{
rprintf
(
FINFO
,
"sender removed %s
\n
"
,
fname
+
offset
);
if
(
do_unlink
(
fname
)
==
0
)
{
if
(
verbose
>
1
)
rprintf
(
FINFO
,
"sender removed %s
\n
"
,
fname
+
offset
);
}
else
rsyserr
(
FERROR
,
errno
,
"sender failed to remove %s"
,
fname
+
offset
);
}
}
}
static
void
write_ndx_and_attrs
(
int
f_out
,
int
ndx
,
int
iflags
,
static
void
write_ndx_and_attrs
(
int
f_out
,
int
ndx
,
int
iflags
,
...
...
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