public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: torvalds@transmeta.com
Cc: linux-kernel@vger.kernel.org
Subject: bcopy()
Date: Mon, 07 Oct 2002 14:57:12 +0100	[thread overview]
Message-ID: <12660.1033999032@warthog.cambridge.redhat.com> (raw)


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

             reply	other threads:[~2002-10-07 13:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-07 13:57 David Howells [this message]
2002-10-07 14:16 ` bcopy() Christoph Hellwig
2002-10-07 15:45 ` bcopy() Linus Torvalds
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12660.1033999032@warthog.cambridge.redhat.com \
    --to=dhowells@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox