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
051182cb
Commit
051182cb
authored
Feb 26, 2005
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set kluge_around_eof to a -1 for the receiver's needs.
parent
574c2500
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
main.c
main.c
+2
-2
No files found.
main.c
View file @
051182cb
...
...
@@ -35,7 +35,7 @@ extern int blocking_io;
extern
int
remove_sent_files
;
extern
int
daemon_over_rsh
;
extern
int
need_messages_from_generator
;
extern
int
klu
d
ge_around_eof
;
extern
int
kluge_around_eof
;
extern
int
do_stats
;
extern
int
log_got_error
;
extern
int
module_id
;
...
...
@@ -564,7 +564,7 @@ static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name)
* USR2 signal. If --delete-after was specified, we might get
* a keep-alive message over the socket, so handle that too. */
if
(
protocol_version
>=
29
)
{
klu
dge_around_eof
=
1
;
klu
ge_around_eof
=
-
1
;
while
(
read_int
(
f_in
)
==
flist
->
count
)
{
if
(
read_shortint
(
f_in
)
!=
ITEM_IS_NEW
)
break
;
/* Complain? */
...
...
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