Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2005 22:08:30 +0200
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        Warner Losh <imp@bsdimp.com>
Cc:        nectar@freebsd.org, standards@freebsd.org, freebsd-arch@freebsd.org, ume@freebsd.org, current@freebsd.org
Subject:   Re: [CFR] correct type of addrinfo.ai_addrlen and netent.n_net
Message-ID:  <867jhfb1kx.fsf@xps.des.no>
In-Reply-To: <20050531.140334.74683681.imp@bsdimp.com>
References:  <86k6lfbafu.fsf@xps.des.no> <20050531.115338.74685129.imp@bsdimp.com> <86fyw3b4c2.fsf@xps.des.no> <20050531.140334.74683681.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh <imp@bsdimp.com> writes:
> Dag-Erling Sm=F8rgrav <des@des.no> writes:
> > Warner Losh <imp@bsdimp.com> writes:
> > > Dag-Erling Sm=F8rgrav <des@des.no> writes:
> > > > What do we gain from removing the padding?  Is there even a single
> > > > practical benefit to doing so?
> > > It is for posix compatibility.
> > Nonsense.  POSIX does not forbid padding or additional structure
> > members.  The exact wording is: [...]
> Did you bother reading what I posted?  I don't think so since you'd
> have known that ai_addrlen was changed to be socklen_t for posix
> compliance, and the padding was added for ABI compatibility.  The
> removal of padding is the normal sort of thing that's done during
> major revisions.  It was there, indirectly, for POSIX compliance.

I know that.  I am questioning the need to *remove* the padding, as
you would know if *you* had bothered reading what *I* posted.  I've
included it so you can double-check.

> Maybe the padding removal is too painful given all the extra 'oh, by
> the ways' that we're stumbling over.

That is exactly what I'm saying.

BTW, could you please fix your MUA to correctly attribute quotes?

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



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