mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
maint: migrate strncpy-prohibiting rule to gnulib
* cfg.mk (sc_prohibit_strncpy): Remove rule. Now it's in gnulib.
This commit is contained in:
1 parent
5b9206c1a8
commit
e106212d90
1 file changed
-6
@@ -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 \
|
||||
|
||||
Reference in new issue
Block a user