summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-07-15 11:38:51 +0200
committerJim Meyering <meyering@redhat.com>2012-07-15 13:43:49 +0200
commitf79263da4da048bf3a071e22530a0d2c02aff0df (patch)
treeeb67b1c28b4272d4e3c8a9c43dd5c0b31d734ea6 /cfg.mk
parent3c2973b86e70f184e95c4c87086095f52c2bb493 (diff)
downloadcoreutils-f79263da4da048bf3a071e22530a0d2c02aff0df.tar.xz
maint: remove unwarranted uses of strncpy
* src/pinky.c (print_entry): Remove unwarranted uses of strncpy. Instead, use stpcpy and stpncpy. * src/who.c (print_user): Likewise. * cfg.mk: Remove strncpy exemptions.
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk3
1 files changed, 0 insertions, 3 deletions
diff --git a/cfg.mk b/cfg.mk
index 6620eafd2..790238ca0 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -493,6 +493,3 @@ exclude_file_name_regexp--sc_prohibit_test_backticks = \
# Exempt test.c, since it's nominally shared, and relatively static.
exclude_file_name_regexp--sc_prohibit_operator_at_end_of_line = \
^src/(ptx|test|head)\.c$$
-
-# Exempt pinky and who: their uses of this function appear to be correct.
-exclude_file_name_regexp--sc_prohibit_strncpy = ^src/(pinky|who)\.c$$