Displaying 2 results from an estimated 2 matches for "kludge_around_eof".
2001 Aug 22
1
@RSYNC EXIT / @RSYNC EOF
...1.69
diff -u -p -r1.69 clientserver.c
--- clientserver.c 15 Aug 2001 06:44:44 -0000 1.69
+++ clientserver.c 22 Aug 2001 04:15:12 -0000
@@ -44,7 +44,8 @@ int start_socket_client(char *host, char
extern int am_sender;
extern struct in_addr socket_address;
extern char *shell_cmd;
-
+ extern int kludge_around_eof;
+
if (argc == 0 && !am_sender) {
extern int list_only;
list_only = 1;
@@ -107,6 +108,10 @@ int start_socket_client(char *host, char
if (p) *p = '/';
while (1) {
+ /* Old servers may just drop the connection here,
+ rather than sending a proper EXIT command. Yuc...
2002 Feb 18
1
fixes for bugs in error handling in rsync-2.5.2; and updates for rsync3.txt
...n 1.84
diff -c -r1.84 clientserver.c
*** clientserver.c 9 Feb 2002 03:30:22 -0000 1.84
--- clientserver.c 18 Feb 2002 00:39:34 -0000
***************
*** 43,48 ****
--- 43,49 ----
extern int remote_version;
extern int am_sender;
extern char *shell_cmd;
+ extern int list_only;
extern int kludge_around_eof;
extern char *bind_address;
extern int default_af_hint;
***************
*** 113,119 ****
/* Old servers may just drop the connection here,
rather than sending a proper EXIT command. Yuck. */
! kludge_around_eof = remote_version < 25;
while (1) {
if (!read_line(fd, lin...