make struct timeval posix compliant ?
Luigi Rizzo
rizzo at icir.org
Mon Jul 16 13:40:38 UTC 2007
On Mon, Jul 16, 2007 at 01:10:46PM +0200, Matthieu Michaud wrote:
> hello,
>
> on RELENG_6 sys/_timeval.h defines (struct timeval).tv_sec as long.
> posix wants it to be a time_t. this seems to have been corrected a
> long time ago in HEAD (see [1]). i took time to 'make universe' in a
> RELENG_6 tree with the HEAD src/sys/sys/_timeval.h. i've found
> similar breakage. here's a patch which correct it the same way. this
> sounds like an idea with pros (conformance) and cons (abi change).
> anyone interested in those changes ?
the patch seems small, so i think it is a good thing to apply the change,
as this should also simplify porting third party apps and reduce diffs
with HEAD.
cheers
luigi
More information about the freebsd-stable
mailing list