Re: [CFR] correct type of addrinfo.ai_addrlen and netent.n_net

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Tue, 31 May 2005 22:08:30 +0200
Warner Losh <imp_at_bsdimp.com> writes:
> Dag-Erling Smørgrav <des_at_des.no> writes:
> > Warner Losh <imp_at_bsdimp.com> writes:
> > > Dag-Erling Smørgrav <des_at_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
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Tue May 31 2005 - 18:08:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:35 UTC