summaryrefslogtreecommitdiff
path: root/mail/pathalias/files
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-08-09 00:38:46 +0000
committerSteve Price <steve@FreeBSD.org>1998-08-09 00:38:46 +0000
commitcae685eaf036d6c3ee4b14ad2bd5dc540a5da162 (patch)
treeb5409473205c0eec6ee2ea3378a8503424871c1a /mail/pathalias/files
parentTurn on pgpmoose. (diff)
Initial import of pathalias version 9.11.
PR: 5202 Submitted by: Dirk Meyer <dirk.meyer@dinoex.sub.org>
Notes
Notes: svn path=/head/; revision=12355
Diffstat (limited to 'mail/pathalias/files')
-rw-r--r--mail/pathalias/files/patch-aa14
-rw-r--r--mail/pathalias/files/patch-ab23
2 files changed, 37 insertions, 0 deletions
diff --git a/mail/pathalias/files/patch-aa b/mail/pathalias/files/patch-aa
new file mode 100644
index 000000000000..f5273eb04826
--- /dev/null
+++ b/mail/pathalias/files/patch-aa
@@ -0,0 +1,14 @@
+*** ./mapit.c Sat Jun 9 12:32:18 1990
+--- ../../m/mapit.c Thu Feb 10 07:00:02 1994
+***************
+*** 298,303 ****
+--- 298,306 ----
+ || (NETDIR(l) == LRIGHT && (prev->n_flag & HASLEFT)))
+ cost += INF; /* mixed syntax */
+ }
++ /* Dirk meyer 10.02.94 */
++ if ( cost < 0 ) /* Overflow, more than 31 bit */
++ cost = INF; /* Limit, to avoid recursive paths */
+
+ return cost;
+ }
diff --git a/mail/pathalias/files/patch-ab b/mail/pathalias/files/patch-ab
new file mode 100644
index 000000000000..a531d8e4c164
--- /dev/null
+++ b/mail/pathalias/files/patch-ab
@@ -0,0 +1,23 @@
+diff -c ./printit.c ../../m/printit.c
+*** ./printit.c Sat Jun 9 12:32:26 1990
+--- ../../m/printit.c Thu Feb 10 07:08:42 1994
+***************
+*** 27,33 ****
+ STATIC int printable();
+
+ /* in practice, even the longest paths are < 100 bytes */
+! #define PATHSIZE 512
+
+ void
+ printit()
+--- 27,36 ----
+ STATIC int printable();
+
+ /* in practice, even the longest paths are < 100 bytes */
+! /* Dirk meyer 10.02.94 */
+! /* in reality we have reached paths up to 200 bytes */
+! /* the path must fit two times in the buffer */
+! #define PATHSIZE 4096
+
+ void
+ printit()