]> git.eshelyaron.com Git - emacs.git/commit
Don't use Gnulib's explicit_bzero on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Sun, 19 Apr 2020 16:38:53 +0000 (19:38 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 19 Apr 2020 16:38:53 +0000 (19:38 +0300)
commit3f8b771da96f9a55dd5ed322104135a0c2c6f2e4
tree6362a2a1f4bc07411560a517a1557af77c8b4f75
parent65990f47ccd6f1a3558910d71701a6f029c35433
Don't use Gnulib's explicit_bzero on MS-Windows

This is a preventive change, since Gnulib was recently changed
its explicit_bzero to call SecureZeroMemory on MS-Windows,
disregarding systems older than XP, which didn't have it.

* src/w32.c (explicit_bzero): New function.

* nt/mingw-cfg.site (ac_cv_func_explicit_bzero): Avoid using the
Gnulib replacement for explicit_bzero.
* nt/inc/ms-w32.h (explicit_bzero): Add prototype.
nt/inc/ms-w32.h
nt/mingw-cfg.site
src/w32.c