• Eli Zaretskii's avatar
    Don't use Gnulib's explicit_bzero on MS-Windows · 3f8b771d
    Eli Zaretskii authored
    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.
    3f8b771d
w32.c 292 KB