> -void
> +int
> d_to_tv(double d, struct timeval *tv)
> {
> + if (d > (double)LONG_MAX || d < (double)LONG_MIN)These should be LLONG_MAX or I think it dies in 2038.
> -void
> +int
> d_to_tv(double d, struct timeval *tv)
> {
> + if (d > (double)LONG_MAX || d < (double)LONG_MIN)These should be LLONG_MAX or I think it dies in 2038.