Home | History | Annotate | Download | only in string
History log of /src/common/lib/libc/string/bcopy.c
RevisionDateAuthorComments
 1.13  12-Feb-2018  martin branches: 1.13.4;
Complete previous by complteley removing the _DIAGASSERT from memmove -
the accidental left over from previous fired on all legitimate calls
and caused PR bin/52986 and PR lib/52987.
 1.12  04-Feb-2018  mrg updates for GCC 6.4:

- remove many _DIAGASSERT() checks against not NULL for functions
with arguments with nonnull attributes. (probably more to come,
the set between x86 and sparc us disjoint.)

- port libsanitizer's GetPcSpBp() to sparc, sparc64 and amd64.
 1.11  16-Apr-2014  joerg Undef possible macro versions of memcpy and friends for kernel builds
too. libkern sometimes defines them to the builtins.
 1.10  14-Apr-2014  joerg Using bcopy/memcpy with NULL arguments is valid as long as the size is
also 0.
 1.9  18-Mar-2009  tsutsui branches: 1.9.6; 1.9.12; 1.9.24;
- remove bcmp(9), bcopy(9), and bzero(9) from libkern since <sys/systm.h> has
macro which replace them with mem*() functions in #ifdef _KERNEL as noted
in man pages
- move declarations of bcopy(3) and bzero(3) into <lib/libsa/stand.h>
since they are still in libsa for some MD standalone sources
(I guess all bcmp(3) in standalone sources have been replaced with memcmp(3)
but they should be replaced with memcmp() anyway)
 1.8  26-Mar-2008  apb branches: 1.8.10;
Add /* __OPTIMIZE_SIZE__ */ comments on relevant #else and #endif lines.
Also change some #ifdef to #if defined() for consistency.
 1.7  25-Mar-2008  christos bcopy does not return ptr.
 1.6  25-Mar-2008  christos fix #ifdefs for BCOPY
 1.5  25-Mar-2008  christos add bcopy and bzero for the benefit of loadfile.
 1.4  25-Mar-2008  christos add __OPTIMIZE_SIZE__ versions.
 1.3  04-Jun-2007  christos handle fortify, ansify.
 1.2  05-Feb-2006  ross Don't do DIAGASSERT against NULL if _KERNEL This puts us back to
kernel behavior before src/common where 0 was a valid dest addr.

This should fix the macppc (and other OEA ppc) silent-death-on-DIAGNOSTIC
issue, and possibly other DIAGNOSTIC failures.

XXX it might be worth thinking about an API where 0 is allowed in
documented cases and not allowed otherwise.
 1.1  20-Dec-2005  christos Merge libkern + libc common files. As requested by core.
 1.8.10.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.9.24.1  10-Aug-2014  tls Rebase.
 1.9.12.1  19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.9.6.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.13.4.2  21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.13.4.1  21-Apr-2020  martin Sync with HEAD

RSS XML Feed