diff options
Diffstat (limited to 'japanese/mh/files/patch-ao')
-rw-r--r-- | japanese/mh/files/patch-ao | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/japanese/mh/files/patch-ao b/japanese/mh/files/patch-ao index e9061669f6e3..3dd6f3474fe6 100644 --- a/japanese/mh/files/patch-ao +++ b/japanese/mh/files/patch-ao @@ -1,18 +1,16 @@ ---- uip/replsbr.c.orig Fri Sep 10 13:51:41 1999 -+++ uip/replsbr.c Wed Jan 12 12:04:01 2000 -@@ -215,11 +215,9 @@ - finished: - /* drop ending newline */ - for (i = 0; i < sizeof(wantcomp)/sizeof(wantcomp[0]); i++) -- if ((cptr = wantcomp[i]) && cptr->c_text) -- do { -- if ((cp = rindex(cptr->c_text, '\n')) && !cp[1]) -- *cp = 0; -- } while (cptr = cptr->c_next); -+ for (cptr = wantcomp[i]; cptr; cptr = cptr->c_next) -+ if (cptr->c_text && (cp = rindex(cptr->c_text, '\n')) && !cp[1]) -+ *cp = 0; +--- uip/replsbr.c.orig Thu Apr 5 01:05:17 2001 ++++ uip/replsbr.c Tue Jan 14 18:05:42 2003 +@@ -195,11 +195,12 @@ + } + } while (cptr = cptr->c_next); - /* if there's a "subject" component, strip any "re:"s off it */ - FINDCOMP (cptr, "subject") - +- while (state == FLDPLUS) ++ while (state == FLDPLUS) { + state = m_getfld (state, name, tmpbuf, SBUFSIZ, inb); + #ifdef JAPAN + (void) ml_conv(tmpbuf); + #endif /* JAPAN */ ++ } + break; + + case LENERR: |