[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mailutils/imap4d util.c
From: |
Sergey Poznyakoff |
Subject: |
mailutils/imap4d util.c |
Date: |
Thu, 22 Aug 2002 07:16:22 -0400 |
CVSROOT: /cvsroot/mailutils
Module name: mailutils
Changes by: Sergey Poznyakoff <address@hidden> 02/08/22 07:16:22
Modified files:
imap4d : util.c
Log message:
(util_uidvalidity): New function. A wrapper
around mailbox_uidvalidity. When a mailbox is selected whose
first message does not keep X-UIDVALIDITY value, the uidvalidity
is computed based on the return of time(). Now, if we call
"EXAMINE mailbox" or "STATUS mailbox (UIDVALIDITY)" the same
mailbox is opened second time and the uidvalidity recalculated.
Thus each subsequent call to EXAMINE or STATUS upon an already
selected mailbox will return different uidvalidity value. To
avoid this, util_uidvalidity() first sees if it is asked to
operate upon an already opened mailbox and if so, returns
previously computed value.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/mailutils/mailutils/imap4d/util.c.diff?tr1=1.40&tr2=1.41&r1=text&r2=text
- mailutils/imap4d util.c, Sergey Poznyakoff, 2002/08/01
- mailutils/imap4d util.c, Sergey Poznyakoff, 2002/08/01
- mailutils/imap4d util.c, Sergey Poznyakoff, 2002/08/04
- mailutils/imap4d util.c, Sergey Poznyakoff, 2002/08/05
- mailutils/imap4d util.c,
Sergey Poznyakoff <=
- mailutils/imap4d util.c, Sergey Poznyakoff, 2002/08/23
- mailutils/imap4d util.c, Sergey Poznyakoff, 2002/08/26