diff options
author | kyak | 2017-03-22 21:15:25 +0300 |
---|---|---|
committer | kyak | 2017-03-22 21:15:25 +0300 |
commit | e8ee1b32afbdf043f67d379c2fbccbe03e9e95ca (patch) | |
tree | 7cda22165d9f40c4f9253dcb1907dcfe34c8b919 /topal-2.patch | |
parent | b79729569095004707eed25586eac0070c9d04b2 (diff) | |
download | aur-e8ee1b32afbdf043f67d379c2fbccbe03e9e95ca.tar.gz |
Update to 2.21
Diffstat (limited to 'topal-2.patch')
-rw-r--r-- | topal-2.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/topal-2.patch b/topal-2.patch deleted file mode 100644 index 3c7949e3041a..000000000000 --- a/topal-2.patch +++ /dev/null @@ -1,45 +0,0 @@ -diff -cr alpine-2.00.orig/imap/src/c-client/mail.c alpine-2.00.new/imap/src/c-client/mail.c -*** alpine-2.00.orig/imap/src/c-client/mail.c 2008-06-04 19:39:54.000000000 +0100 ---- alpine-2.00.new/imap/src/c-client/mail.c 2009-04-30 22:34:13.000000000 +0100 -*************** -*** 2712,2717 **** ---- 2712,2719 ---- - BODY *b = NIL; - PART *pt; - unsigned long i; -+ /* Topal hack 2 */ -+ mail_fetchstructure (stream,msgno,&b); - /* make sure have a body */ - if (section && *section && mail_fetchstructure (stream,msgno,&b) && b) - while (*section) { /* find desired section */ -diff -cr alpine-2.00.orig/pith/mailcap.c alpine-2.00.new/pith/mailcap.c -*** alpine-2.00.orig/pith/mailcap.c 2008-03-18 17:24:31.000000000 +0000 ---- alpine-2.00.new/pith/mailcap.c 2009-04-30 22:35:47.000000000 +0100 -*************** -*** 582,589 **** - * typically two scans through the check_extension - * mechanism, the mailcap entry now takes precedence. - */ -! if((fname = get_filename_parameter(NULL, 0, body, &e2b.from.ext)) != NULL -! && e2b.from.ext && e2b.from.ext[0]){ - if(strlen(e2b.from.ext) < sizeof(tmp_ext) - 2){ - strncpy(ext = tmp_ext, e2b.from.ext - 1, sizeof(tmp_ext)); /* remember it */ - tmp_ext[sizeof(tmp_ext)-1] = '\0'; ---- 582,598 ---- - * typically two scans through the check_extension - * mechanism, the mailcap entry now takes precedence. - */ -! /* Topal hack 2 */ -! fname = get_filename_parameter(NULL, 0, body, &e2b.from.ext); -! if (fname == NULL) { -! if (body->type == TYPEMULTIPART && -! ((body->subtype && !strucmp(body->subtype, "signed")) -! ||(body->subtype && !strucmp(body->subtype, "encrypted")))) -! fname = cpystr("openpgp.msg"); -! } -! -! if(fname != NULL -! && e2b.from.ext && e2b.from.ext[0]){ - if(strlen(e2b.from.ext) < sizeof(tmp_ext) - 2){ - strncpy(ext = tmp_ext, e2b.from.ext - 1, sizeof(tmp_ext)); /* remember it */ - tmp_ext[sizeof(tmp_ext)-1] = '\0'; |