replace: Add memset_s to replacement functions
authorAndreas Schneider <asn@samba.org>
Tue, 11 Dec 2018 17:09:14 +0000 (18:09 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 20 Dec 2018 11:16:39 +0000 (12:16 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/replace/README
lib/replace/wscript

index 9dd4f73..6612eab 100644 (file)
@@ -73,6 +73,7 @@ symlink
 realpath
 poll
 setproctitle
+memset_s
 
 Types:
 bool
index 173d7e6..6cbae93 100644 (file)
@@ -791,7 +791,7 @@ REPLACEMENT_FUNCTIONS = {
                   'utime', 'utimes', 'dup2', 'chown', 'link', 'readlink',
                   'symlink', 'lchown', 'realpath', 'memmem', 'vdprintf',
                   'dprintf', 'get_current_dir_name',
-                  'strerror_r', 'clock_gettime'],
+                  'strerror_r', 'clock_gettime', 'memset_s'],
     'timegm.c': ['timegm'],
     # Note: C99_VSNPRINTF is not a function, but a special condition
     # for replacement