summaryrefslogtreecommitdiff
path: root/lib/explicit_bzero.c
Commit message (Collapse)AuthorAgeFilesLines
* maint: run 'make update-copyright'Paul Eggert2020-12-311-1/+1
|
* explicit_bzero: Improve code style.Bastien Roucariès2020-04-141-1/+1
| | | | * lib/explicit_bzero.c (explicit_bzero): Use '\0' instead of 0.
* explicit_bzero: On native Windows, use SecureZeroMemory().Bastien Roucariès2020-04-141-1/+8
| | | | | | | * lib/explicit_bzero.c: Include <windows.h>. (explicit_bzero): On native Windows, use SecureZeroMemory. Signed-off-by: Bastien Roucariès <rouca@debian.org>
* explicit_bzero: Use memset_s() when available.Bastien Roucariès2020-04-141-0/+7
| | | | | | | | | | 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>
* maint: Run 'make update-copyright'Paul Eggert2019-12-311-1/+1
|
* maint: Run 'make update-copyright'Paul Eggert2019-01-011-1/+1
|
* explicit_bzero: Make it possible to namespace the defined symbol.Bruno Haible2018-10-051-1/+3
| | | | | * lib/explicit_bzero.c (explicit_bzero): Don't undefine outside of glibc.
* maint: Run 'make update-copyright'Paul Eggert2018-01-011-1/+1
|
* explicit_bzero: port to macOS + Clang 9.0.0Paul Eggert2017-12-121-1/+1
| | | | | | Problem reported by Marcus Johnson (Bug#29658). * lib/explicit_bzero.c (explicit_bzero) [__clang__]: Don’t use asm.
* all: prefer https: URLsPaul Eggert2017-09-131-1/+1
|
* explicit_bzero: new modulePaul Eggert2017-07-161-0/+48
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.