From 58523fbd4ed166c0332ec43dbda00a0e7a7e3c32 Mon Sep 17 00:00:00 2001 From: James Youngman Date: Sun, 5 Jun 2011 00:21:31 +0100 Subject: [PATCH] Silence some false positives for sc_prohibit_always_true_header_tests. * .x-sc_prohibit_always_true_header_tests: New file; exclude build-aux/src-sniff.py from C inclusion tests, because it itself contains examples of string the syntac checkers don't like (because it's also a syntax checker). ChangeLog: also exclude this because it frequently contains the specifics of items added/removed, including examples of text which are this syntax check looks for. --- .x-sc_prohibit_always_true_header_tests | 2 ++ ChangeLog | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 .x-sc_prohibit_always_true_header_tests diff --git a/.x-sc_prohibit_always_true_header_tests b/.x-sc_prohibit_always_true_header_tests new file mode 100644 index 00000000..f4c0d62f --- /dev/null +++ b/.x-sc_prohibit_always_true_header_tests @@ -0,0 +1,2 @@ +build-aux/src-sniff\.py +ChangeLog diff --git a/ChangeLog b/ChangeLog index 9d426197..fb4cb733 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,14 @@ 2011-06-05 James Youngman + Silence some false positives for sc_prohibit_always_true_header_tests. + * .x-sc_prohibit_always_true_header_tests: New file; exclude + build-aux/src-sniff.py from C inclusion tests, because it itself + contains examples of string the syntac checkers don't like + (because it's also a syntax checker). + ChangeLog: also exclude this because it frequently contains the + specifics of items added/removed, including examples of text which + are this syntax check looks for. + Prefer "cannot" to "can not". * locate/locatedb.5: Change "can not" to "cannot". * locate/updatedb.1: Likewise.