diff options
Diffstat (limited to 'mail-client/nmh/files/nmh-1.3-m_getfld.patch')
-rw-r--r-- | mail-client/nmh/files/nmh-1.3-m_getfld.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/mail-client/nmh/files/nmh-1.3-m_getfld.patch b/mail-client/nmh/files/nmh-1.3-m_getfld.patch deleted file mode 100644 index 6e0104c3d4c9..000000000000 --- a/mail-client/nmh/files/nmh-1.3-m_getfld.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/sbr/m_getfld.c b/sbr/m_getfld.c -index caf9519..13c2c3d 100644 ---- a/sbr/m_getfld.c -+++ b/sbr/m_getfld.c -@@ -731,18 +731,18 @@ matchc(int patln, char *pat, int strln, char *str) - 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 ((unsigned char *)--str); -+ return ((unsigned char *)str); - } -+ return 0; - } - - |