[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nmh-workers] possibly missing fix in RC2

From: Paul Fox
Subject: [Nmh-workers] possibly missing fix in RC2
Date: Fri, 12 Sep 2003 20:07:33 -0400

in december of 2001 i posted to comp.mail.mh about a bug with
unseen sequences, in previously empty folders.  the symptom was
that if you've deleted all the mail from a folder, and then inc
new mail into that folder, the unseen sequence remains empty.

jeff honig responded with a fix, which was posted to the group at
the time.

it's quite possible that the problem has been fixed some other
way, and not mentioned in the changelog, but just in case, here's
the patch.  at the time, i read the inc.c code and determined why,
in fact, this patch was correct.  i'm afraid i can't provide the
analysis anymore.

 paul fox, address@hidden (arlington, ma, where it's 56.3 degrees)


To: Paul Fox <address@hidden>
Subject: Re: no unseen sequence in recently empty folders 
In-reply-to: Message from Paul Fox <address@hidden> on
             Sat, 08 Dec 2001 09:01:17 -0500.<address@hidden> 
References: <address@hidden>
From: Jeffrey C Honig <address@hidden>
Organization: Wind River Systems; Trumansburg, NY  USA
X-Mailer: mh-e 5.0.92; nmh 1.0.4; Emacs 20.4
Date: Sat, 08 Dec 2001 11:24:25 -0500

Try this.



Index: uip/inc.c
RCS file: /master/contrib/nmh/uip/inc.c,v
retrieving revision 1.2
diff -u -r1.2 inc.c
--- uip/inc.c   2001/06/14 18:59:55     1.2
+++ uip/inc.c   2001/12/08 15:08:01
@@ -756,6 +756,7 @@
+               mp->nummsg++;
                clear_msg_flags (mp, msgnum);
                set_exists (mp, msgnum);
                set_unseen (mp, msgnum);

reply via email to

[Prev in Thread] Current Thread [Next in Thread]