Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2005 14:05:32 -0400 (EDT)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        nectar@freebsd.org, des@des.no, standards@freebsd.org, current@freebsd.org, freebsd-arch@freebsd.org
Subject:   Re: [CFR] correct type of addrinfo.ai_addrlen and netent.n_net
Message-ID:  <Pine.GSO.4.43.0505311401440.3368-100000@sea.ntplx.net>
In-Reply-To: <20050531.115338.74685129.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 31 May 2005, Warner Losh wrote:
> >
> > What do we gain from removing the padding?  Is there even a single
> > practical benefit to doing so?
>
> It is for posix compatibility.
>
> http://lists.freebsd.org/pipermail/freebsd-standards/2005-May/000869.html
>
> is where to start for an explaination.

I don't think anyone doubts why it was changed, but POSIX does
not dictate any order or layout of the structure.  The padding
need not be removed just for compliance sake.  Unless we're missing
something...

-- 
DE




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.43.0505311401440.3368-100000>