From e384bfbdcb9c871e0d67f60238eff57d0f08b2b3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 24 Jun 2000 13:19:25 +0000 Subject: [PATCH] if the remote shell is rsh then use blocking IO --- main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.c b/main.c index 2f422e28..6a4d1031 100644 --- a/main.c +++ b/main.c @@ -112,6 +112,7 @@ static int do_cmd(char *cmd,char *machine,char *user,char *path,int *f_in,int *f char *tok,*dir=NULL; extern int local_server; extern char *rsync_path; + extern int blocking_io; if (!local_server) { if (!cmd) @@ -144,6 +145,9 @@ static int do_cmd(char *cmd,char *machine,char *user,char *path,int *f_in,int *f args[argc++] = rsync_path; server_options(args,&argc); + + + if (strcmp(cmd, RSYNC_RSH) == 0) blocking_io = 1; } args[argc++] = "."; -- 2.34.1