nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] unseen sequence after inc into initially-empty folder

2003-12-02 11:30:06
I think this was fixed; please let me know which rev inc.c you have.

Revision 1.16 / (as text) / (view) - annotate - [select for diffs] , Sun Sep 28 
14:27:34 2003 UTC (2 months ago) by gbburkhardt
Branch: MAIN
Changes since 1.15: +3 -1 lines
Diff to previous 1.15 (colored)

update 'mp->lowmsg' from 0 to 1 during regular 'inc' from mail spool;
avoids failure of 'folder_realloc()' for case of no messages in
folder, and more than 100 messages to incorporate.  Initially,
'folder_read()' will initialize 'mp->lowmsg' to 0, and 'mp->lowoff'
to 1.  So the call would be folder_realloc(mp, 1, 200), and the
comparison 'if (mp->nummsg > 0 && lo > mp->lowmsg)' will fail.




_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
http://mail.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>