Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 1998 01:42:19 +0200
From:      Eivind Eklund <eivind@yes.no>
To:        Terry Lambert <tlambert@primenet.com>, Mike Smith <mike@smith.net.au>
Cc:        joelh@gnu.org, nate@mt.sri.com, rnordier@nordier.com, current@FreeBSD.ORG
Subject:   Re: Fix for undefined "__error" and discussion of shared object versioning
Message-ID:  <19980530014218.62162@follo.net>
In-Reply-To: <199805292330.QAA23999@usr05.primenet.com>; from Terry Lambert on Fri, May 29, 1998 at 11:30:55PM %2B0000
References:  <199805292157.OAA01107@dingo.cdrom.com> <199805292330.QAA23999@usr05.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 29, 1998 at 11:30:55PM +0000, Terry Lambert wrote:
> While we are on the subject of portability problems, doesn't anyone
> else find it annoying that memcpy() is not guaranteed to work on
> overlapping memory ranges, yet we are migrating bcopy() to memcpy()
> as time goes on?  Grrrr...

memmove() is for the cases where you're not guaranteed to be
non-overlapping, exctly like bcopy().

memcpy() is for those cases where you know that you don't have
overlaps.

I don't find this problematic, no.

Eivind.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980530014218.62162>