diff options
author | itojun <itojun> | 2000-08-18 12:06:12 +0000 |
---|---|---|
committer | itojun <itojun> | 2000-08-18 12:06:12 +0000 |
commit | 67fdc9f3794fcb10aa2550ae92ea6e44aa9812b9 (patch) | |
tree | f60a2c6b8bffb25ba21dd444dc619a66383f34a1 /mail/sendmail | |
parent | 3d104adf13f8e72ebb244d10f823f8c8236e55c3 (diff) | |
download | pkgsrc-67fdc9f3794fcb10aa2550ae92ea6e44aa9812b9.tar.gz |
add fix to WIDE patch. from motonori@wide.ad.jp
Diffstat (limited to 'mail/sendmail')
-rw-r--r-- | mail/sendmail/files/patch-sum | 3 | ||||
-rw-r--r-- | mail/sendmail/patches/patch-af | 27 |
2 files changed, 29 insertions, 1 deletions
diff --git a/mail/sendmail/files/patch-sum b/mail/sendmail/files/patch-sum index 135ac20b451..5b92a5c4804 100644 --- a/mail/sendmail/files/patch-sum +++ b/mail/sendmail/files/patch-sum @@ -1,7 +1,8 @@ -$NetBSD: patch-sum,v 1.9 2000/07/31 18:11:07 tron Exp $ +$NetBSD: patch-sum,v 1.10 2000/08/18 12:06:12 itojun Exp $ MD5 (patch-aa) = 8b9fcec3b4f82a30c7a167c32a00841f MD5 (patch-ab) = df740f28896a0851159e3e7a7fcfdb5a MD5 (patch-ac) = 6afb53121cfd919c8cb8a37bea3b90f9 MD5 (patch-ad) = 309d090ecd1b4588f87153e9f240d9bd MD5 (patch-ae) = 9cb440411904551b9ceff30cc53b96d8 +MD5 (patch-af) = 30a5ad964e21c30e9fde79a8182b7e1f diff --git a/mail/sendmail/patches/patch-af b/mail/sendmail/patches/patch-af new file mode 100644 index 00000000000..b4eb451b25e --- /dev/null +++ b/mail/sendmail/patches/patch-af @@ -0,0 +1,27 @@ +$NetBSD: patch-af,v 1.1 2000/08/18 12:06:12 itojun Exp $ +a bugfix for WIDE patch, in email address simplifier + +*** sendmail/recipient.c- Sun Jul 30 03:27:17 2000 +--- sendmail/recipient.c Fri Aug 18 20:54:17 2000 +*************** +*** 47,52 **** +--- 47,54 ---- + { + int c = *p++; + ++ if (isspace(c) || c == '<' || c == '>') ++ continue; + if (isascii(c) && isupper(c)) + c = tolower(c); + hfunc = ((hfunc << 1) ^ c) % HASH_SIZE; +*************** +*** 568,573 **** +--- 570,577 ---- + { + int c = *p++; + ++ if (isspace(c) || c == '<' || c == '>') ++ continue; + if (isascii(c) && isupper(c)) + c = tolower(c); + hfunc = ((hfunc << 1) ^ c) % HASH_SIZE; |