You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by DEBIN GAO <ga...@hotmail.com> on 2006/06/27 19:01:05 UTC
#define APR_TIME_T_FMT APR_INT64_T_FMT or APR_UINT64_T_FMT
Hi,
I'm looking at
#define APR_TIME_T_FMT APR_INT64_T_FMT
in apr.hnw, and wonder if it should be
#define APR_TIME_T_FMT APR_UINT64_T_FMT
- Debin
Re: #define APR_TIME_T_FMT APR_INT64_T_FMT or APR_UINT64_T_FMT
Posted by Bojan Smojver <bo...@rexursive.com>.
Quoting "William A. Rowe, Jr." <wr...@rowe-clan.net>:
>> AFAIK, these things can legitimately be less than zero.
>
> Depends, can only be less than zero if dealing with pre-1970 dates.
Yes, that's how I understood that as well. Which of course is quite
legitimate (i.e. I'd be willing to bet many people on this list were
born in "negative" time ;-).
--
Bojan
Re: #define APR_TIME_T_FMT APR_INT64_T_FMT or APR_UINT64_T_FMT
Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Bojan Smojver wrote:
> On Tue, 2006-06-27 at 13:01 -0400, DEBIN GAO wrote:
>
>> I'm looking at
>>
>> #define APR_TIME_T_FMT APR_INT64_T_FMT
>>
>> in apr.hnw, and wonder if it should be
>>
>> #define APR_TIME_T_FMT APR_UINT64_T_FMT
>
> typedef apr_int64_t apr_time_t
>
> AFAIK, these things can legitimately be less than zero.
Depends, can only be less than zero if dealing with pre-1970 dates.
If you are talking about apr_time_interval_t, of course it can run negative.,
Re: #define APR_TIME_T_FMT APR_INT64_T_FMT or APR_UINT64_T_FMT
Posted by Bojan Smojver <bo...@rexursive.com>.
On Tue, 2006-06-27 at 13:01 -0400, DEBIN GAO wrote:
> I'm looking at
>
> #define APR_TIME_T_FMT APR_INT64_T_FMT
>
> in apr.hnw, and wonder if it should be
>
> #define APR_TIME_T_FMT APR_UINT64_T_FMT
typedef apr_int64_t apr_time_t
AFAIK, these things can legitimately be less than zero.
--
Bojan