summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-05-25 17:18:05 +0200
committerJim Meyering <meyering@redhat.com>2012-06-10 22:02:26 +0200
commite106212d90c666ea6d0d27650ee12fdb49cad76b (patch)
tree43aaef1224477f8cbe9714432fec6cef20a56773 /cfg.mk
parent5b9206c1a851a29d7088bcef000e0c887200c5df (diff)
downloadcoreutils-e106212d90c666ea6d0d27650ee12fdb49cad76b.tar.xz
maint: migrate strncpy-prohibiting rule to gnulib
* cfg.mk (sc_prohibit_strncpy): Remove rule. Now it's in gnulib.
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk6
1 files changed, 0 insertions, 6 deletions
diff --git a/cfg.mk b/cfg.mk
index c94109ca3..d14db043e 100644
--- 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 \