Home | History | Annotate | Download | only in string
History log of /src/common/lib/libc/string/memset.c
RevisionDateAuthorComments
 1.12  30-Mar-2019  jmcneill Fix typo: __aebi_memset -> __aeabi_memset
 1.11  06-Feb-2018  mrg branches: 1.11.4;
- remove two more _DIAGASSERT() checks against not NULL for functions
with arguments with nonnull attributes. in two cases, leave
code behind that should set defaults to "(null)".
 1.10  02-Dec-2013  joerg Improve EABI handling of string functions. Most importantly, fix
__aeabi_memset, which has the arguments in the wrong order.
 1.9  08-Nov-2011  joerg branches: 1.9.6;
libkern.h maps memcmp, memset and strcpy to the compiler builtins on
some platforms, so make sure to #undef them first.
 1.8  18-Mar-2009  tsutsui branches: 1.8.6;
- 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.7  17-Mar-2009  he Add local declarations of bcmp() and bzero() because libkern.h no longer
provides those declarations.

It's possible that these can be removed later when we find out whether
these functions are actually needed in the kernel, but meanwhile, this
allows alpha, hp700 and the powerpc ports (who all build these as part
of libkern) to complete their builds.
 1.6  29-Mar-2008  he branches: 1.6.10;
Do like the non-__OPTIMIZE_SIZE__ variant, and compile memset() unless
BZERO is defined, instead of requiring MEMSET to be defined.

Avoids violating the principle of least astonishment, and also fixes
the build of stand/ and kernels for (at least) alpha.
 1.5  29-Mar-2008  he Make the size-optimized memset() actually conform to the man page
by returning the first arg.
 1.4  26-Mar-2008  apb Add /* __OPTIMIZE_SIZE__ */ comments on relevant #else and #endif lines.
Also change some #ifdef to #if defined() for consistency.
 1.3  25-Mar-2008  christos add bcopy and bzero for the benefit of loadfile.
 1.2  04-Jun-2007  christos handle fortify, ansify.
 1.1  20-Dec-2005  christos Merge libkern + libc common files. As requested by core.
 1.6.10.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.8.6.2  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.8.6.1  10-Nov-2011  yamt sync with head
 1.9.6.1  19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.11.4.3  21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.11.4.2  21-Apr-2020  martin Sync with HEAD
 1.11.4.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed