Re: [PATCH 1/5] Use memset_s if possible for explicit_bzero

2020-04-11 Thread Bastien ROUCARIES
Ok, I will do that. On Sun, Apr 12, 2020 at 12:13 AM Bruno Haible wrote: > > Hello Bastien, > > Allow me a couple of comments, to make you more familiar with gnulib > coding conventions. > > > Some OS define memset_s instead of explicit_bzero. Use it. > > Indeed, FreeBSD 12 and Solaris 11.4

Re: [PATCH 1/5] Use memset_s if possible for explicit_bzero

2020-04-11 Thread Bruno Haible
Hello Bastien, Allow me a couple of comments, to make you more familiar with gnulib coding conventions. > Some OS define memset_s instead of explicit_bzero. Use it. Indeed, FreeBSD 12 and Solaris 11.4 provide 'memset_s'. > --- a/lib/explicit_bzero.c > +++ b/lib/explicit_bzero.c > @@ -25,6

[PATCH 1/5] Use memset_s if possible for explicit_bzero

2020-04-11 Thread roucaries . bastien
From: Bastien Roucariès Some OS define memset_s instead of explicit_bzero. Use it. Signed-off-by: Bastien Roucariès --- lib/explicit_bzero.c | 7 +++ m4/explicit_bzero.m4 | 5 + 2 files changed, 12 insertions(+) diff --git a/lib/explicit_bzero.c b/lib/explicit_bzero.c index