summaryrefslogtreecommitdiff
path: root/locate
diff options
context:
space:
mode:
authorBernhard Voelker <mail@bernhard-voelker.de>2015-12-27 22:57:47 +0100
committerJames Youngman <jay@gnu.org>2015-12-28 10:15:31 +0000
commit852e4225aff4b304fec445ee322f8cf4a001675a (patch)
tree29a18b29622247919fdaeda55bf6672947945484 /locate
parent07968e17e45c4cb3e737970b55e6b9ecb9197cff (diff)
downloadfindutils-852e4225aff4b304fec445ee322f8cf4a001675a.tar.gz
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.
Diffstat (limited to 'locate')
-rw-r--r--locate/testsuite/locate.gnu/slocate.exp1
1 files changed, 0 insertions, 1 deletions
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" {}
-