Bug#164768: libc: IPv6 still not correct.
Philip Blundell writes:
> On Tue, 2002-10-15 at 00:56, Matthew Vernon wrote:
> > Executive summary: libc uses an incorrectly-sized sockaddr_in6
> > structure, which causes programs running under 2.2 kernels to get
> > error messages when in fact they are behving correctly. Hence the
> > important severity.
>
> >From what you describe, I don't think there is anything incorrect about
> the structure in glibc. If the 2.2 kernel is returning the wrong thing,
> that is what should be fixed.
With respect, I think you misunderstand. The kernel defines what the
structure should be, and returns it accordingly. It is the job of the
libc to hide this from the programmer; especially when the structure
in question changes over time in the kernel (quite legitimately).
Matthew
--
Rapun.sel - outermost outpost of the Pick Empire
http://www.pick.ucam.org
Reply to: