bcopy()

David Howells (dhowells@redhat.com)
Mon, 07 Oct 2002 14:57:12 +0100


Hi Linus,

The implementation of bcopy() in lib/string.c (and some other places such as
the XFS header files) is incorrect as it implements bcopy as memcpy. This is
wrong: bcopy should be the equivalent of memmove (which handles overlapping
areas correctly).

I've dicussed it with a number of people, and the general consensus seems to
be that it should be nuked entirely? Do you agree?

David
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/