diff options
author | Bernhard Voelker <mail@bernhard-voelker.de> | 2021-08-22 18:41:17 +0200 |
---|---|---|
committer | Bernhard Voelker <mail@bernhard-voelker.de> | 2021-09-20 00:14:58 +0200 |
commit | 5768a03ddfb5e18b1682e339d6cdd24ff721c510 (patch) | |
tree | 9c7e587d8e43c2c655674245626787a97b252a0d /doc | |
parent | 2c56e00ec9d6a735b9054513a3842dad0ef73394 (diff) | |
download | findutils-5768a03ddfb5e18b1682e339d6cdd24ff721c510.tar.gz |
oldfind: remove
The FTS-based find is the default for a long time; oldfind has not been
installed since 4.5.18 (2015), and was only just used in tests.
* NEWS: Document the change.
* doc/find-maint.texi (Factor Out Repeated Code): Remove mentioning of
oldfind.
* find/.gitignore (/oldfind): Remove entry.
* find/Makefile.am (check_PROGRAMS): Remove.
(oldfind_SOURCES): Remove.
* find/defs.h (struct dir_id): Remove, it was only used in oldfind.c.
(symlink_handling): Likewise.
Adjust comments wrt oldfind otherwise.
* find/oldfind.c: Remove.
* find/testsuite/config/unix.exp: Remove the code to search for and
to run tests with oldfind.
* find/testsuite/find.posix/dotdotfiles.exp: Adjust comment.
* po/POTFILES.in (find/oldfind.c): Remove entry.
* tests/find/debug-missing-arg.sh: Remove run with oldfind.
* tests/find/exec-plus-last-file.sh: Likewise.
* tests/find/execdir-fd-leak.sh: Likewise.
* tests/find/many-dir-entries-vs-OOM.sh: Likewise.
* tests/find/name-lbracket-literal.sh: Likewise.
* tests/find/printf_escape_c.sh: Likewise.
* tests/find/printf_escapechars.sh: Likewise.
* tests/find/printf_inode.sh: Likewise.
* tests/find/refuse-noop.sh: Likewise.
* tests/find/type_list.sh: Likewise.
* tests/local.mk (built_programs): Remove oldfind from list.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/find-maint.texi | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/find-maint.texi b/doc/find-maint.texi index 647e6f5d..f033dc72 100644 --- a/doc/find-maint.texi +++ b/doc/find-maint.texi @@ -363,10 +363,7 @@ the nature of the input arguments which is in fact not true for the context of the now duplicated code. A good example of the use of refactoring in findutils is the -@code{collect_arg} function in @file{find/parser.c}. A less clear-cut -but larger example is the factoring out of code which would otherwise -have been duplicated between @file{find/oldfind.c} and -@code{find/ftsfind.c}. +@code{collect_arg} function in @file{find/parser.c}. The findutils test suite is comprehensive enough that refactoring code should not generally be a daunting prospect from a testing point of |