FreeBSD Bugzilla – Attachment 30212 Details for
Bug 50984
[PATCH] port mail/exim bug fixes, support for db4.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.94 KB, created by
Oliver Eikemeier
on 2003-04-15 14:30:14 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Oliver Eikemeier
Created:
2003-04-15 14:30:14 UTC
Size:
2.94 KB
patch
obsolete
>diff -Nur exim/Makefile.orig exim/Makefile >--- exim/Makefile.orig Tue Apr 15 14:43:59 2003 >+++ exim/Makefile Tue Apr 15 14:55:21 2003 >@@ -7,7 +7,7 @@ > > PORTNAME= exim > PORTVERSION= ${EXIM_VERSION} >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= mail > MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/ \ > http://www.exim.org/ftp/exim4/ \ >diff -Nur exim/files/patch-src::auths::plaintext.c.orig exim/files/patch-src::auths::plaintext.c >--- exim/files/patch-src::auths::plaintext.c.orig Thu Jan 1 01:00:00 1970 >+++ exim/files/patch-src::auths::plaintext.c Wed Apr 9 20:44:05 2003 >@@ -0,0 +1,11 @@ >+--- src/auths/plaintext.c.orig Tue Apr 1 14:53:33 2003 >++++ src/auths/plaintext.c Tue Apr 1 14:53:40 2003 >+@@ -93,7 +93,7 @@ >+ if (Ustrcmp(data, "=") == 0) >+ { >+ expand_nstring[++expand_nmax] = US""; >+- expand_nstring[expand_nmax] = 0; >++ expand_nlength[expand_nmax] = 0; >+ } >+ else >+ { >diff -Nur exim/files/patch-src::auths::plantext.c.orig exim/files/patch-src::auths::plantext.c >--- exim/files/patch-src::auths::plantext.c.orig Wed Apr 9 20:44:05 2003 >+++ exim/files/patch-src::auths::plantext.c Thu Jan 1 01:00:00 1970 >@@ -1,11 +0,0 @@ >---- src/auths/plaintext.c.orig Tue Apr 1 14:53:33 2003 >-+++ src/auths/plaintext.c Tue Apr 1 14:53:40 2003 >-@@ -93,7 +93,7 @@ >- if (Ustrcmp(data, "=") == 0) >- { >- expand_nstring[++expand_nmax] = US""; >-- expand_nstring[expand_nmax] = 0; >-+ expand_nlength[expand_nmax] = 0; >- } >- else >- { >diff -Nur exim/files/patch-src::rewrite.c.orig exim/files/patch-src::rewrite.c >--- exim/files/patch-src::rewrite.c.orig Thu Jan 1 01:00:00 1970 >+++ exim/files/patch-src::rewrite.c Tue Apr 15 14:49:13 2003 >@@ -0,0 +1,11 @@ >+--- src/rewrite.c.orig Tue Mar 11 13:20:22 2003 >++++ src/rewrite.c Tue Apr 15 14:48:37 2003 >+@@ -261,7 +261,7 @@ >+ while (*p2 == ' ') p2++; >+ pf2 = parse_fix_phrase(p2, Ustrlen(p2), buff2, sizeof(buff2)); >+ >+- start = Ustrlen(buff1) + start + new - p1; >++ start = Ustrlen(pf1) + start + new - p1; >+ end = start + Ustrlen(newparsed); >+ new = string_sprintf("%s%.*s%s", pf1, p2 - p1, p1, pf2); >+ } >diff -Nur exim/files/patch-src::transports::appendfile.c.orig exim/files/patch-src::transports::appendfile.c >--- exim/files/patch-src::transports::appendfile.c.orig Thu Jan 1 01:00:00 1970 >+++ exim/files/patch-src::transports::appendfile.c Tue Apr 15 14:47:07 2003 >@@ -0,0 +1,13 @@ >+--- src/transports/appendfile.c.orig Tue Mar 11 13:20:23 2003 >++++ src/transports/appendfile.c Tue Apr 15 14:46:18 2003 >+@@ -702,7 +702,9 @@ >+ if (pcre_exec(regex, NULL, CS name, Ustrlen(name), 0, 0, ovector,6) >= 2) >+ { >+ int size; >+- Ustrncpy(buffer, name + ovector[2], ovector[3] - ovector[2]); >++ int n = ovector[3] - ovector[2]; >++ Ustrncpy(buffer, name + ovector[2], n); >++ buffer[n] = 0; >+ size = Uatoi(buffer); >+ sum += size; >+ DEBUG(D_transport) >--- exim-fixes.patch ends here ---
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 50984
:
30211
| 30212