Ryan Bloom wrote:

This is going to break EVERY apr app out there.  I have no problem with
the change, but everything is going to be broken.  Is there any way to
do this by creating an apr_time32_t, or something that will keep the
default at 64-bit, and allow people to use 32 if they specify it?


How about leaving apr_time_t unchanged and adding an apr_timeval:

 typedef struct {
     unsigned tv_sec;
     unsigned tv_usec;
 } apr_timeval;

plus
 apr_status_t apr_timeval_now(apr_timeval* time)
to complement (not replace) the existing apr_time_now()
and apr_timeval versions of other time functions.

--Brian




Reply via email to