diff options
author | kim <kim@pkgsrc.org> | 1999-03-08 20:48:28 +0000 |
---|---|---|
committer | kim <kim@pkgsrc.org> | 1999-03-08 20:48:28 +0000 |
commit | b932d3dc6d5355da70f72ef282ad7847a0714c8c (patch) | |
tree | 500f6cb4f11f4dec7cc4d147526d9a4f8824c576 /mail/nmh/patches | |
parent | 940cb8878fe7c7615bca6d5f9c1e7bdd0a0dfb06 (diff) | |
download | pkgsrc-b932d3dc6d5355da70f72ef282ad7847a0714c8c.tar.gz |
Fix a long-standing annoyance where MH (and nmh) insists that parts of
type message/* should be encoded in 7bit only. Modern mailers send
error reports encoded in 8bit as well. I see no harm in simply allowing
that through as well (I could see more problems with quoted-printable or
base64 as you'd need to actually decode it before parsing the contents).
Diffstat (limited to 'mail/nmh/patches')
-rw-r--r-- | mail/nmh/patches/patch-cg | 16 | ||||
-rw-r--r-- | mail/nmh/patches/patch-ch | 16 |
2 files changed, 32 insertions, 0 deletions
diff --git a/mail/nmh/patches/patch-cg b/mail/nmh/patches/patch-cg new file mode 100644 index 00000000000..2a63d89823d --- /dev/null +++ b/mail/nmh/patches/patch-cg @@ -0,0 +1,16 @@ +$NetBSD: patch-cg,v 1.1 1999/03/08 20:48:28 kim Exp $ + +--- uip/mhparse.c.orig Thu Oct 15 00:04:57 1998 ++++ uip/mhparse.c Mon Mar 8 15:29:57 1999 +@@ -1194,9 +1194,9 @@ + struct k2v *kv; + CI ci = &ct->c_ctinfo; + +- if (ct->c_encoding != CE_7BIT) { ++ if ((ct->c_encoding != CE_7BIT) && (ct->c_encoding != CE_8BIT)) { + admonish (NULL, +- "\"%s/%s\" type in message %s should be encoded in 7bit", ++ "\"%s/%s\" type in message %s should be encoded in 7bit or 8bit", + ci->ci_type, ci->ci_subtype, ct->c_file); + return NOTOK; + } diff --git a/mail/nmh/patches/patch-ch b/mail/nmh/patches/patch-ch new file mode 100644 index 00000000000..bfed7eaff3c --- /dev/null +++ b/mail/nmh/patches/patch-ch @@ -0,0 +1,16 @@ +$NetBSD: patch-ch,v 1.1 1999/03/08 20:48:29 kim Exp $ + +--- uip/mhbuildsbr.c.orig Thu Oct 15 00:05:02 1998 ++++ uip/mhbuildsbr.c Mon Mar 8 15:32:11 1999 +@@ -1433,9 +1433,9 @@ + struct k2v *kv; + CI ci = &ct->c_ctinfo; + +- if (ct->c_encoding != CE_7BIT) { ++ if ((ct->c_encoding != CE_7BIT) && (ct->c_encoding != CE_8BIT)) { + admonish (NULL, +- "\"%s/%s\" type in message %s should be encoded in 7bit", ++ "\"%s/%s\" type in message %s should be encoded in 7bit or 8bit", + ci->ci_type, ci->ci_subtype, ct->c_file); + return NOTOK; + } |