1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/mail/pathalias/files/patch-aa
Steve Price cae685eaf0 Initial import of pathalias version 9.11.
PR:		5202
Submitted by:	Dirk Meyer <dirk.meyer@dinoex.sub.org>
1998-08-09 00:38:46 +00:00

15 lines
402 B
Plaintext

*** ./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;
}