maint: migrate strncpy-prohibiting rule to gnulib
authorJim Meyering <meyering@redhat.com>
Fri, 25 May 2012 15:18:05 +0000 (17:18 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 10 Jun 2012 20:02:26 +0000 (22:02 +0200)
* cfg.mk (sc_prohibit_strncpy): Remove rule.
Now it's in gnulib.

cfg.mk

diff --git a/cfg.mk b/cfg.mk
index c94109c..d14db04 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -403,12 +403,6 @@ sc_prohibit_strncmp:
          { echo '$(ME): use STREQ_LEN or STRPREFIX instead of str''ncmp' \
                1>&2; exit 1; } || :
 
-# Really.  You don't want to use this function.
-sc_prohibit_strncpy:
-       @prohibit='\<str''ncpy *\('                                     \
-       halt='do not use str''ncpy, period'                             \
-         $(_sc_search_regexp)
-
 # Enforce recommended preprocessor indentation style.
 sc_preprocessor_indentation:
        @if cppi --version >/dev/null 2>&1; then                        \