Displaying 1 result from an estimated 1 matches for "eraseflag".
2001 May 12
4
Erase the source file open; specify a tempfile name option
...progress meter calculations). */
 int getttywidth(void);
+
 int do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout, int argc);
 /* Struct for addargs */
@@ -206,9 +207,11 @@
 uid_t userid;
 int errs, remin, remout;
 int pflag, iamremote, iamrecursive, targetshouldbedirectory;
+int eraseflag;
+char *tmpfn = "";
-#define	CMDNEEDS	64
-char cmd[CMDNEEDS];		/* must hold "rcp -r -p -d\0" */
+char *cmd;
+int cmdlen;
 int response(void);
 void rsource(char *, struct stat *);
@@ -236,7 +239,7 @@
 	addargs(&args, "-oFallBackToRsh no");
 	fflag = tflag = 0;
-...