Re: recent libalias changes

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Tue, 06 Jul 2004 13:25:45 +0200
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
Received on Tue Jul 06 2004 - 09:25:55 UTC

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