[Dovecot] Dovecot 64-bit and Pine error

Remy Zandwijk remy.zandwijk at falw.vu.nl
Tue Mar 15 11:19:36 EET 2005


>Looks like it's a bug in utc_mktime() function which is based on code from 
>Cyrus.. And looks like they've since figured out a way to fix it:
>
>+       /* Some gmtime() implementations are broken and will return
>+        * NULL for time_ts larger than 40 bits even on 64-bit platforms
>+        * so we'll just cap it at 40 bits */
>+       if(bits > 40) bits = 40;
>
>I'll implement a similar fix. If you change TIME_T_MAX_BITS in config.h to 
>40 it should work?

I downloaded and compiled dovecot-1.0-stable 15-03-2005 and the fix works :-)

Thanks Timo!

Remy




More information about the dovecot mailing list