[Dovecot] expire-tool --test: timestamps

e-frog e-frog at gmx.de
Tue Jun 16 21:39:20 EEST 2009


Timo Sirainen schrieb:
> On Sat, 2009-06-06 at 15:35 +0200, e-frog wrote:
>> $ /usr/sbin/dovecot --exec-mail ext expire-tool --test
>> Info: Trash: timestamp 1243963680 (Tue Jun  2 19:28:00 2009
>> ) -> 1244307774 (Tue Jun  2 19:28:00 2009
>> )
>>
>> Both human readable timestamps are equal as ctime() returns a pointer
>> to a static buffer. In addition there are some newline characters added
>> by ctime(). The following patch is a try to fix this for 1.2.rc5.
> 
> Thanks. I fixed it a bit differently:
> http://hg.dovecot.org/dovecot-1.2/rev/1d343780e009
> 

Thanks Timo! The timestamps are ok now, however there are still the newlines.
Just cosmetic though  :-)

Info: Trash: timestamp 1240263356 (Mon Apr 20 23:35:56 2009
) -> 1245263356 (Wed Jun 17 20:29:16 2009
)


More information about the dovecot mailing list