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

Re: UIDVALIDITY check fails




On 25 Aug 1998 00:11:50 +0200 Mats Lidell <Mats.Lidell@contactor.se> wrote:

> With "nnimap 0.3.27" I get UIDVALIDITY check fail message in the
> minibuffer. (Two huge and different numbers are displayed as well. I
> guess to tell me that something is messed up.) Nothing is logged
> though. The *imap-log* buffer seems Ok to me at least.
> 
> This goes for all my nnimap folders. The folders can't be accessed. A
> real show stopper. :-(

If the UIDVALIDITY being returned is greater than 2^28 (268435456) then 
the value is likely getting treated as an integer somewhere inside the lisp code. 
(I'm still running 3.13 so I don't know what the current code does.)

Since the client only uses UIDVALIDITY for comparison purposes we should be 
able to just treat it as a string and do string comparisons. To be safe, 
redundent leading zero's should be stripped from anything representing a 
UIDVALIDITY.

--lyndon