From 72ab351acef2f2bc6b0e4f36d69e94f8fa064f3c Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 17 Sep 2012 10:12:20 +0100 Subject: syntax: Allow strncpy in launch-*.c files (thanks Jim Meyering). We use strncpy, justifiably, to copy the socket name into the fixed length Unix domain sun_path buffer. --- cfg.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/cfg.mk b/cfg.mk index 4e5a9d6c..000ea631 100644 --- a/cfg.mk +++ b/cfg.mk @@ -32,6 +32,7 @@ exclude_file_name_regexp--sc_prohibit_doubled_word = ^po/ exclude_file_name_regexp--sc_prohibit_magic_number_exit = ^(po|po-docs)/|\.pod$ exclude_file_name_regexp--sc_prohibit_strcmp = ^examples/ exclude_file_name_regexp--sc_prohibit_strcmp_and_strncmp = ^examples/ +exclude_file_name_regexp--sc_prohibit_strncpy = ^src/launch-.*\.c$ # Tests not to run as part of "make distcheck". local-checks-to-skip = \ -- cgit