Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2007 06:19:20 -0700
From:      Luigi Rizzo <rizzo@icir.org>
To:        Matthieu Michaud <matthieu@epita.info>
Cc:        stable@freebsd.org
Subject:   Re: make struct timeval posix compliant ?
Message-ID:  <20070716061920.A96306@xorpc.icir.org>
In-Reply-To: <1397BA88-CC55-4585-86CB-3BD08FBABEF5@epita.info>; from matthieu@epita.info on Mon, Jul 16, 2007 at 01:10:46PM %2B0200
References:  <1397BA88-CC55-4585-86CB-3BD08FBABEF5@epita.info>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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