diff options
| author | Collin Funk <collin.funk1@gmail.com> | 2026-03-07 16:16:01 -0800 |
|---|---|---|
| committer | Collin Funk <collin.funk1@gmail.com> | 2026-03-07 16:16:01 -0800 |
| commit | ab80700bd2a6d11cfe17f8de0313e2ac13260965 (patch) | |
| tree | 69997457adc5b5d28d823e5ead651a312ccf2670 /scripts/git-hooks/commit-msg | |
| parent | 2b92c16d26d5905eb340436335cdfa19be105cae (diff) | |
| download | coreutils-ab80700bd2a6d11cfe17f8de0313e2ac13260965.tar.gz coreutils-ab80700bd2a6d11cfe17f8de0313e2ac13260965.zip | |
maint: prefer memset_explicit to explicit_bzero
The explicit_bzero function is a common extension, but memset_explicit
was standardized in C23. It will likely become more portable in the
future, and Gnulib provides an implementation if needed.
* bootstrap.conf (gnulib_modules): Add memset_explicit. Remove
explicit_bzero.
* gl/lib/randint.c (randint_free): Use memset_explicit instead of
explicit_bzero.
* gl/lib/randread.c (randread_free_body): Likewise.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions
