Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Aug 2015 09:01:52 +0100
From:      David Chisnall <theraven@FreeBSD.org>
To:        araujo@FreeBSD.org
Cc:        "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r286715 - head/lib/libc/string
Message-ID:  <2D188186-B215-4417-A003-61DF1F1A24BF@FreeBSD.org>
In-Reply-To: <CAOfEmZiJVazkxi%2Brw%2Bv8Lke-KthwRFd=9c=WvU3jSs1p%2Bt4jJA@mail.gmail.com>
References:  <201508130231.t7D2VOhc069855@repo.freebsd.org> <20150813134548.U1375@besplex.bde.org> <CAOfEmZjOoYabLkQdhsZNPfV3r1CEk-dS9tFk-_oktqFvwSSnPw@mail.gmail.com> <CAOfEmZgdpNL7iAX=dNYBidNmhHJqwonWTSP%2BFMeyMY9Xfto4wg@mail.gmail.com> <0CFBA0CC-FEEE-40CE-BC47-065613C64293@FreeBSD.org> <CAOfEmZiJVazkxi%2Brw%2Bv8Lke-KthwRFd=9c=WvU3jSs1p%2Bt4jJA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13 Aug 2015, at 08:56, Marcelo Araujo <araujobsdport@gmail.com> =
wrote:
>=20
> So it means, this commit here was right already:
> https://svnweb.freebsd.org/base?view=3Drevision&revision=3D286651
>=20
> Although I made a mistake with the date.

More or less.  I partly agree with Bruce that suggesting memcpy is =
misleading.  I=E2=80=99d prefer something like:

This function is deprecated (marked as LEGACY in
POSIX.1-2001): use
.Xr memmove 3
in new programs.
If you can guarantee that the input and output buffers do not overlap, =
then
.Xr memcpy 3
may be more efficient.

David




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2D188186-B215-4417-A003-61DF1F1A24BF>