Martin Mares <m...@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

Reply via email to