From c6900c7694c1a53f46db7208709a43e1d29b79d4 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Sun, 16 Jun 2013 15:26:17 +0000 Subject: - rename patches --- mail/pathalias/files/patch-aa | 14 -------------- mail/pathalias/files/patch-ab | 23 ----------------------- mail/pathalias/files/patch-mapit.c | 14 ++++++++++++++ mail/pathalias/files/patch-printit.c | 23 +++++++++++++++++++++++ 4 files changed, 37 insertions(+), 37 deletions(-) delete mode 100644 mail/pathalias/files/patch-aa delete mode 100644 mail/pathalias/files/patch-ab create mode 100644 mail/pathalias/files/patch-mapit.c create mode 100644 mail/pathalias/files/patch-printit.c (limited to 'mail/pathalias') diff --git a/mail/pathalias/files/patch-aa b/mail/pathalias/files/patch-aa deleted file mode 100644 index f5273eb04826..000000000000 --- a/mail/pathalias/files/patch-aa +++ /dev/null @@ -1,14 +0,0 @@ -*** ./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 deleted file mode 100644 index a531d8e4c164..000000000000 --- a/mail/pathalias/files/patch-ab +++ /dev/null @@ -1,23 +0,0 @@ -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() 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; + } diff --git a/mail/pathalias/files/patch-printit.c b/mail/pathalias/files/patch-printit.c new file mode 100644 index 000000000000..a531d8e4c164 --- /dev/null +++ b/mail/pathalias/files/patch-printit.c @@ -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() -- cgit v1.2.3