diff options
author | Tim Harder <radhermit@gentoo.org> | 2017-10-18 04:40:43 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2017-10-18 04:42:45 -0400 |
commit | ea905e49c90535186113a740193bcbc6eb8ce415 (patch) | |
tree | 7638b493b78af52526e28bf5813ac1076e75976f /mail-client/nmh/files | |
parent | net-mail/dovecot: bump to 2.2.33.1 (diff) | |
download | gentoo-ea905e49c90535186113a740193bcbc6eb8ce415.tar.gz gentoo-ea905e49c90535186113a740193bcbc6eb8ce415.tar.bz2 gentoo-ea905e49c90535186113a740193bcbc6eb8ce415.zip |
mail-client/nmh: version bump to 1.6
Closes: https://bugs.gentoo.org/423681
Closes: https://bugs.gentoo.org/555550
Closes: https://bugs.gentoo.org/631662
Diffstat (limited to 'mail-client/nmh/files')
-rw-r--r-- | mail-client/nmh/files/nmh-1.6-m_getfld.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/mail-client/nmh/files/nmh-1.6-m_getfld.patch b/mail-client/nmh/files/nmh-1.6-m_getfld.patch new file mode 100644 index 000000000000..36f207796646 --- /dev/null +++ b/mail-client/nmh/files/nmh-1.6-m_getfld.patch @@ -0,0 +1,25 @@ +--- nmh-1.6/sbr/m_getfld.c ++++ nmh-1.6/sbr/m_getfld.c +@@ -919,16 +919,16 @@ + register char *ep = pat + patln; + register char pc = *pat++; + +- for(;;) { +- while (pc != *str++) +- if (str > es) +- return 0; ++ for(; str <= es; str++) { ++ if (pc != *str) ++ continue; + if (str > es+1) + return 0; +- sp = str; pp = pat; ++ sp = str+1; pp = pat; + while (pp < ep && *sp++ == *pp) + pp++; + if (pp >= ep) +- return --str; ++ return ((unsigned char *)str); + } ++ return 0; + } |