mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: David Howells <dhowells@redhat.com>
Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: Re: bcopy()
Date: Mon, 7 Oct 2002 15:16:05 +0100	[thread overview]
Message-ID: <20021007151605.A11001@infradead.org> (raw)
In-Reply-To: <12660.1033999032@warthog.cambridge.redhat.com>; from dhowells@redhat.com on Mon, Oct 07, 2002 at 02:57:12PM +0100

On Mon, Oct 07, 2002 at 02:57:12PM +0100, David Howells wrote:
> 
> 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).

Kernel bcopy in traditional unix versions never supported overlapping.
That's what ovbcopy() is/was for.

  reply	other threads:[~2002-10-07 14:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-07 13:57 bcopy() David Howells
2002-10-07 14:16 ` Christoph Hellwig [this message]
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=20021007151605.A11001@infradead.org \
    --to=hch@infradead.org \
    --cc=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

all inboxes | Powered by JetHome®