From 9968217b88016c223ecae64f6790d6cfaa4bd340 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 11 Dec 2018 18:09:14 +0100 Subject: [PATCH] replace: Add memset_s to replacement functions Signed-off-by: Andreas Schneider Reviewed-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- lib/replace/README | 1 + lib/replace/wscript | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/replace/README b/lib/replace/README index 9dd4f7305f3..6612eabd22a 100644 --- a/lib/replace/README +++ b/lib/replace/README @@ -73,6 +73,7 @@ symlink realpath poll setproctitle +memset_s Types: bool diff --git a/lib/replace/wscript b/lib/replace/wscript index 173d7e6d29a..6cbae932b20 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -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