]> Savannah Git Hosting - gnulib.git/commit
memset_explicit: port to older MS-Windows
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 18 Dec 2022 07:45:56 +0000 (23:45 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 18 Dec 2022 07:46:43 +0000 (23:46 -0800)
commit5405c76d242b5b45ed867c3c5b31e291446b0790
treeeca94bdf6ac29d2d9818e4ef85ac40e835b6da2d
parent2b3ae7e179ad8a35cd13cd4d4d2cd62e1241f891
memset_explicit: port to older MS-Windows

* lib/memset_explicit.c (memset_explicit):
Remove special case for C==0 and MS-Windows.  The code isn’t
needed for correctness and it’s more trouble than it’s worth as it
prevents this module from being used with GNU Emacs, which wants
to port to MS-Windows versions so old that they lack
SecureZeroMemory.
ChangeLog
lib/memset_explicit.c