]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
syntax-check: skip prohibit_strncpy.
authorGary V. Vaughan <gary@gnu.org>
Sun, 16 Sep 2012 10:23:49 +0000 (17:23 +0700)
committerGary V. Vaughan <gary@gnu.org>
Sun, 16 Sep 2012 10:52:16 +0000 (17:52 +0700)
* cfg.mk (local-checks-to-skip): sc_prohibit_strncpy.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
cfg.mk

diff --git a/cfg.mk b/cfg.mk
index e80b1f6c06698e04f3db415f9cf208dcaced1a02..fcaf39f9a286c534aec7619e0f6d7f3ee879a9fa 100644 (file)
--- 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