> Thanks for the fix! Sorry, I don't know too much about the intricacies of
> NetBSD. My first version seemed to work on my NetBSD instance though, so I
> wrongly assumed it would work for most versions of NetBSD.
it picked the old (pre-64bit-time_t) compat version of the function.
yes, it should
Thanks for the fix! Sorry, I don't know too much about the intricacies of
NetBSD. My first version seemed to work on my NetBSD instance though, so I
wrongly assumed it would work for most versions of NetBSD.
I tested this on FreeBSD and it works, but I don't know the intricacies of
FreeBSD either.
> This patch also checks the system platform as clock_gettime
> could exist on different platforms but with different values of
> CLOCK_MONOTONIC and different definitions of 'struct timespec'.
> In this case, the system call would be expected to catch the
> error, which is dangerous.
>
> This pat
This patch also checks the system platform as clock_gettime
could exist on different platforms but with different values of
CLOCK_MONOTONIC and different definitions of 'struct timespec'.
In this case, the system call would be expected to catch the
error, which is dangerous.
This patch ensures Lin