public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* bcopy()
@ 2002-10-07 13:57 David Howells
  2002-10-07 14:16 ` bcopy() Christoph Hellwig
  2002-10-07 15:45 ` bcopy() Linus Torvalds
  0 siblings, 2 replies; 10+ messages in thread
From: David Howells @ 2002-10-07 13:57 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-10-08 19:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <5.1.0.14.2.20021007195409.00b54a98@pop.gmx.net>
2002-10-07 18:08 ` bcopy() Linus Torvalds
2002-10-07 18:14   ` bcopy() Matthew Wilcox
2002-10-07 18:17     ` bcopy() Linus Torvalds
2002-10-07 18:17   ` bcopy() Christoph Hellwig
2002-10-07 18:21     ` bcopy() Linus Torvalds
2002-10-07 18:31       ` bcopy() Stan Bubrouski
2002-10-08 19:03         ` bcopy() Kai Henningsen
2002-10-07 13:57 bcopy() David Howells
2002-10-07 14:16 ` bcopy() Christoph Hellwig
2002-10-07 15:45 ` bcopy() Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox