From 22f7f568aa24a7cc4764bec723c7531e69cee947 Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Sun, 16 Sep 2012 17:23:49 +0700 Subject: [PATCH] syntax-check: skip prohibit_strncpy. * cfg.mk (local-checks-to-skip): sc_prohibit_strncpy. Signed-off-by: Gary V. Vaughan --- cfg.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cfg.mk b/cfg.mk index e80b1f6c0..fcaf39f9a 100644 --- a/cfg.mk +++ b/cfg.mk @@ -49,6 +49,7 @@ local-checks-to-skip = \ sc_cast_of_x_alloc_return_value \ sc_prohibit_always-defined_macros \ sc_prohibit_always_true_header_tests \ + sc_prohibit_strncpy \ sc_trailing_blank \ sc_unmarked_diagnostics @@ -61,6 +62,8 @@ local-checks-to-skip = \ # prohibit_always_true_header_tests: # we have our own argz and dirent, which are not *always* true, # so the guards cannot be removed in our case. +# prohibit_strncpy: +# what's so bad about strncpy anyway? # trailing_blank: flags valid rfc3676 separators # unmarked_diagnostics: libtool isn't internationalized -- 2.47.2