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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Alex
Ημερομηνία:  
Προς: exim-dev
Αντικείμενο: [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