summaryrefslogtreecommitdiff
path: root/mail/pine
diff options
context:
space:
mode:
authoragc <agc>1998-08-05 10:37:54 +0000
committeragc <agc>1998-08-05 10:37:54 +0000
commitf3ca8f25c356dc0584b2f207ea439b132bccf3bd (patch)
tree4e46b22c14ff6ea875f4c5f9f5230bb461a9dac3 /mail/pine
parent85f81791e365b0289f3c1659082efc97e7826f5a (diff)
downloadpkgsrc-f3ca8f25c356dc0584b2f207ea439b132bccf3bd.tar.gz
Miscellaneous pine fixes forwarded to me by Matt Green.
Diffstat (limited to 'mail/pine')
-rw-r--r--mail/pine/patches/patch-am20
-rw-r--r--mail/pine/patches/patch-an30
2 files changed, 50 insertions, 0 deletions
diff --git a/mail/pine/patches/patch-am b/mail/pine/patches/patch-am
new file mode 100644
index 00000000000..60ed853a611
--- /dev/null
+++ b/mail/pine/patches/patch-am
@@ -0,0 +1,20 @@
+Revision history
+
+==========================================
+Patches for Pine 4.02 from Pavel Kankovsky
+==========================================
+
+--- ./pine/mailpart.c.noparanoia Mon Jul 20 21:18:49 1998
++++ ./pine/mailpart.c Thu Jul 30 15:41:08 1998
+@@ -1230,7 +1230,10 @@
+
+ /* warning: overload "err" use */
+ if(err = rfc2231_get_param(param, att_name, NULL, NULL)){
+- strcpy(filename, err);
++ if (strlen(err) >= sizeof(filename))
++ strcpy(filename, "CAUTION! ORIGINAL FILENAME TOO LONG");
++ else
++ strcpy(filename, err);
+ fs_give((void **) &err);
+ }
+
diff --git a/mail/pine/patches/patch-an b/mail/pine/patches/patch-an
new file mode 100644
index 00000000000..536505b98ee
--- /dev/null
+++ b/mail/pine/patches/patch-an
@@ -0,0 +1,30 @@
+Revision history
+
+==========================================
+Patches for Pine 4.02 from Pavel Kankovsky
+==========================================
+
+--- pine/mailview.c.noparanoia Fri Jul 17 09:10:35 1998
++++ pine/mailview.c Thu Jul 30 22:11:46 1998
+@@ -940,7 +940,7 @@
+ sstrcpy(&p, body_type_names(type));
+ if(full && subtype){
+ *p++ = '/';
+- sstrcpy(&p, subtype);
++ sstrcpy(&p, strsquish(tmp_20k_buf + 500, subtype, 20));
+ }
+
+ switch(type) {
+@@ -1558,6 +1558,10 @@
+ }
+
+ gf_filter_init();
++ if(F_OFF(F_PASS_CONTROL_CHARS, ps_global)){
++ gf_link_filter(gf_escape_filter, NULL);
++ gf_link_filter(gf_control_filter, NULL);
++ }
+ gf_link_filter(gf_wrap, gf_wrap_filter_opt(width, width, 0, 0));
+ gf_link_filter(gf_line_test, gf_line_test_opt(quote_editorial, NULL));
+ return(gf_pipe(gc, pc));
+
+