Displaying 1 result from an estimated 1 matches for "rscpcmd".
2004 Aug 31
1
[PATCH] supporting a remote scp path option in scp
...This is used to store the pid of ssh_program */
pid_t do_cmd_pid = -1;
@@ -198,8 +201,8 @@
int errs, remin, remout;
int pflag, iamremote, iamrecursive, targetshouldbedirectory;
-#define CMDNEEDS 64
-char cmd[CMDNEEDS]; /* must hold "rcp -r -p -d\0" */
+char *rscpcmd; /* must hold scp_remote_program + "-r -p -d\0" */
+
int response(void);
void rsource(char *, struct stat *);
@@ -212,12 +215,13 @@
int
main(int argc, char **argv)
{
- int ch, fflag, tflag, status;
+ int ch, fflag, tflag, status, rscpcmdlen;
double spee...