[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] unseen sequence after inc into initially-empty folder
From: |
Glenn Burkhardt |
Subject: |
Re: [Nmh-workers] unseen sequence after inc into initially-empty folder |
Date: |
Tue, 02 Dec 2003 12:17:21 -0500 |
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.