From 852e4225aff4b304fec445ee322f8cf4a001675a Mon Sep 17 00:00:00 2001 From: Bernhard Voelker Date: Sun, 27 Dec 2015 22:57:47 +0100 Subject: maint: avoid syntax-check failures * Makefile.am (gen-ChangeLog): Replace 8 spaces by a tab to avoid sc_makefile_TAB_only_indentation failure. * po/POTFILES.in: Remove some entries to let sc_po_check pass. While at it, sort the entries. * find/print.c (do_fprintf): Remove stray semicolon to let sc_prohibit_double_semicolon pass. * find/util.c (digest_mode): Likewise. * bootstrap.conf: Change comment to let sc_prohibit_doubled_word pass. * build-aux/git-log-fix: Remove empty lines at EOF to let sc_prohibit_empty_lines_at_EOF pass. * find/testsuite/Makefile.am: Likewise. * find/testsuite/sv-34079.sh: Likewise. * find/testsuite/test_inode.sh: Likewise. * locate/testsuite/locate.gnu/slocate.exp: Likewise. * lib/buildcmd.c: Remove unused include of openat header to let sc_prohibit_openat_without_use pass. * lib/listfile.c: Likewise. * find/util.c: Remove unused include of 'verify.h' to let sc_prohibit_verify_without_use pass. * xargs/xargs.c: Likewise. * find/parser.c (insert_regex): Mark error diagnostic for translation; found by 'make sc_unmarked_diagnostics'. * cfg.mk (exclude_file_name_regexp--sc_prohibit_strncpy): Exempt the 2 remaining sources using the possibly dangerous strncpy function from the syntax-check. --- locate/testsuite/locate.gnu/slocate.exp | 1 - 1 file changed, 1 deletion(-) (limited to 'locate') diff --git a/locate/testsuite/locate.gnu/slocate.exp b/locate/testsuite/locate.gnu/slocate.exp index c36d99dc..0d7f0fc7 100644 --- a/locate/testsuite/locate.gnu/slocate.exp +++ b/locate/testsuite/locate.gnu/slocate.exp @@ -6,4 +6,3 @@ exec touch $tmp/subdia exec mkdir $tmp/subdir exec touch $tmp/subdir/fred locate_start p "--changecwd=. --output=$tmp/locatedb --dbformat=slocate --localpaths=$tmp/subdi*" "--database=$tmp/locatedb -e subdi 2>/dev/null" {} - -- cgit v1.2.1