-
Define will not work if it's defined in source/header.
It's only possible to switch to 32bit from command line parameter,
i.e. like C:\>cl Source1.cpp /D_USE_32BIT_TIME_T
As for me, I think it's much more dangerous as far as if you are linked with some another library (like openssl)
which uses 64bit time_t and compiled w/o this option -> behaviour is unpredictable.
Test is:
C:\>cl...
2009-11-06 11:19:15 UTC by perminov
-
I think it would be better to allow all the time_t for the library to "work" (until 18 Jan 2038 ;) ) and to handle the 64 bits mode also.
This would give, according to me, in build-windows/StdAfx.h :
#if !defined(_WIN64)
# define _USE_32BIT_TIME_T
#endif
Could you check this ?.
2009-11-06 08:59:50 UTC by smarinier
-
low-level/imf/mailimf_types_helper.c file, mailimf_get_message_id function:
1271 char * mailimf_get_message_id(void)
1272 {
1273 char id[MAX_MESSAGE_ID];
1274 time_t now;
1275 char name[MAX_MESSAGE_ID];
1276 long value;
1277
1278 now = time(NULL);
1279 value = random();
1280
1281 gethostname(name, MAX_MESSAGE_ID);
1282 snprintf(id, MAX_MESSAGE_ID...
2009-11-05 17:10:25 UTC by perminov
-
hoa committed patchset 780 of module libetpan to the libEtPan! - a mail library CVS repository, changing 4 files.
2009-11-05 08:10:35 UTC by hoa
-
Lack of mailpop3_list() result check can cause SIGSEGV in functions
pop3driver_messages_number(), pop3_get_messages_list(), pop3driver_cached_status_folder(), and pop3driver_cached_expunge_folder().
2009-10-29 15:29:19 UTC by b3b
-
hoa committed patchset 779 of module libetpan to the libEtPan! - a mail library CVS repository, changing 1 files.
2009-10-12 21:16:02 UTC by hoa
-
hoa committed patchset 778 of module libetpan to the libEtPan! - a mail library CVS repository, changing 2 files.
2009-10-11 23:23:39 UTC by hoa
-
hoa committed patchset 777 of module libetpan to the libEtPan! - a mail library CVS repository, changing 1 files.
2009-10-11 23:21:02 UTC by hoa
-
hoa committed patchset 776 of module libetpan to the libEtPan! - a mail library CVS repository, changing 1 files.
2009-09-06 22:31:30 UTC by hoa
-
hoa committed patchset 775 of module libetpan to the libEtPan! - a mail library CVS repository, changing 3 files.
2009-09-06 22:30:38 UTC by hoa