mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
51 lines
1013 B
Plaintext
51 lines
1013 B
Plaintext
|
*** slocal.c.orig Tue Nov 30 20:01:38 1993
|
|||
|
--- uip/slocal.c Fri Jul 1 13:09:36 1994
|
|||
|
***************
|
|||
|
*** 173,178 ****
|
|||
|
--- 173,180 ----
|
|||
|
NULL
|
|||
|
};
|
|||
|
|
|||
|
+ static char *rcvstore;
|
|||
|
+
|
|||
|
/* */
|
|||
|
|
|||
|
extern char **environ;
|
|||
|
***************
|
|||
|
*** 299,304 ****
|
|||
|
--- 301,308 ----
|
|||
|
|
|||
|
/* */
|
|||
|
|
|||
|
+ rcvstore = getcpy(libpath("rcvstore"));
|
|||
|
+
|
|||
|
if (addr == NULL)
|
|||
|
addr = getusr ();
|
|||
|
if (user == NULL)
|
|||
|
***************
|
|||
|
*** 543,549 ****
|
|||
|
--- 547,569 ----
|
|||
|
status = usr_pipe (fd, tmpbuf, "/bin/sh", vec + 2);
|
|||
|
break;
|
|||
|
|
|||
|
+ case '+':
|
|||
|
+ dofolder:
|
|||
|
+ if (*string == '+')
|
|||
|
+ strcpy(tmpbuf, string);
|
|||
|
+ else
|
|||
|
+ sprintf(tmpbuf, "+%s", string);
|
|||
|
+ vec[2] = "rcvstore";
|
|||
|
+ vec[3] = tmpbuf;
|
|||
|
+ vec[4] = NULL;
|
|||
|
+ if (verbose)
|
|||
|
+ printf("rcvstore %s", vec[3]);
|
|||
|
+ status = usr_pipe(fd, "rcvstore", rcvstore, vec + 2);
|
|||
|
+ break;
|
|||
|
+
|
|||
|
case 'f':
|
|||
|
+ if (uleq(action, "folder"))
|
|||
|
+ goto dofolder;
|
|||
|
if (!uleq (action, "file"))
|
|||
|
continue; /* else fall */
|
|||
|
case '>':
|