Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Dec 2007 13:34:20 +1100 (EST)
From:      Bruce Evans <brde@optusnet.com.au>
To:        Matthieu Michaud <matthieu@nxdomain.fr>
Cc:        standards@freebsd.org
Subject:   Re: make struct timeval posix compliant ?
Message-ID:  <20071205132138.J6892@delplex.bde.org>
In-Reply-To: <47559FF0.5090008@nxdomain.fr>
References:  <47559FF0.5090008@nxdomain.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 4 Dec 2007, Matthieu Michaud wrote:

> Few months ago I sent a mail to stable@freebsd.org in the hope to discuss 
> struct timeval posix conformance in RELENG_6.
>
> http://docs.freebsd.org/cgi/mid.cgi?1397BA88-CC55-4585-86CB-3BD08FBABEF5
>
> Given the few answers, I may have targetted the wrong mailing list or this 
> change has no interest. So, here are the questions again :
>
> - Do you want FreeBSD 6 to conform posix specs for struct timeval ? (it's not 
> always a right thing to do to strictly conform standards)

No, but I don't use FreeBSD-6.

> - Is it ok to do it ? (if i'm correct there is a minor abi change and this 
> could be a strong reason to stay as is)

It is a huge ABI breakage for arches with 64-bit longs and 32-bit
time_t's (these seem to be only alpha, and i386 and powerpc with the
not-really-supported correctly-sized longs).  These could be ifdefed
like arm already is (ugh).

It is a minor API breakage/fix.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071205132138.J6892>