Displaying 1 result from an estimated 1 matches for "the_cmd".
Did you mean:
se_cmd
2004 Oct 13
0
[Bug 1924] New: unable to rsync between a PC with cygwin and a unix machine using rsh
...nt i, argc = 0;
char *args[100];
pid_t ret;
char *tok, *dir = NULL;
int dash_l_set = 0;
/* Start ofc PFC patched section
to handle the of the whole command under cygwin rsh
----------------------------------------------------
*/
char *other_args[100] ;
int other_argc = 0 ;
char the_cmd[1024] ;
/* End of PFC patched section */
if (!read_batch && !local_server) {
char *rsh_env = getenv(RSYNC_RSH_ENV);
if (!cmd)
cmd = rsh_env;
if (!cmd)
cmd = RSYNC_RSH;
cmd = strdup(cmd);
if (!cmd)
goto oom;
for (tok = strtok(cmd, " "); tok; tok = s...