summaryrefslogtreecommitdiff
path: root/mail/mh/files/patch-ac
diff options
context:
space:
mode:
authorPaul Traina <pst@FreeBSD.org>1994-10-04 23:32:54 +0000
committerPaul Traina <pst@FreeBSD.org>1994-10-04 23:32:54 +0000
commit47ed59f7d12eda197b1a83bd4c996aa9ad28ff79 (patch)
tree4eba445d32be2f92f62ebb07b229d07ff599d7b7 /mail/mh/files/patch-ac
parentAdd an install prefix for packages, so that they're built by default (diff)
MH 6.8.3 port
Notes
Notes: svn path=/head/; revision=177
Diffstat (limited to 'mail/mh/files/patch-ac')
-rw-r--r--mail/mh/files/patch-ac50
1 files changed, 50 insertions, 0 deletions
diff --git a/mail/mh/files/patch-ac b/mail/mh/files/patch-ac
new file mode 100644
index 000000000000..65730405c162
--- /dev/null
+++ b/mail/mh/files/patch-ac
@@ -0,0 +1,50 @@
+*** 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 '>':