[exim-dev] [Bug 1561] appendfile to maildir does not work si…

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Alex
Data:  
Para: exim-dev
Assunto: [exim-dev] [Bug 1561] appendfile to maildir does not work since time_t is 64bit
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1561




--- Comment #4 from Alex <alexxisr@???> 2014-12-23 19:50:04 ---
#ifndef TIME_T_FMT
#define TIME_T_FMT "%lld"
#undef LONGLONG_T
#define LONGLONG_T long long int
#endif

"%lld" seems to be right format
Then it will be good to change hardcoded %lu by this macro?

I dont know C that much - how to insert it in this line?

basename = string_sprintf("%lu.H%luP%lu.%s", msg_tv.tv_sec,


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email