1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00
freebsd-ports/net/rsync/files/ssh-patch-main.c
David E. O'Brien b66527ab46 rsync sometimes freezes during execution if it is run over ssh.
rsync turns on blocking I/O mode if remote shell command is rsh
(ie. matched RSYNC_RSH) to work around some broken rsh implementations
on other platforms.

The submitter of the rsh->ssh patches overloaded RSYNC_RSH for ssh.
That turns out to be a Wrong Thing.  This change implements the parallel
RSYNC_SSH.

PR:		26376
Submitted by:	adrian
2001-04-08 15:48:29 +00:00

6 lines
135 B
C

--- main.c.orig Tue Sep 5 19:46:43 2000
+++ main.c Sat Apr 7 23:32:25 2001
@@ -134 +134 @@
- cmd = RSYNC_RSH;
+ cmd = RSYNC_SSH;