diff options
author | ache <ache@FreeBSD.org> | 1997-02-05 03:12:52 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-02-05 03:12:52 +0800 |
commit | 9e37f0d1aecb8c63179d5bb2697a4c672ede3c1a (patch) | |
tree | 4786463eacbed40c9575451fb73b6a5beef781d0 /mail/pine4 | |
parent | 21b3e881186755fa83d1216d1bbb8a1b49aaedc3 (diff) | |
download | freebsd-ports-gnome-9e37f0d1aecb8c63179d5bb2697a4c672ede3c1a.tar.gz freebsd-ports-gnome-9e37f0d1aecb8c63179d5bb2697a4c672ede3c1a.tar.zst freebsd-ports-gnome-9e37f0d1aecb8c63179d5bb2697a4c672ede3c1a.zip |
When enable_8bit turned on, use it not only for smtp connection
but for external programs too
Diffstat (limited to 'mail/pine4')
-rw-r--r-- | mail/pine4/files/patch-ai | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/mail/pine4/files/patch-ai b/mail/pine4/files/patch-ai new file mode 100644 index 000000000000..7a8f6b72ac07 --- /dev/null +++ b/mail/pine4/files/patch-ai @@ -0,0 +1,37 @@ +*** pine/send.c.old Mon Jul 8 22:10:50 1996 +--- pine/send.c Tue Feb 4 21:47:57 1997 +*************** +*** 6084,6090 **** + + switch (body->encoding) { /* all else needs filtering */ + case ENC8BIT: /* encode 8BIT into QUOTED-PRINTABLE */ +! gf_link_filter(gf_8bit_qp); + break; + + case ENCBINARY: /* encode binary into BASE64 */ +--- 6084,6091 ---- + + switch (body->encoding) { /* all else needs filtering */ + case ENC8BIT: /* encode 8BIT into QUOTED-PRINTABLE */ +! if(F_OFF(F_ENABLE_8BIT, ps_global)) +! gf_link_filter(gf_8bit_qp); + break; + + case ENCBINARY: /* encode binary into BASE64 */ +*************** +*** 6143,6149 **** + sprintf (*dst += strlen (*dst), "Content-Transfer-Encoding: %s\015\012", + body_encodings[(body->encoding == ENCBINARY) + ? ENCBASE64 +! : (body->encoding == ENC8BIT) + ? ENCQUOTEDPRINTABLE + : (body->encoding <= ENCMAX) + ? body->encoding : ENCOTHER]); +--- 6144,6150 ---- + sprintf (*dst += strlen (*dst), "Content-Transfer-Encoding: %s\015\012", + body_encodings[(body->encoding == ENCBINARY) + ? ENCBASE64 +! : (body->encoding == ENC8BIT && F_OFF(F_ENABLE_8BIT, ps_global)) + ? ENCQUOTEDPRINTABLE + : (body->encoding <= ENCMAX) + ? body->encoding : ENCOTHER]); |