summaryrefslogtreecommitdiff
path: root/mail/pathalias/files/patch-mapit.c
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2013-06-16 15:26:17 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2013-06-16 15:26:17 +0000
commitc6900c7694c1a53f46db7208709a43e1d29b79d4 (patch)
tree3a5e8824f0053c0f2c7ae8c7b2e4bb13e07c6d01 /mail/pathalias/files/patch-mapit.c
parentNew port: devel/kyua-atf-compat: (diff)
- rename patches
Diffstat (limited to 'mail/pathalias/files/patch-mapit.c')
-rw-r--r--mail/pathalias/files/patch-mapit.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/mail/pathalias/files/patch-mapit.c b/mail/pathalias/files/patch-mapit.c
new file mode 100644
index 000000000000..f5273eb04826
--- /dev/null
+++ b/mail/pathalias/files/patch-mapit.c
@@ -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;
+ }