diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-09-17 10:12:20 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-09-19 14:12:29 +0100 |
commit | 7e24c5bca48676d1e08ca55db9c94cba95e7a6f7 (patch) | |
tree | 41fb648d20011d3fcf4f3f419bca5c1c65662e01 | |
parent | 2c8a62a7a212a409685307fbf03316ba84c9c936 (diff) | |
download | libguestfs-7e24c5bca48676d1e08ca55db9c94cba95e7a6f7.tar.gz libguestfs-7e24c5bca48676d1e08ca55db9c94cba95e7a6f7.tar.xz libguestfs-7e24c5bca48676d1e08ca55db9c94cba95e7a6f7.zip |
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.
(cherry picked from commit 72ab351acef2f2bc6b0e4f36d69e94f8fa064f3c)
-rw-r--r-- | cfg.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 = \ |