From c2d5da2b1b788e0cd52f478e7e7fda9879e5fbf1 Mon Sep 17 00:00:00 2001 From: jay Date: Sun, 10 Jul 2005 19:31:38 +0000 Subject: [PATCH] Updated with recent changes. --- ChangeLog | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NEWS | 35 ++++++++++++++++++++++++++++++ 2 files changed, 108 insertions(+) diff --git a/ChangeLog b/ChangeLog index 74fa932..aad12e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,49 @@ +2005-07-10 James Youngman + + * NEWS: Updated with recent changes. + + * NEWS: Recent gnulib changes have fixed -iregex + + * doc/find.texi, xargs/xargs.1: Tiny patch from Andreas Metzler: + xargs -I is like xargs -i, but the latter is deprecated + +2005-07-06 James Youngman + + * find/defs.h, find/find.c, find/parser.c, find/pred.c: + Fixed Savannah bug #13650; programs run by -exec cannot read stdin + +2005-07-04 James Youngman + + * NEWS: *** empty log message *** + + * doc/find.texi: + Added a "Worked Examples" section. It currently only contains a + (long) example about deleting files. + + * .cvsignore: Some extra stuff to ignore. + +2005-07-03 James Youngman + + * find/Makefile.am: Don't need regexprops.c really... + + * lib/regextype.c, lib/regextype.h: + New files for selecting regex type based on a keyword + + * locate/locate.1: Documented the fact that we now use Emacs-style + regexps, not POSIX EREs, for compatibility with find -regex. + + * lib/Makefile.am, locate/locate.c, doc/find.texi, + find/Makefile.am, find/defs.h, find/find.1, find/find.c, + find/parser.c: Fixed Savannah bug #13495: find now uses + Emacs-style regexps by default + +2005-07-02 James Youngman + + * configure.in, find/defs.h, find/fstype.c, find/parser.c, + intl/dcigettext.c, lib/buildcmd.c, lib/listfile.c, + lib/savedirinfo.c, locate/locate.c, xargs/xargs.c: Assume unistd.h + is present - avoid using HAVE_UNISTD_H + 2005-07-01 Jim Meyering With `-fprint F' or `-fprintf F', don't write diagnostics @@ -7,12 +53,39 @@ (open_output_file): Use fopen_safer, not fopen. * import-gnulib.sh (findutils_modules): Add stdio-safer. +2005-07-01 James Youngman + + * doc/find.texi: + Aaron pointed out a potentially-confusing sentence. I fixed it. + + * find/defs.h, find/find.1, find/find.c, find/parser.c, + find/pred.c, find/util.c: Allow consistency-checking of the + predicates, checking for example that actions all have side + effects + +2005-06-29 James Youngman + + * doc/find.texi: Applied patch from Aaron Hawley (Savannah patch + #3751: Typos and small suggestions to find.texi) + +2005-06-27 James Youngman + + * ChangeLog, locate/locate.c: Applied patch from Bas Van Gompel to + move match counting into a (new) visitor function + + * NEWS, configure.in: No longer 4.2.23, as we're moving on now + 2005-06-24 Bas van Gompel * locate/locate.c (visit_count, visit_limit): New functions. (locate): Use visit_limit or visit_count. Simplify main loop. (main) Bail out early when limit is reached. +2005-06-20 James Youngman + + * xargs/xargs.c: + Removed some code which had already been disabled via the preprocessor. + 2005-06-19 Dmitry V. Levin * lib/savedirinfo.c: Fix two compilation warnings (which would diff --git a/NEWS b/NEWS index 7a232be..dd5e288 100644 --- a/NEWS +++ b/NEWS @@ -7,12 +7,47 @@ The manual now includes a "Worked Examples" section which talks about the various ways in which findutils can be used to perform common tasks, and why some of these alternatives are better than others. +The -I option of xargs (which is required by the POSIX standard) is +now documented. + +** Functional Changes + +*** Functional changes in locate + +The "--regex" option of locate now assumes the regular expression to +be in the same syntax as is used in GNU Emacs, though this can be +changed with the new option --regextype. This is a change from the +existing behaviour (which was to use POSIX Basic Regular Expressions). +Since this featrue is releatively new anyway, I though it was more +useful to have compatibility between regular expression handling in +find and locate than to maintain the short-lived previous behaviour of +locate. + +The locate program now also supports a "--regextype" long option which +controls which regular expression syntax is understood by locate. +This is a long option and has no single-letter 'short option' +equivalent. + +*** Functional changes in find + +The regular expression syntax understood by "find" can be changed with +the -regextype option; this option is positional, meaning that you can +have several tests, each using a diftinct syntax (this is not +recommended practice however). + ** Bug Fixes +** Bug Fixes for find + The -iregex test now works once again on systems that lack re_search() (that is, systems on which findutils needs to use the gnulib version of this function). +find -regex now once again uses GNU Emacs-compatible regular +expressions. + +If invoked with stderr closed, the -fprint and -fprintf actions now no +longer cause error messages to be sent into the output file. * Major changes in release 4.2.23 -- 2.11.4.GIT