71 Commits

Author SHA1 Message Date
Bernhard Voelker
733bb9a054 maint: update copyright year number ranges
Run 'make update-copyright'.

* lib/regexprops.c (copying): Update the year number manually.
* tests/sample-test: Adjust to use the single most recent year.
* All other files: Update copyright years via the above make run.
2026-01-02 11:46:15 +01:00
Bernhard Voelker
f1f6471ae8 maint: update copyright year number ranges
Run 'make update-copyright'.

* lib/regexprops.c (copying): Update the year number manually.
* tests/sample-test: Adjust to use the single most recent year.
* All other files: Update copyright years via the above make run.
2025-01-04 11:43:53 +01:00
Bernhard Voelker
ea1abfa968 maint: update copyright year number ranges
Run 'make update-copyright'.

* lib/regexprops.c (copying): Update the year number manually.
* tests/sample-test: Adjust to use the single most recent year.
* All other files: Update copyright years via the above make run.
2024-01-02 09:13:29 +01:00
Bernhard Voelker
73d020f472 maint: update copyright year number ranges
Run 'make update-copyright'.

* lib/regexprops.c (copying): Update the year number manually.
* tests/sample-test: Adjust to use the single most recent year.
* All other files: Update copyright years via the above make run.
2023-01-01 23:51:15 +01:00
Bernhard Voelker
db5ec614a7 maint: update copyright year number ranges
Run 'make update-copyright'.

* lib/regexprops.c (copying): Update the year number manually.
The format of the copyright year number range in Texinfo files is
"YEAR1--YEAR2" now, i.e., with 2x '-'.
* tests/sample-test: Adjust to use the single most recent year.
* All other files: Update copyright years via the above make run.
2022-01-02 18:42:35 +01:00
Bernhard Voelker
0dd5eaa329 maint: update gnulib to latest
Run 'make update-gnulib-to-latest' - thus pulling in 357 commits,
including the following which was also discussed in:
  https://savannah.gnu.org/bugs/?60383
  > test-framework-sh: remove unsafe entries from PATH

* gnulib: Update to latest.
* cfg.mk (local-checks-to-skip): Add and therefore disable sc_indent
as auto indent is too invasive for now.
* m4/mkinstalldirs.m4: Fix repeated word: s/can can/can/.  Reported by
a new rule in sc_prohibit_doubled_word.
* m4/noreturn.m4: Likewise.
* tests/init.sh: Likewise.
2021-11-27 23:03:16 +01:00
Bernhard Voelker
c5da48bcff maint: update copyright year number ranges
Run 'make update-copyright'.

* lib/regexprops.c (copying): Update the year number manually.
The format of the copyright year number range in Texinfo files is
"YEAR1--YEAR2" now, i.e., with 2x '-'.
* tests/sample-test: Likewise, here to avoid starting a year number range.
* All other files: Update copyright years via the above make run.
2021-01-02 01:46:51 +01:00
Bernhard Voelker
e6149e4014 build: remove 'withfts.m4' from distribution
* m4/Makefile.am (EXTRA_DIST): Remove 'withfts.m4'; that file was removed
with commit 42a28b0dfb.
2020-03-20 08:18:41 +01:00
Bernhard Voelker
42a28b0dfb build: remove --without-fts configure option
Trying to use this option lead to this error since v4.5.17-6-gfc260795:
  configure: error: Using --without-fts is not longer supported

* configure.ac (FIND_WITH_FTS): Remove.
* m4/withfts.m4: Remove file.
* NEWS: Document this build-related change.
2020-03-15 10:57:15 +01:00
Bernhard Voelker
f7ea96d2b8 maint: update copyright year number ranges
Run 'make update-copyright'.

* lib/regexprops.c (copying): Update the year number manually.
* tests/sample-test: Likewise, here to avoid starting a year number range.
* All other files: Update copyright years via the above make run.
2020-01-01 16:22:52 +01:00
Bernhard Voelker
487d0701c5 maint: update copyright year number ranges
Run 'make update-copyright'.

* lib/regexprops.c (copying): Update the year number manually.
* All other files: Update copyright years via the above make run.
2019-01-04 23:47:26 +01:00
Bernhard Voelker
8705455ce0 maint: update copyright year number ranges
Run 'make update-copyright'.

* lib/regexprops.c (copying): Update the year number manually.
* All other files: Update copyright years via the above make run.
2018-01-01 19:27:15 +01:00
Bernhard Voelker
77651af6a8 maint: update copyright year number ranges
Better late than never: run 'make update-copyright'.

