| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
* lib/explicit_bzero.c (explicit_bzero): Use '\0' instead of 0.
|
|
|
|
|
|
|
| |
* lib/explicit_bzero.c: Include <windows.h>.
(explicit_bzero): On native Windows, use SecureZeroMemory.
Signed-off-by: Bastien Roucariès <rouca@debian.org>
|
|
|
|
|
|
|
|
|
|
| |
Some OS define memset_s instead of explicit_bzero. Use it.
* lib/explicit_bzero.c (__STDC_WANT_LIB_EXT1__): Define.
(explicit_bzero): Use memset_s when available.
* m4/explicit_bzero.m4 (gl_PREREQ_EXPLICIT_BZERO): Test for memset_s.
Signed-off-by: Bastien Roucariès <rouca@debian.org>
|
| |
|
| |
|
|
|
|
|
| |
* lib/explicit_bzero.c (explicit_bzero): Don't undefine outside of
glibc.
|
| |
|
|
|
|
|
|
| |
Problem reported by Marcus Johnson (Bug#29658).
* lib/explicit_bzero.c (explicit_bzero) [__clang__]:
Don’t use asm.
|
| |
|
|
The explicit_bzero function has been added to glibc.
This module is intended to supports its use in GNU programs.
* doc/glibc-functions/explicit_bzero.texi, lib/explicit_bzero.c:
* m4/explicit_bzero.m4, modules/explicit_bzero:
New files.
* doc/gnulib.texi (Glibc string.h): Link to new doc.
* lib/string.in.h (explicit_bzero): Declare.
* m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Add defaults for it.
* modules/string (string.h): Substitute its vars.
|