diff options
author | Jim Meyering <meyering@redhat.com> | 2012-07-15 11:38:51 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-07-15 13:43:49 +0200 |
commit | f79263da4da048bf3a071e22530a0d2c02aff0df (patch) | |
tree | eb67b1c28b4272d4e3c8a9c43dd5c0b31d734ea6 /cfg.mk | |
parent | 3c2973b86e70f184e95c4c87086095f52c2bb493 (diff) | |
download | coreutils-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.mk | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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$$ |