* cfg.mk (update-copyright-env): Change UPDATE_COPYRIGHT_USE_INTERVALS
from 1 to 2 to get a minimal containing range of years; also set
UPDATE_COPYRIGHT_MAX_LINE_LENGTH to 79 characters.
* .x-update-copyright: Add an entry for bootstrap which comes from
gnulib.
* lib/qmark.c: While at it, fix a typo: s/courutils/coreutils/.
* lib/regexprops.c (copying): Update the text so that the
copyright years match the result of "make update-copyright".
* po/fi.po: Change copyright header so that "make update-copyright"
can pick it up: s/©/(C)/
* po/it.po: Likewise.
* po/vi.po: Likewise.
* All other files: Update copyright years via the above make run.
2017-10-23 00:45:18 +02:00
Bernhard Voelker
43b6de455e maint: update .gitignore files, remove obsolete .cvsignore files
* .gitignore (tool-versions.txt): Add entry.
(ABOUT-NLS): Change to ...
(/ABOUT-NLS): ... this to avoid ./bootstrap adding it again.
* build-aux/.gitignore (/ar-lib, /snippet/, /test-driver): Add entries.
While at it, use the git-specific '/' prefix on other entries, and sort
the file.
* doc/.gitignore (/dblocation.texi): Add entry.  Prefix other entries
with '/' and sort the file.
* find/.gitignore (/exec.o, /print.o): Likewise.
* find/testsuite/.gitignore (/configured-testfiles.txt, /*.log, /*.trs):
Likewise.
* lib/.gitignore (check-regexprops, /check-regexprops.log,
/check-regexprops.trs, /regexprops.texi.new, /splitstring.o,
/test_splitstring, /test_splitstring.log, /test_splitstring.o
/test_splitstring.trs, /test-suite.log): Likewise.
* po/.gitignore (/Makevars): Add entry.  While at it, prefix all
other entries with '/', too, to avoid bootstrap adding entries for
e.g. "/Makefile.in.in" again.
* .cvsignore: Remove file.
* build-aux/.cvsignore: Likewise.
* doc/.cvsignore: Likewise.
* find/.cvsignore: Likewise.
* find/testsuite/.cvsignore: Likewise.
* lib/.cvsignore: Likewise.
* locate/.cvsignore: Likewise.
* locate/testsuite/.cvsignore: Likewise.
* m4/.cvsignore: Likewise.
* po/.cvsignore: Likewise.
* xargs/.cvsignore: Likewise.
* xargs/testsuite/.cvsignore: Likewise.
2016-01-04 08:22:04 +01:00
James Youngman
265753b4af maint: update copyright years.
* lib/regexprops.c (copying): Update the text so that the
copyright years (and the line breaks) match the
result of "make update-copyright".
* doc/regexprops.texi: Tweak copyright years to match the
result of "make update-copyright".
* All other files: update copyright years if the file has
a copyright statement.
* .x-update-copyright: new file, a list of files to exclude
from automated copyright updates.
2016-01-03 23:27:34 +00:00
James Youngman
f298f37169 lib: FINDLIB_REPLACE_FUNCS has become obsolete, so delete findlib.
* configure.ac: gnulib supplies waitpid and C89 supplies strspn.
Hence there is no need for any call to FINDLIB_REPLACE_FUNCS.
That being the case we don't need to test it with forcefindlib.
* m4/findlib.m4: remove since FINDLIB_REPLACE_FUNCS is unused.
* m4/Makefile.am (EXTRA_DIST): findlib.m4 has been deleted, so
don't distribute it.
* lib/waitpid.c: remove, since gnulib provides this.
* lib/forcefindlib.c: remove, since there is no longer any need to
test FINDLIB_REPLACE_FUNCS.
* lib/Makefile.am (libfind_a_SOURCES): Specify this variable all
in one go, instead of in several parts.  Move some header files
into here instead of just having them in EXTRA_DIST.  Because
FINDLIBOBJS is empty now, there is no need to copy that to
libfind_a_LIBADD.
2016-01-03 16:52:02 +00:00
James Youngman
601cef07bb Apply some improvements suggested by Mike Frysinger.
These improvements were suggested at https://savannah.gnu.org/bugs/?46714.
* find/Makefile.am (check_PROGRAMS): Put oldfind in check_PROGRAMS
instead of noinst_PROGRAMS, so that we don't build it when it is
not needed.
* m4/withfts.m4 (FIND_WITH_FTS): Fix whitespace alignment.
(FIND_WITH_FTS): The WITH_FTS C preprocessor macro and the
accompanying Automake conditional are no longer needed.
* THANKS: Add Mike Frysinger.
2015-12-28 10:38:28 +00:00
James Youngman
fc260795fd Remove support for installing oldfind.
This fulfills a reqeust made as Savannah bug #46714.
* NEWS: Mention this change.
* m4/withfts.m4 (FIND_WITH_FTS): --with-fts is the only supported
choice.  The configure script now fails if run using --without-fts
or --with-fts=no.
* find/Makefile.am (noinst_PROGRAMS): Never install oldfind.
Delete the oldfind.1 and ftsfind.1 manpages, leaving only find.1.
Fix a typo and remove some commented-out lines.
* find/find.c (main): add a comment pointing out that this is not
the main() function of th binary that actually gets installed.
* find/ftsfind.1: delete.
* find/oldfind.1: delete.
* find/find.1: Remove the section "BINARIES" since there are no
longer two binaries.
* find/testsuite/config/unix.exp: Assume --with-fts; hence the binaries
are always called oldfind and find (and there is no ftsfind binary).
2015-12-27 21:07:56 +00:00
Jim Meyering
003c8e6e37 fix comment/changelog typos
First, change "cant" to "can't" manually in m4/nullsort.m4,
since "cant" had 3 replacement options.  Then remove "dum"
from the LocalWords lists in doc/*.texi.  It was not used.
Finally, perform the remaining changes mechanically using
http://github.com/lyda/misspell-check and
some perl to massage its diagnostics into sed -i commands:

git ls-files|grep -v '\.po$'|misspellings -f -|perl -nl \
  -e '/^(.*?)\[(\d+)\]: (\w+) -> "(.*?)"$/ or next;' \
  -e '($file,$n,$l,$r)=($1,$2,$3,$4); $q="'\''"; $r=~s/$q/$q\\$q$q/g;'\
  -e 'print "sed -i $q${n}s!$l!$r!$q $file"'|bash
2012-06-05 10:00:50 +01:00
James Youngman
233477a764 More copyright year updates.
* build-aux/check-testfiles.sh: Update copyright year.
* m4/noreturn.m4: Update copyright year.
* po/POTFILES.in: Update copyright year.
2011-06-04 13:08:49 +01:00
James Youngman
daff367499 Remove trailing blank lines.
* .x-sc_prohibit_empty_lines_at_EOF: Add list of exceptions to the
no-blank-lines-at-EOF syntax check.
* doc/regexprops.texi: Remove empty lines at the end of the file.
* find/finddata.c: Likewise.
* find/fstype.c: Likewise.
* find/testsuite/excuses.txt: Likewise.
* find/testsuite/find.gnu/access.exp: Likewise.
* find/testsuite/find.gnu/exec-one-rtn-fail.exp: Likewise.
* find/testsuite/find.gnu/posix-perminvalid.exp: Likewise.
* find/testsuite/find.gnu/samefile-missing.exp: Likewise.
* find/testsuite/find.gnu/samefile-p-brokenlink.exp: Likewise.
* find/testsuite/find.gnu/sv-bug-17490.exp: Likewise.
* find/testsuite/find.gnu/sv-bug-18222.exp: Likewise.
* find/testsuite/find.posix/bracket-depth.exp: Likewise.
* find/testsuite/find.posix/empty-parens.exp: Likewise.
* find/testsuite/find.posix/files-not-expressions1.exp: Likewise.
* find/testsuite/find.posix/files-not-expressions2.exp: Likewise.
* find/testsuite/find.posix/files-not-expressions3.exp: Likewise.
* find/testsuite/find.posix/group-empty.exp: Likewise.
* find/testsuite/find.posix/user-empty.exp: Likewise.
* find/testsuite/find.posix/user-missing.exp: Likewise.
* lib/extendbuf.c: Likewise.
* lib/fdleak.c: Likewise.
* lib/fdleak.h: Likewise.
* lib/findutils-version.h: Likewise.
* lib/gnulib-version.h: Likewise.
* lib/printquoted.c: Likewise.
* lib/regextype.c: Likewise.
* lib/safe-atoi.c: Likewise.
* locate/testsuite/config/unix.exp: Likewise.
* locate/testsuite/locate.gnu/exists1.exp: Likewise.
* locate/testsuite/locate.gnu/exists2.exp: Likewise.
* locate/testsuite/locate.gnu/exists3.exp: Likewise.
* locate/testsuite/locate.gnu/ignore_case1.exp: Likewise.
* locate/testsuite/locate.gnu/ignore_case2.exp: Likewise.
* locate/testsuite/locate.gnu/ignore_case3.exp: Likewise.
* locate/testsuite/locate.gnu/notexists1.exp: Likewise.
* locate/testsuite/locate.gnu/notexists2.exp: Likewise.
* locate/testsuite/locate.gnu/notexists3.exp: Likewise.
* locate/testsuite/locate.gnu/sv-bug-14535.exp: Likewise.
* m4/Makefile.am: Likewise.
* m4/nullsort.m4: Likewise.
* xargs/testsuite/xargs.posix/arg_max_32bit_linux_bug.exp: Likewise.
* xargs/testsuite/xargs.posix/arg_max_64bit_linux_bug.exp: Likewise.

Signed-off-by: James Youngman <jay@gnu.org>
2010-04-11 15:57:16 +01:00
James Youngman
781ac288c6 Update copyright years.
* find/defs.h: Update copyright years.
* find/finddata.c: Likewise.
* find/sharefile.h: Likewise.
* lib/buildcmd.h: Likewise.
* lib/dircallback.h: Likewise.
* lib/extendbuf.h: Likewise.
* lib/findutils-version.h: Likewise.
* lib/gnulib-version.h: Likewise.
* lib/listfile.h: Likewise.
* lib/nextelem.c: Likewise.
* lib/nextelem.h: Likewise.
* lib/printquoted.h: Likewise.
* lib/regextype.h: Likewise.
* lib/savedirinfo.h: Likewise.
* lib/strspn.c: Likewise.
* lib/waitpid.c: Likewise.
* locate/locatedb.h: Likewise.
* m4/mkinstalldirs.m4: Likewise.
* m4/noreturn.m4: Likewise.
* build-aux/check-testfiles.sh: Likewise.
* build-aux/src-sniff.py: Likewise.
* import-gnulib.sh: Likewise.
* locate/testsuite/config/unix.exp: Likewise.
* locate/updatedb.sh: Likewise.
* xargs/testsuite/config/unix.exp: Likewise.
* po/*.po: Likewise.

Signed-off-by: James Youngman <jay@gnu.org>
2010-04-03 12:22:57 +01:00
James Youngman
6115892b33 Fix some space-followed-by-tab sequences.
* NEWS: Change space-tab sequences to just spaces.
* build-aux/check-testfiles.sh (main): Likewise
* build-aux/src-sniff.py (checkers): Likewise.
* find/Makefile.am: Likewise.
* find/testsuite/find.posix/sv-bug-25359.exp: Likewise.
* import-gnulib.sh (check_merge_driver): Likewise.
* m4/withfts.m4 (FIND_WITH_FTS): Likewise.
* cfg.mk (false_positives): Explain why we can't enable the
sc_space_tab check (xargs .xo test files).

Signed-off-by: James Youngman <jay@gnu.org>
2010-04-03 10:07:29 +01:00
James Youngman
482dcb36e7 Quote the first argument of AC_DEFINE.
Signed-off-by: James Youngman <jay@gnu.org>
2010-04-02 21:20:29 +01:00
James Youngman
5dce9f443c Removed trailing whitespace.
Removed trailing whitespace.
* Makefile.am: Removed trailing white space.
* NEWS, build-aux/check-testfiles.sh, build-aux/src-sniff.py,
doc/Makefile.am, doc/find-maint.texi, doc/find.texi, find/Makefile.am,
find/defs.h, find/find.1, find/find.c, find/finddata.c, find/fstype.c,
find/ftsfind.c, find/parser.c, find/pred.c, find/tree.c, find/util.c,
import-gnulib.sh, lib/Makefile.am, lib/buildcmd.c, lib/buildcmd.h,
lib/dircallback.c, lib/dircallback.h, lib/extendbuf.c,
lib/extendbuf.h, lib/findutils-version.c, lib/findutils-version.h,
lib/forcefindlib.c, lib/gnulib-version.h, lib/listfile.c,
lib/modetype.h, lib/nextelem.c, lib/nextelem.h, lib/printquoted.c,
lib/printquoted.h, lib/qmark.c, lib/regexprops.c, lib/regextype.c,
lib/savedirinfo.c, lib/savedirinfo.h, lib/strspn.c, lib/wait.h,
lib/waitpid.c, locate/bigram.c, locate/code.c, locate/locate.1,
locate/locate.c, locate/locatedb.5, locate/locatedb.h,
locate/updatedb.1, locate/updatedb.sh, locate/word_io.c,
m4/findlib.m4, m4/nullsort.m4, m4/withfts.m4, xargs/xargs.1: Likewise.

Signed-off-by: James Youngman <jay@gnu.org>
2009-03-04 10:49:59 +00:00
James Youngman
15c9fec4e4 Fix Savannah bug #20310: If we are cross compiling, assume sort -z does not work on the target 2007-07-03 23:00:35 +00:00
James Youngman
6e06a9fc28 Ignore the usually-ignored files in git 2007-06-24 16:47:40 +00:00
James Youngman
0ed4a7cd24 Use AC_LANG_PROGRAM inside AC_COMPILE_IFELSE. 2007-06-09 12:05:04 +00:00
James Youngman
6506f06158 Do not use __attribute__((__noreturn__)) if it produces a compilation error 2007-05-24 08:13:46 +00:00
James Youngman
5944e8f170 Define the m4 macro MKINSTALLDIRS ourselves, because po/Makefile.in.in needs it but gnulib no longer provides it 2006-11-25 17:08:06 +00:00
James Youngman
9499a434f9 Applied patches from Paul Eggert 2006-08-20 18:18:42 +00:00
James Youngman
f0759ab8db Findutils 4.3.x defaults to using the the FTS implementation of find. 2005-11-21 05:42:27 +00:00
James Youngman
0df7d409bc Corrected typo (pointed out by Dmitry V. Levin). 2005-01-31 22:56:57 +00:00
James Youngman
b29b1fbbae Avoid suprious output of the test data when the tests fail. 2004-11-24 00:35:30 +00:00
James Youngman
ad8ea4c0d2 Added in the extra files we need to distribute, nullsort.m4
order-bad.bin order-good.bin
2004-11-07 22:41:46 +00:00
James Youngman
e7f5b3aebc jy_SORTZ: a macro to determine if the system has a sort command with a working -z option 2004-11-06 09:40:22 +00:00
James Youngman
7572a7f819 'cvs status' should ignore Makefile.in 2004-10-24 22:44:31 +00:00
James Youngman
e2bea8f503 Use gnulib-tool --import to import the gnulib code, rather than the odd way we were doing it before 2004-10-24 22:43:13 +00:00
James Youngman
7da8b17cf1 Merged changes made for version 4.1.20 onto the trunk 2003-06-14 15:41:26 +00:00
Kevin Dalley
4cef6c4192 *** empty log message *** 2001-06-09 19:52:19 +00:00
Kevin Dalley
324585802b Updates mostly from gettext-0.10.38 2001-06-09 19:51:01 +00:00
Kevin Dalley
0299b93dfb * jm-macros.m4 (jm_MACROS): remove jm_ICONV, which is replaced by
AM_ICONV, which is imported from gettext-0.10.38.  removed
jm_GLIBC21, which is required in AM_GNU_GETTEXT, which is
imported from gettext-0.10.38.
2001-06-09 19:09:26 +00:00
Kevin Dalley
464686094f *** empty log message *** 2001-06-09 18:20:42 +00:00
Kevin Dalley
baaebf3a8f reflects addition of codeset.m4 from gettext-0.10.38, automatically
generated.
2001-06-09 17:46:39 +00:00
Kevin Dalley
5403f7bd33 * progtest.m4, lcmessage.m4, isc-posix.m4, iconv.m4, glibc21.m4,
gettext.m4, codeset.m4: updated from gettext-0.10.38.
2001-06-09 17:43:10 +00:00
Kevin Dalley
29ece6a845 *** empty log message *** 2001-06-09 16:53:14 +00:00
Kevin Dalley
a3aa578f02 * jm-macros.m4 (jm_MACROS): add jm_FSTYPENAME 2001-06-09 16:16:33 +00:00
Kevin Dalley
c67ad03c66 files created by new automake/autoconf. 2001-06-05 06:15:14 +00:00
Kevin Dalley
c1690144b6 *** empty log message *** 2001-05-20 21:08:19 +00:00
Kevin Dalley
f22e9df9ad *** empty log message *** 2001-05-20 20:50:18 +00:00