diff options
author | peter <peter@FreeBSD.org> | 1997-02-03 12:57:25 +0800 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-02-03 12:57:25 +0800 |
commit | d59d865a48df0ae2c4159d1b3f2d0652dd8d256c (patch) | |
tree | 95a4dbccaf15641381b0b1fbe22a383279ed7665 /mail/mh | |
parent | 13eec22845d23b83d730a753f6605c01adaba4a2 (diff) | |
download | freebsd-ports-gnome-d59d865a48df0ae2c4159d1b3f2d0652dd8d256c.tar.gz freebsd-ports-gnome-d59d865a48df0ae2c4159d1b3f2d0652dd8d256c.tar.zst freebsd-ports-gnome-d59d865a48df0ae2c4159d1b3f2d0652dd8d256c.zip |
Increase the max length of the .mh_sequences lines from 2048 to 4096
(BUFSIZ * 2 -> BUFSIZ * 4). I found out the hard way that when the
"unseen:" squence hits the limit, all sorts of things start failing and
this causes secondary problems in exmh (like you can't delete things).
Since "memory is cheap" this should probably be bigger, except that 2900
unseen messages in your inbox is already slow.
Diffstat (limited to 'mail/mh')
-rw-r--r-- | mail/mh/files/patch-ah | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/mail/mh/files/patch-ah b/mail/mh/files/patch-ah new file mode 100644 index 000000000000..27b9b88d77d9 --- /dev/null +++ b/mail/mh/files/patch-ah @@ -0,0 +1,53 @@ +--- sbr/m_seq.c.dist Wed Dec 1 12:01:24 1993 ++++ sbr/m_seq.c Mon Feb 3 12:39:31 1997 +@@ -16,7 +16,7 @@ + int mask; + register int i, j; + register char *bp; +- static char buffer[BUFSIZ*2]; /* for big sequences */ ++ static char buffer[BUFSIZ * 4]; /* for big sequences */ + + if (strcmp (current, cp) == 0) { + /* assume this is in sync with msgstats["cur"] */ +--- sbr/m_gmsg.c.dist Wed Dec 1 12:01:24 1993 ++++ sbr/m_gmsg.c Mon Feb 3 12:40:25 1997 +@@ -211,7 +211,7 @@ + state; + register char *cp; + char name[NAMESZ], +- field[BUFSIZ * 2]; ++ field[BUFSIZ * 4]; + register struct node *np; + register FILE * fp; + +--- sbr/m_sync.c.dist Wed Dec 1 12:01:25 1993 ++++ sbr/m_sync.c Mon Feb 3 12:41:21 1997 +@@ -26,7 +26,7 @@ + register char *cp; + char flags, + attr[BUFSIZ], +- seq[BUFSIZ * 2]; ++ seq[BUFSIZ * 4]; + register FILE *fp; + #ifndef BSD42 + TYPESIG (*hstat) (), (*istat) (), (*qstat) (), (*tstat) (); +--- uip/vmhsbr.c.dist Wed Dec 1 12:01:39 1993 ++++ uip/vmhsbr.c Mon Feb 3 12:42:08 1997 +@@ -197,7 +197,7 @@ + { + int eindex = errno; + register char *bp; +- char buffer[BUFSIZ * 2]; ++ char buffer[BUFSIZ * 4]; + + (void) sprintf (buffer, fmt, a, b, c, d, e, f); + bp = buffer + strlen (buffer); +@@ -230,7 +230,7 @@ + *e, + *f; + { +- static char buffer[BUFSIZ * 2]; ++ static char buffer[BUFSIZ * 4]; + + (void) sprintf (buffer, fmt, a, b, c, d, e, f); + |