Updates:
Status: WontFix
Comment #4 on issue 255 by [email protected]: better types for time
http://code.google.com/p/memcached/issues/detail?id=255
I'm not sure at all what to do with this change...
You're saying that on some platforms time_t is 64bit, so process_started
would be 64bit.
rel_time_t will always be an unsigned int, if we change that to intmax_t
it's going to end up being the largest integer available on that platform
and will eat into the item size. So intmax_t is more useful for casting?
This seems related to a y2038 bug... I'm going to close it though. If you
can show some test code that fails on some specific platform I can use that
to fix it, but the patch potentially changes memory usage and has casting
that could fail on things I don't have access to.
Sorry :/ 2038 bug is something we'll need to fix at some point, but I don't
think it'll be this way.