Date: Sun, 16 Jun 2013 15:26:17 +0000 (UTC) From: Dirk Meyer <dinoex@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321054 - head/mail/pathalias/files Message-ID: <201306161526.r5GFQHZI071125@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dinoex Date: Sun Jun 16 15:26:17 2013 New Revision: 321054 URL: http://svnweb.freebsd.org/changeset/ports/321054 Log: - rename patches Added: head/mail/pathalias/files/patch-mapit.c - copied unchanged from r321053, head/mail/pathalias/files/patch-aa head/mail/pathalias/files/patch-printit.c - copied unchanged from r321053, head/mail/pathalias/files/patch-ab Deleted: head/mail/pathalias/files/patch-aa head/mail/pathalias/files/patch-ab Copied: head/mail/pathalias/files/patch-mapit.c (from r321053, head/mail/pathalias/files/patch-aa) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/pathalias/files/patch-mapit.c Sun Jun 16 15:26:17 2013 (r321054, copy of r321053, head/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; + } Copied: head/mail/pathalias/files/patch-printit.c (from r321053, head/mail/pathalias/files/patch-ab) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/pathalias/files/patch-printit.c Sun Jun 16 15:26:17 2013 (r321054, copy of r321053, head/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()
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306161526.r5GFQHZI071125>