recent libalias changes

Dag-Erling Smørgrav des at des.no
Tue Jul 6 04:25:55 PDT 2004


David Malone <dwmalone at maths.tcd.ie> writes:
> The bit of the function that the patch changes seems to only be
> accessing the data through char types, which the C standard says
> can alias any type.

the code I replaced has casts on the lvalue, which is not allowed.

>                     The while loop that is immediately above it
> looks risky though, as this function is probably called with a
> struct ip * somewhere.

yes, that's what I think may need rewriting.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-current mailing list