Xtonlsab bug

Joakim Tjernlund joakim.tjernlund at transmode.se
Fri Apr 30 16:44:12 CEST 2010


Martin Mares <mj at ucw.cz> wrote on 2010/04/30 16:39:00:
>
> Hello!
>
> > Pehaps this it is always safe to use memcpy in this case, but the man
> > page doesn't.
>
> Neither it is allowed by the C standard.
>
> > It is also a waste of cycles as the whole op is a NOP.
>
> Sure -- that's why we have split the copying and in-place conversion.

I am just suggesting to use a bit of defensive programming to
avoid potential future bugs but if you don't want too, OK by me.

     Jocke




More information about the Bird-users mailing list