Put the syntaxes in alphabetical order.
[findutils.git] / ChangeLog
blobaad12e9a0988566665baf290a04157c1a779178b
1 2005-07-10  James Youngman  <jay@gnu.org>
3         * NEWS: Updated with recent changes.
5         * NEWS: Recent gnulib changes have fixed -iregex
7         * doc/find.texi, xargs/xargs.1: Tiny patch from Andreas Metzler:
8         xargs -I is like xargs -i, but the latter is deprecated
10 2005-07-06  James Youngman  <jay@gnu.org>
12         * find/defs.h, find/find.c, find/parser.c, find/pred.c:
13         Fixed Savannah bug #13650; programs run by -exec cannot read stdin
15 2005-07-04  James Youngman  <jay@gnu.org>
17         * NEWS: *** empty log message ***
19         * doc/find.texi:
20         Added a "Worked Examples" section.   It currently only contains a
21         (long) example about deleting files.
23         * .cvsignore: Some extra stuff to ignore.
25 2005-07-03  James Youngman  <jay@gnu.org>
27         * find/Makefile.am: Don't need regexprops.c really...
29         * lib/regextype.c, lib/regextype.h:
30         New files for selecting regex type based on a keyword
32         * locate/locate.1: Documented the fact that we now use Emacs-style
33         regexps, not POSIX EREs, for compatibility with find -regex.
35         * lib/Makefile.am, locate/locate.c, doc/find.texi,
36         find/Makefile.am, find/defs.h, find/find.1, find/find.c,
37         find/parser.c: Fixed Savannah bug #13495: find now uses
38         Emacs-style regexps by default
40 2005-07-02  James Youngman  <jay@gnu.org>
42         * configure.in, find/defs.h, find/fstype.c, find/parser.c,
43         intl/dcigettext.c, lib/buildcmd.c, lib/listfile.c,
44         lib/savedirinfo.c, locate/locate.c, xargs/xargs.c: Assume unistd.h
45         is present - avoid using HAVE_UNISTD_H
47 2005-07-01  Jim Meyering  <jim@meyering.net>
49         With `-fprint F' or `-fprintf F', don't write diagnostics
50         to F when stderr is closed.
52         * find/parser.c: Include "stdio-safer.h".
53         (open_output_file): Use fopen_safer, not fopen.
54         * import-gnulib.sh (findutils_modules): Add stdio-safer.
56 2005-07-01  James Youngman  <jay@gnu.org>
58         * doc/find.texi:
59         Aaron pointed out a potentially-confusing sentence.  I fixed it.
61         * find/defs.h, find/find.1, find/find.c, find/parser.c,
62         find/pred.c, find/util.c: Allow consistency-checking of the
63         predicates, checking for example that actions all have side
64         effects
66 2005-06-29  James Youngman  <jay@gnu.org>
68         * doc/find.texi: Applied patch from Aaron Hawley (Savannah patch
69         #3751: Typos and small suggestions to find.texi)
71 2005-06-27  James Youngman  <jay@gnu.org>
73         * ChangeLog, locate/locate.c: Applied patch from Bas Van Gompel to
74         move match counting into a (new) visitor function
76         * NEWS, configure.in: No longer 4.2.23, as we're moving on now
78 2005-06-24  Bas van Gompel  <patch-findutils.buzz@bavag.tmfweb.nl>
80         * locate/locate.c (visit_count, visit_limit): New functions.
81         (locate): Use visit_limit or visit_count. Simplify main loop.
82         (main) Bail out early when limit is reached.
84 2005-06-20  James Youngman  <jay@gnu.org>
86         * xargs/xargs.c:
87         Removed some code which had already been disabled via the preprocessor.
89 2005-06-19  Dmitry V. Levin <ldv@altlinux.org>
91         * lib/savedirinfo.c: Fix two compilation warnings (which would 
92         prevent compilation if "-Wall -Werror" is in effect).
93         
94 2005-06-19  James Youngman  <jay@gnu.org>
96         * ChangeLog: Indicate that we made (are making) a release.
98         * ChangeLog, NEWS, configure.in: Preparing to release 4.2.23
100         * doc/find.texi: Fixed Texinfo syntax error in previous change
102         * doc/find.texi, xargs/xargs.1:
103         Document the fact that the -i and -L options are currently
104         incompatible (Savannah bug 13041).
106         * locate/updatedb.1, locate/updatedb.sh: Fix Savannah bug 13411 -
107         reject trailing slashes in updatedb's --prunepaths, bacsue these
108         will never be matched
110         * NEWS: Released findutils-4.2.23.
112         * doc/find.texi, xargs/xargs.1:
113         Document the fact that the -i and -L options are currently
114         incompatible (Savannah bug 13041).
116         * locate/updatedb.1, locate/updatedb.sh: Fix Savannah bug 13411 -
117         reject trailing slashes in updatedb's --prunepaths, because these
118         will never be matched.
120 2005-06-18  Martin Buchholz (trivial patch applied by James Youngman)
122         * find/defs.h, find/find.c, find/parser.c, doc/find.texi: Fix
123         typos/spelling errors (mostly in source code comments).
125 2005-06-18  Dmitry V. Levin  <ldv@altlinux.org>
127         Additional documentation tweaks for -execdir/-okdir actions.
128         * find/parser.c (parse_help): Mention -execdir and -ordir options.
129         * doc/find.texi, find/find.1: Additionally document new options.
130         
131 2005-06-12  Bas van Gompel  <patch-findutils.buzz@bavag.tmfweb.nl>
133         * locate/locate.c: Implement --all (-A).
134         
135         * NEWS, doc/find.texi, locate/locate.1: Document locate --all (-A)
136         
137 2005-06-12  James Youngman  <jay@gnu.org>
139         * find/find.c, NEWS:
140         Savannah bug #13381 (Debian bug 313081): if we have O_NOFOLLOW,
141         safely_chdir() does not need to call stat().  However, process_dir()
142         used to rely on using that stat information.  To work around this
143         problem, there is now an output parameter in safely_chdir() which
144         indicates if the stat buffer is valid.
145         This bug has possible security implications.
147         * find/find.1, doc/find.texi:
148         Applied patch from Andreas Metzler, improving the wording for the
149         documentation of the %k and %b format directives.  This patch does
150         not require a copyright assignment as it consists of several
151         copies of the same small wording change.
153 2005-06-11  James Youngman  <jay@gnu.org>
155         * find/find.1: Corrected spelling error 'writeable' to 'writable'.
157         * find/find.1, locate/locate.1:
158         Fixed Savannah bug #13363, typos in manpages (trivial change)
160 2005-06-10  James Youngman  <jay@gnu.org>
162         * find/find.c, lib/savedirinfo.c, lib/savedirinfo.h: Switch to a
163         new scheme for saving directory entry data which is extensible to
164         allow additional data to be saved.
166 2005-06-09  James Youngman  <jay@gnu.org>
168         * locate/testsuite/config/unix.exp:
169         Use the new normalize_dir procedure throughout.
171         * locate/testsuite/config/unix.exp: Move the normalisation into a
172         procedure.  Don't rely on the "file normalize" command being
173         available (it's new in Tcl 8.4).
175 2005-06-08  James Youngman  <jay@gnu.org>
177         * ChangeLog, NEWS, configure.in: Updated for recent changes
179         * doc/find.texi:
180         Explain that you should put the argument of -name in quotes.
182         * find/find.1:
183         Added a new "NON-BUGS" section pointing out things that look like bugs
184         but are caused by mistakes or misunderstandings.
186         * doc/find.texi, locate/locate.1: Applied Bas van Gompel's patch
187         which allows the database to be read from stdin.
189         * locate/locate.c:
190         Read the database in by using the "visitor" pattern.  Modified file
191         header comment to indicate that we no longer use the efficient
192         algorith described in ;login:.  Emit an error message if the
193         LOCATE_PATH variable implies that we should read stdin twice.
194         Most of this code is from Bas van Gompel.
196         * AUTHORS: Credit Bas van Gompel for his work on locate.
198         * lib/printquoted.h: Appled patch from Bas - fixing compiler warning.
200 2005-06-07  James Youngman  <jay@gnu.org>
202         * ChangeLog, NEWS, configure.in: Updates prior to release
204         * config.rpath: Added file required for 'make dist'
206         * po/be.po, po/ca.po, po/da.po, po/de.po, po/el.po, po/eo.po,
207         po/es.po, po/et.po, po/fi.po, po/findutils.pot, po/fr.po,
208         po/ga.po, po/gl.po, po/hr.po, po/hu.po, po/id.po, po/it.po,
209         po/ja.po, po/ko.po, po/lg.po, po/ms.po, po/nl.po, po/pl.po,
210         po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/rw.po, po/sk.po,
211         po/sl.po, po/sr.po, po/sv.po, po/tr.po, po/vi.po, po/zh_CN.po:
212         updated the po files for release
214         * xargs/testsuite/Makefile.am:
215         Added in all the test files from Dmitry V. Levin.
217 2005-06-08  Bas van Gompel  <patch-findutils.buzz@bavag.tmfweb.nl>
219         * NEWS, locate/locate.1, doc/find.texi: Document usage of `-'
220         to refer to stdin in database-path for locate.
221         * locate/locate.c: Change prototype for visitors and processors
222         throughout. Move reading the database and generating base_name
223         into visitors. Allow `-' to refer to stdin in database-path.
225         * lib/printquoted.h: Include stdio.h.
227 2005-06-07  James Youngman  <jay@gnu.org>
229         * COPYING, debian/copyright, depcomp, doc/texinfo.tex,
230         find/defs.h, find/find.c, find/fstype.c, find/parser.c,
231         find/pred.c, find/testsuite/config/unix.exp, find/tree.c,
232         find/util.c, import-gnulib.sh, intl/Makefile.in,
233         intl/bindtextdom.c, intl/config.charset, intl/dcgettext.c,
234         intl/dcigettext.c, intl/dcngettext.c, intl/dgettext.c,
235         intl/dngettext.c, intl/explodename.c, intl/finddomain.c,
236         intl/gettext.c, intl/gettext.h, intl/gettextP.h,
237         intl/hash-string.h, intl/intl-compat.c, intl/l10nflist.c,
238         intl/libgettext.h, intl/libgnuintl.h, intl/loadinfo.h,
239         intl/loadmsgcat.c, intl/localcharset.c, intl/locale.alias,
240         intl/localealias.c, intl/ngettext.c, intl/plural.c, intl/plural.y,
241         intl/ref-add.sin, intl/ref-del.sin, intl/textdomain.c,
242         lib/buildcmd.c, lib/buildcmd.h, lib/extendbuf.c, lib/extendbuf.h,
243         lib/forcefindlib.c, lib/listfile.c, lib/listfile.h,
244         lib/modetype.h, lib/nextelem.c, lib/nextelem.h, lib/printquoted.c,
245         lib/printquoted.h, lib/qmark.c, lib/savedirinfo.c,
246         lib/savedirinfo.h, lib/strspn.c, lib/wait.h, lib/waitpid.c,
247         locate/bigram.c, locate/code.c, locate/frcode.c, locate/locate.c,
248         locate/locatedb.h, locate/testsuite/config/unix.exp,
249         locate/updatedb.sh, missing, po/fetch-po-files,
250         xargs/testsuite/config/unix.exp, xargs/xargs.c: 
251         Updated the FSF's postal address
253         * ChangeLog: Corrected Bas's email address.
255         * locate/locate.c: Updated copyright years.
257 2005-06-07  Bas van Gompel  <patch-findutils.buzz@bavag.tmfweb.nl>
259          * locate/locate.c: Fold case once, only when needed.
260   
261 2005-06-07  James Youngman  <jay@gnu.org>
263         * NEWS: Updated with recent changes.
265         * mdate-sh: Use the mdate-sh from automake
267         * find/parser.c, find/pred.c, find/tree.c, find/util.c,
268         lib/Makefile.am, lib/forcefindlib.c, lib/listfile.c,
269         lib/listfile.h, locate/code.c, locate/locate.c, find/defs.h,
270         find/find.c: Fix Savannah bug #13324: Fix compiler warnings for
271         GCC-3.4
273         * locate/locate.c:
274         Fixed Savannah bug #13325: Quoting of output filenames in locate
275         should match find.
277         * find/parser.c:
278         Fixed Savannah bug #13319: C9X-ism in parser.c (declaration after
279         statements).
281         * find/pred.c, lib/Makefile.am, lib/listfile.c, lib/nextelem.c,
282         lib/printquoted.c, lib/printquoted.h, lib/qmark.c, NEWS,
283         doc/find.texi, find/defs.h, find/find.1, find/parser.c: Fixed
284         Savannah bug #13303, find should filter out non-printable
285         characters if outputting to tty
287 2005-05-30  James Youngman  <jay@gnu.org>
289         * locate/locate.c: rename new_locate() to locate() since
290           old_locate() has gone the way of the dodo.
292 2005-05-29  Bas van Gompel  <patch-findutils.buzz@bavag.tmfweb.nl>
294         Add a ``--print'' (``-p'') option. (to cancel side-effects of -c/-S)
295         Allow ``--statistics'' in combination with non-options.
296         * doc/find.texi: Add documentation for locate --print (-p), and the
297         use of non-options with --statistics.
298         * locate/locate.1: ditto.
299         * locate/locate.c: Read each database only once.
301 2005-05-23  Paul Eggert  <eggert@cs.ucla.edu>
303         Adjust to recent gnulib changes.
304         * import-gnulib.sh: Get config.rpath from gnulib/build-aux,
305         not gnulib/config.
306         * find/parser.c (parse_perm): Ignore umask when parsing
307         symbolic permissions.  Adjust to new modechange API.
309 2005-05-16  James Youngman  <jay@gnu.org>
311         * find/find.c, find/parser.c, find/pred.c, find/tree.c:
312         Trivial change: don't use i18n support for debug-only messages
314         * ChangeLog: Added ChangeLog entry crediting Dmitry
316 2005-05-09  James Youngman  <jay@gnu.org>
318         * find/parser.c:
319         The previous change fixed Savannah bug #12999.  This change doesn't do
320         anything, it's only intended to be a place to record the Savannah bug
321         ID we've just fixed.
323         * find/parser.c:
324         Oops.  Initialise the variable which indicates which regex syntax to
325         use.  We use POSIX basic regular expressions.
327         * find/parser.c:
328         Suggestion by Ed Avis: point out that "-name foo/bar" will almost
329         always evaluate to false.   Suggest to the user what alternatives they
330         might find useful.
332 2005-05-02  James Youngman  <jay@gnu.org>
334         * AUTHORS:
335         Added Dimitry (his new test suite contribution required a copyright
336         assignment).
338 2005-05-03  Dmitry V. Levin
340         * Added xargs test suite tests by Dmitry V. Levin, together with
341           bugfixes which ensure that the tests pass.
343 2005-04-18  James Youngman  <jay@gnu.org>
345         * Added test suite tests for Bas van Gompel's changes.
347 2005-04-18  Bas van Gompel  <patch-findutils.buzz@bavag.tmfweb.nl>
349         * doc/find.texi: Document locate --non-existing (-E).
350         * locate/locate.1: Ditto.
351         * locate/locate.c: Implement --non-existing (-E).
352    
353 2005-04-04  James Youngman  <jay@gnu.org>
355         * configure.in, import-gnulib.sh:
356         We no longer need gnulib/m4/Makefile.am
358         * po/vi.po: Updated Vietnamese translation
360         * locate/updatedb.sh:
361         Savannah bug #12491: Only use the "-s" option to "su" if it is
362         supported.
364 2005-04-01  James Youngman  <jay@gnu.org>
366         * locate/locate.1, locate/updatedb.1, xargs/xargs.1: Trivial
367         change from A Costa <agcosta@gis.net>, fixing typos in manual
368         pages for xargs, locate and updatedb; fixes Savannah bug #12500,
369         Debian bug #301934
371 2005-03-22  James Youngman  <jay@gnu.org>
373         * import-gnulib.sh: Include the new gnulib module stat-macros
375         * configure.in:
376         CVS code is (will shortly be) no longer identical to the 4.2.20 release
378 2005-03-17  James Youngman  <jay@gnu.org>
380         * configure.in: Preprare for release of 4.2.20.
382         * NEWS: Updated prior to release of 4.2.20.
384         * ChangeLog: Updated with recent changes.
386         * THANKS: Thank Bas van Gompel, but only once.
388         * THANKS: Thank Bas van Gompel and Aaron S. Hawley.
390         * po/vi.po: Updated Vietnamese PO file
392 2005-03-10  James Youngman  <jay@gnu.org>
394         * po/nl.po: Updated Dutch PO file
396 2005-03-08  Bas van Gompel  <patch-findutils.buzz@bavag.tmfweb.nl>
398         * import-gnulib.sh: Re-enable creation of gnulib/m4/Makefile.am.
400 2005-03-07  James Youngman  <jay@gnu.org>
402         * Released findutils-4.2.19.
404         * find/testsuite/find.posix/sizes.exp:
405         Use 2>/dev/null instead of 2>&1, because Tcl understands the former
406         but not the latter.
408         * find/testsuite/Makefile.am: Also distribute sv-bug-12181.xo.
410         * find/testsuite/Makefile.am: Distribute sv-bug-12181.
412         * find/testsuite/Makefile.am: Distribute sv-bug-12230.
414         * NEWS: Updated with new news.
416         * ChangeLog: Brought up to date.
418         * lib/buildcmd.c, find/testsuite/find.gnu/sv-bug-12230.exp: Fixed
419         Savannah bug #12230, in which '-exec echo == {} +' is always run,
420         even if there were no matched files.
422 2005-03-06  James Youngman  <jay@gnu.org>
424         * ChangeLog: Added latest changes.
426         * po/pt.po, configure.in: Added Portuguese translation
428 2005-03-04  James Youngman  <jay@gnu.org>
430         * configure.in: Modernized the way we call AC_INIT and
431         AM_INIT_AUTOMAKE
433         * locate/locate.c, find/pred.c, find/find.c:
434         Eliminated some compiler warnings
436         * find/pred.c: Clarified the meaning of a comment.
438         * find/testsuite/Makefile.am: Added sizes.exp, sizes.xo.
440         * find/testsuite/find.posix/sizes.xo,
441         find/testsuite/find.posix/sizes.exp: Added tests for -size
442         predicate
444 2005-03-03  James Youngman  <jay@gnu.org>
446         * find/find.c:
447         safely_chdir_lstat(): if we didn't end up in the right place, and then
448         fchdir() fails, we can't return to the directory we started in.
449         Therefore, issue a fatal error message and exit.
451 2005-03-01  James Youngman  <jay@gnu.org>
453         * find/find.c, find/testsuite/find.posix/sv-bug-12181.exp,
454         find/testsuite/find.posix/sv-bug-12181.xo: Fixed SourceForge bug
455         12181 (find -H symlink-to-dir reports 'Too many Symbolic links')
456         and bug 12044 (find still hangs on dead NFS filesystems on
457         Solaris)
459 2005-02-28  James Youngman  <jay@gnu.org>
461         * doc/find.texi: Typo: O_NOFOLLOW, not O_FOLLOW
463         * import-gnulib.sh:
464         Suggestion from Martin Buchholz; unset CDPATH to prevent "cd" echoing
465         the new directory.
467 2005-02-27  James Youngman  <jay@gnu.org>
469         * README: Indicate how the reader can verify the release.
471 2005-02-26  James Youngman  <jay@gnu.org>
473         * po/sk.po, po/sl.po, po/sr.po, po/sv.po, po/tr.po, po/vi.po,
474         po/zh_CN.po, po/be.po, po/ca.po, po/da.po, po/de.po, po/el.po,
475         po/eo.po, po/es.po, po/et.po, po/fi.po, po/findutils.pot,
476         po/fr.po, po/gl.po, po/hr.po, po/hu.po, po/id.po, po/it.po,
477         po/ja.po, po/ko.po, po/lg.po, po/ms.po, po/nl.po, po/pl.po,
478         po/pt_BR.po, po/ro.po, po/ru.po: Added new Vietnamese translation
480         * configure.in: Added new Vietnamese translation.
482 2005-02-25  James Youngman  <jay@gnu.org>
484         * po/ga.po: Updated Irish po file
486 2005-02-23  James Youngman  <jay@gnu.org>
488         * Makefile.am: Fix Savannah bug #12064 - 'make distclean' deletes
489         regex.c but should not.
491         * find/testsuite/Makefile.am,
492         find/testsuite/find.gnu/printf-h.exp,
493         find/testsuite/find.gnu/printf-h.xo: Added test case for Savannah
494         bug #12085 (-printf %h).
496         * NEWS, doc/find.texi, find/find.1, find/pred.c:
497         %h now expands to '.' instead of nothing.
499 2005-02-22  James Youngman  <jay@gnu.org>
501         * find/find.c:
502         Fixed Savannah bug #12099 (misinterpretation of system versions
503         leading to possible incorrect disabling of O_NOFOLLOW).  Reported by
504         Dmitry V. Levin.
506         * find/pred.c:
507         For the %h format, don't bail out early as the format might contain
508         something else too.
510 2005-02-21  James Youngman  <jay@gnu.org>
512         * find/find.c: Fixed accidental C99 dependency.
514 2005-02-20  James Youngman  <jay@gnu.org>
516         * po/be.po, po/ca.po, po/da.po, po/de.po, po/el.po, po/eo.po,
517         po/es.po, po/et.po, po/fi.po, po/findutils.pot, po/fr.po,
518         po/ga.po, po/gl.po, po/hr.po, po/hu.po, po/id.po, po/it.po,
519         po/ja.po, po/ko.po, po/lg.po, po/ms.po, po/nl.po, po/pl.po,
520         po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sl.po, po/sr.po,
521         po/sv.po, po/tr.po, po/zh_CN.po: Updated italian translation
523         * doc/find.texi: Corrected a typo.
525         * find/find.c:
526         Read the mounted device list afer parsing the command line, so that
527         for example "find --version" still works (in response to Savannah bug
528         #12044).
530         * configure.in: We've moved on from findutils-4.2.18.
532 2005-02-19  James Youngman  <jay@gnu.org>
534         * NEWS: Corrected the summary of the "find -depth" bug.
536 2005-02-16  James Youngman  <jay@gnu.org>
538         * NEWS, configure.in: Prepared for release of 4.2.18.
540         * ChangeLog: Updated prior to release of 4.2.18.
542         * find/testsuite/Makefile.am:
543         Distribute the test cases for the recent "find -depth" bug.
545         * find/testsuite/find.posix/depth1.exp, find/testsuite/find.posix/depth1.xo:
546         Added test case for find -depth bug reported by Joseph S. Myers
548         * find/find.c:
549         If -depth is in effect, processing of the subdirectories invalidates
550         the information in 'state'.  Therefore once we get around to
551         processing the predicates, restore the information that we keep in
552         'state' and in 'stat_buf'.
554 2005-02-15  James Youngman  <jay@gnu.org>
556         * ChangeLog: Updated with recent changes
558         * find/find.1:
559         Emphasise that -L causes find to recurse into subdirectories pointed
560         to by symbolic links.
562         * find/find.1:
563         Patch to find.1 from Aaron Hawley <Aaron.Hawley@uvm.edu>:
565         * Notes about -H actually apply to -L.
566         * Said paragraph is duplicated two paragraphs later.
567         * Typos: nno, ibmue, surrpounding
569 2005-02-15  Aaron Hawley  <Aaron.Hawley@uvm.edu>
571         * find/find.1: Notes about -H actually apply to -L.  Said
572         paragraph is duplicated two paragraphs later.  Also typos: nno,
573         ibmue, surrpounding
575 2005-02-13  James Youngman  <jay@gnu.org>
577         * find/find.1: Miscellaneous small clarifications and improvements.
579         * doc/find.texi: Added Info nodes and menus under "Changing the
580         Current Working Directory" so that it doesn't generate such a huge
581         Info page.
583         * find/find.c: Parenthesise #if defined(...).
585 2005-02-13  Dmitry V. Levin  <ldv@altlinux.org>
586         
587         * find/find.c: remove test code snippet (time(NULL) was used to
588         place a marker for spotting with strace(), but was not actually
589         needed).
591         * find/find.c (safely_chdir_nofollow): must not fall back on
592         safely_chdir_lstat() because that will expose it to race condition
593         exploits, making it pointless.
595         * find/find.c (safely_chdir_lstat): Move
596         complete_pending_execdirs() up into safely_chdir(), because we
597         need to do that in either case.
599 2005-02-12  James Youngman  <jay@gnu.org>
601         * configure.in, doc/find.texi, find/defs.h, find/find.c,
602         find/parser.c: Fix for Savannah bug #11879, that
603         init_mounted_dev_list() causes find to hang on systems which are
604         clients to dead NFS servers
606 2005-02-10  James Youngman  <jay@gnu.org>
608         * doc/find.texi: Talk about the problem where find will not work
609         if you have a filesystem mounted from an unresponsive NFS server.
611 2005-02-09  James Youngman  <jay@gnu.org>
613         * find/find.1: Indicate that $TZ affects from printf-format
614         results, and add extra cross-references in the SEE ALSO section.
616 2005-02-08  James Youngman  <jay@gnu.org>
618         * xargs/testsuite/Makefile.am: Distribute the .xe files also.
620         * Makefile.am: Check that we have the right number of .xe files in
621         the distribution also.
623         * ChangeLog, NEWS, configure.in
624         Preparing to release findutils-4.2.17
626 2005-02-07  James Youngman  <jay@gnu.org>
628         * find/testsuite/config/unix.exp: Re-sort the .xo file using the
629         calling user's locale, because our 'pre-sorted' .so output file
630         may not be sorted with the same collating order as 'sort' used to
631         order the output of "find.  Bug spotted by Vin Shelton and Dimitry
632         V. Levin.
634         * find/testsuite/Makefile.am:
635         New test, find/testsuite/find.gnu/follow-arg-parent-symlink.exp.
637         * find/testsuite/find.gnu/follow-arg-parent-symlink.exp,
638         find/testsuite/find.gnu/follow-arg-parent-symlink.xo, find/find.c:
639         Fix for starting point /foo/bar/baz where bar is a symlink but baz
640         is not - we should chdir into bar there even if it is a symbolic
641         link
643 2005-02-07  James Youngman  <jay@gnu.org>
645         * find/testsuite/Makefile.am:
646         New test, find/testsuite/find.gnu/follow-arg-parent-symlink.exp.
648         * find/testsuite/find.gnu/follow-arg-parent-symlink.exp,
649         find/testsuite/find.gnu/follow-arg-parent-symlink.xo, find/find.c:
650         Fix for starting point /foo/bar/baz where bar is a symlink but baz
651         is not - we should chdir into bar there even if it is a symbolic
652         link
654 2005-02-06  James Youngman  <jay@gnu.org>
656         * doc/find.texi:
657         -size: Clarification - -size gives a result consistent with 'wc -c'
658          for example.
660         * Makefile.am, find/testsuite/Makefile.am,
661         find/testsuite/find.gnu/execdir-root-only.exp,
662         find/testsuite/find.gnu/execdir-root-only.xo,
663         locate/testsuite/Makefile.am, xargs/testsuite/Makefile.am:
664         dist-hook: Ensure that we distribute all the .po files and all the
665         testsuite files
667         * po/pl.po: Updated Polish translation from TP website
669 2005-02-05  Dmitry V. Levin  <ldv@altlinux.org>
671         * find/parser.c, find/pred.c: Additional tweaks for
672         -execdir/-okdir actions.
673         
674         * find/parser.c (new_insert_exec_ok): Disable ignore_readdir_race
675         for -execdir/-okdir.
676         
677         * find/pred.c (pred_execdir, pred_okdir): Use state.rel_pathname
678         instead of basename(pathname).  Do not add "./" prefix for
679         absolute pathnames.
680         
681         * find/find.c (process_top_path): Treat "/" similarly to ".".
683         * xargs/testsuite/xargs.posix/savannah-11865.exp,
684         xargs/testsuite/xargs.posix/savannah-11865.xo, xargs/xargs.c:
685         Fixed Savannah bug #11866 (not resetting number of used chars in
686         the command buffer) - reported by Dimitry V. Levin
688 2005-02-05  James Youngman  <jay@gnu.org>
690         * THANKS:
691         Added thanks for Dimitry - has produced many patches, bugfixes and
692         suggestions.
694         * find/pred.c:
695         Fixed Savannah bug #11866: typo in pred_okdir() renders it useless
697         * find/pred.c:
698         Savannah bug #11861: undefined symbol 'basename' on IRIX 5.3
700         * NEWS, configure.in, po/be.po, po/ca.po, po/el.po, po/eo.po,
701         po/fi.po, po/ga.po, po/hr.po, po/hu.po, po/ja.po, po/lg.po,
702         po/ms.po, po/ro.po, po/sl.po, po/sr.po, po/zh_CN.po: Added new
703         translations
705         * ChangeLog: Updated from CVS prior to release of 4.2.16.
707         * po/ChangeLog: Updated from CVS.
709         * NEWS, configure.in: Preparing to release 4.2.16
711         * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot,
712         po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po,
713         po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sl.po, po/sv.po,
714         po/tr.po: make update-po prior to 'make distcheck'
716         * po/fetch-po-files: This is the first version we actually used.
718         * find/find.c: process_top_path() fixed compilation warning.
720         * find/find.c: process_top_path(): avoid processing this item if
721         we can't chdir to the basename of the named file.
723         * lib/Makefile.am: Always build forcefindlib.c
725         * locate/locate.c: Say 'base name' rather than 'basename' in comments
727         * find/pred.c, find/find.c: process_top_path(): Proper bugfix for
728         correct handling of items at depth 0 (i.e. specified on the
729         command line) - do an extra chdir to ensure that we're in the
730         directory containing the item before calling process_path().
731         Hnece also undo the previous 'quick fix' for the same problem
733         * doc/find.texi:
734         -execdir no longer has to treat anything as special, even at depth 0.
736 2005-02-03  James Youngman  <jay@gnu.org>
738         * doc/find.texi, find/pred.c: When state.curdepth is 0, our
739         working directory is not the directory containing the file we are
740         processing.
742 2005-02-02  James Youngman  <jay@gnu.org>
744         * find/pred.c:
745         To allow compilation on cygwin, use base_name(), not basename().
748 2005-02-01  James Youngman  <jay@gnu.org>
750         * ChangeLog: Updated from CVS log.
752 2005-01-31  James Youngman  <jay@gnu.org>
754         * find/find.c, lib/nextelem.c, lib/nextelem.h, locate/code.c,
755         locate/frcode.c, locate/testsuite/config/unix.exp,
756         xargs/testsuite/config/unix.exp, xargs/xargs.c: Updated/corrected
757         the email address for David MacKenzie, one of the original authors
758         of findutils
760         * doc/Makefile.am: The HTML version of the manual generated for
761         the GNU project website has each node in a separate file, not each
762         chapter in a separate file; adjust filenames accordingly
764         * find/parser.c, find/pred.c, lib/savedirinfo.c:
765         Removed some unused variables (patch from Dmitry V. Levin)
767         * find/find.c:
768         Patch from Dmitry V. Levin <ldv@altlinux.org>: Add subfs to the list
769         of filesystems which are likely to be automounted.
771         * m4/findlib.m4: Corrected typo (pointed out by Dmitry V. Levin).
773         * find/testsuite/config/unix.exp,
774         find/testsuite/find.gnu/name-period.xo,
775         find/testsuite/find.gnu/posix-dflt.xo,
776         find/testsuite/find.gnu/posix-h.xo,
777         find/testsuite/find.gnu/posix-l.xo,
778         find/testsuite/find.gnu/printf.exp,
779         find/testsuite/find.gnu/printf.xo: Systems differ in the order in
780         which filenames are returned by readdir.  Hence sort the output of
781         'find' before comparing against the expected-output file.  We
782         therefore also have the lines in the .xo files ready-sorted.
784 2005-01-30  James Youngman  <jay@gnu.org>
786         * doc/Makefile.am:
787         Added rules for extra targets that we buld to update the web site.
789 2005-01-29  James Youngman  <jay@gnu.org>
791         * configure.in: No longer version 4.2.15 - we've changed the manual.
793         * doc/find.texi:
794         Clarified the txt about adding extra tests with post-processing via
795         xargs, and recommend -execdir instead for security reasons.
797         * doc/find.texi: Patch from Karl Berry:
798         - more entries for the dir file
799         - use @copying so the copyright ends up in the HTML etc. output.
800           (This is the only really important change.)
801         - put @contents after the title page, for conventional toc location.
802         - use @ifnottex to wrap the Top node instead of @ifinfo, for the sake of
803           HTML output, etc.
805         * NEWS, configure.in, po/da.po, po/de.po, po/es.po, po/et.po,
806         po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po,
807         po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po,
808         po/sv.po, po/tr.po: Prepared to release findutils-4.2.15
810         * ChangeLog: Updated from CVS log.
812 2005-01-28  James Youngman  <jay@gnu.org>
814         * configure.in:
815         Make --enable-d_type-optimization and --enable-d_type-optimisation
816         both work.
818         * configure.in: Assume --enable-d_type-optimisation by default
820         * find/parser.c: Indicate which features are enabled/disabled
822         * locate/testsuite/config/unix.exp:
823         Clean up the files left behind by the locate_textonly test
825 2005-01-27  James Youngman  <jay@gnu.org>
827         * doc/find.texi: Documented --regex.
829         * NEWS, locate/locate.1, locate/locate.c, locate/testsuite/Makefile.am, locate/testsuite/config/unix.exp, locate/testsuite/locate.gnu/regex1.exp:
830         Implemented locate --regex - but needs documenting in Texinfo manual.
832 2005-01-25  James Youngman  <jay@gnu.org>
834         * configure.in: Bumped version no.
836         * doc/find.texi:
837         Document --mmap and --stdio as being synonyms of -m and -s.
839         * locate/locate.1:
840         Document --mmap and --stdio as synonyms of -m and -s.
842         * locate/locate.c:
843         Document -m and -s (both no-ops) in the usage message.
845         * doc/find.texi, locate/locate.1: Document -m and -s as no-ops.
847         * ChangeLog: Updated for release of findutils-4.2.14.
849         * NEWS, configure.in, po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po:
850         Preparing to release findutils-4.2.14
852 2005-01-25  James Youngman  <jay@gnu.org>
854         * NEWS, configure.in, po/da.po, po/de.po, po/es.po, po/et.po,
855         po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po,
856         po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po,
857         po/sv.po, po/tr.po: Preparing to release findutils-4.2.14
859 2005-01-24  James Youngman  <jay@gnu.org>
861         * Makefile.am: Work around the fact that automake-1.7 actually
862         works, and correctly distributes regex.c; hence dist-hook should
863         only copy gnulib/lib/regex.c if this has not already been done.
865         * find/defs.h, find/find.c, find/pred.c,
866         find/testsuite/Makefile.am,
867         find/testsuite/find.gnu/printf-symlink.exp,
868         find/testsuite/find.gnu/printf-symlink.xo,
869         find/testsuite/find.gnu/xtype-symlink.exp,
870         find/testsuite/find.gnu/xtype-symlink.xo: Fixes for -xtype and
871         -printf %Y, which had been the wrong way around.
873         * NEWS: Avoid including the find.gnu subdirectory in the
874         distributed file more than once
876         * locate/locate.c:
877         Move the printing of the statistics into a new function, print_stats()
879         * find/testsuite/Makefile.am: Avoid including the find.gnu
880         subdirectory in the distributed file more than once
882         * import-gnulib.sh:
883         We need the regex module anyway, to allow compilation on Solaris
885 2005-01-23  James Youngman  <jay@gnu.org>
887         * configure.in:
888         Invoke gl_INCLUDED_REGEX directly to ensure successful compilation on
889         systems like Solaris, which lacks those functions in libc (fixes GNU
890         Savannah bug #11710).
892         * locate/locate.1: -S is a synonym for --statistics
894         * doc/find.texi: Documented the new -H, -L and -P options.
896         * locate/locate.1, locate/locate.c: Implement options -L
897         (default), -H and -P, which mean the same things as for find,
898         except for the fact that the default is -L rather than -P
900         * find/find.1: Corrected definition of the exit status for -quit.
902         * find/find.c, find/pred.c: If DEBUG_STAT is set, issue a debug
903         message when we call chdir() so that we can figure out what is
904         actually being stat()ed
906         * locate/updatedb.sh:
907         Removed spurious newline from help message (bug report from Karl
908         Berry).
910         * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot,
911         po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po,
912         po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po,
913         Makefile.am, NEWS, configure.in, find/defs.h, find/find.c,
914         find/parser.c, find/pred.c, find/tree.c, find/util.c,
915         import-gnulib.sh, lib/savedirinfo.c: Merged the d_type
916         optimisation code; this is disabled by default, and can be enabled
917         with 'configure --enable-d_type-optimisation'
919         * NEWS:
920         Updated optimisation NEWS item to indicate the effect on runtime.
922 2005-01-22  James Youngman  <jay@gnu.org>
924         * NEWS, configure.in: Prepare for release of findutils-4.2.12
926         * ChangeLog: Brought up to date with recent changes.
928         * Makefile.am, import-gnulib.sh, po/Makefile.in.in, po/Makevars,
929         po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot,
930         po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po,
931         po/pl.po, po/pt_BR.po, po/remove-potcdate.sin, po/ru.po, po/sk.po,
932         po/sv.po, po/tr.po: Switch to using the gnulib gettext module, to
933         ensure that 'make distcheck' works with current xgettext,
934         autoconf, etc.
936         * find/testsuite/config/unix.exp:
937         Oops, we do need to clean up after all.
939 2005-01-21  James Youngman  <jay@gnu.org>
941         * xargs/testsuite/Makefile.am: Added name of missing input file.
943         * find/testsuite/Makefile.am:
944         Distribute a few files that we had forgotten about
946         * xargs/testsuite/Makefile.am: Added some missing files.
948         * lib/Makefile.am: Also need buildcmd.h.
950         * xargs/testsuite/Makefile.am: Fixed a typo.
952         * NEWS: Indicate the d_type performance improvement
954 2005-01-18  James Youngman  <jay@gnu.org>
956         * lib/savedirinfo.h: Added on d_type_optimisation also
958         * lib/savedirinfo.c: Added on branch d_type_optimisation also.
960         * find/pred.c: Added assert that we actually know the file type by
961         the time pred_type() is called
963         * find/find.c: Always initialise state.have_stat = false when
964         starting to work with a new file
966 2005-01-17  James Youngman  <jay@gnu.org>
968         * ChangeLog: Brought up to date with recent changes.
970         * NEWS: Documented the changes so far.
972         * find/testsuite/find.gnu/exec-many-rtn-success.xo:
973         Expected output for exec-many-rtn-success.exp
975         * find/find.1:
976         Indicate that -quit still ensures that pending commands are invoked
978         * doc/find.texi:
979         Indicate that -quit still causes partial command lines to be invoked,
980         but there are some types of fatal error which leave such commands
981         uninvoked.
983         * find/defs.h, find/find.c, find/pred.c, find/testsuite/Makefile.am, find/testsuite/config/unix.exp:
984         Fixed savannah bug  #11625 Wrong return status for -exec ... \; when command fails; also execute any pending commands when doing -quit
986         * find/testsuite/find.gnu/exec-many-rtn-failure.exp, find/testsuite/find.gnu/exec-many-rtn-failure.xo, find/testsuite/find.gnu/exec-many-rtn-success.exp, find/testsuite/find.gnu/exec-one-rtn-fail.exp, find/testsuite/find.gnu/exec-one-rtn-fail.xo, find/testsuite/find.gnu/exec-one-rtn-success.exp, find/testsuite/find.gnu/exec-one-rtn-success.xo:
987         Various test cases for succeeding and failing forms of -exec \; and -exec {} +
989         * find/pred.c: "-exec ... {} +" always returns "true".
991         * configure.in, find/defs.h, find/find.c, find/parser.c, find/pred.c, find/tree.c, find/util.c:
992         Implemented d_type optimisation but not working correctly, so currently disabled
994         * lib/savedirinfo.h, lib/savedirinfo.c:
995         Initial implementation (temporarily disabled).
997         * lib/Makefile.am: Resolved merge conflict.
999         * lib/Makefile.am:
1000         Make sure nextelem.h is included in the list of sources.
1002         * find/parser.c, lib/nextelem.c, lib/nextelem.h, locate/locate.c:
1003         Use prototypes for next_element() to make sure it is called correctly.
1005 2005-01-16  James Youngman  <jay@gnu.org>
1007         * find/find.c, find/pred.c:
1008         When completing incomplete multiple execs, use 'eval_tree' not 'predicates'
1010         * lib/buildcmd.c:
1011         Oops, initialise state->cmd_initial_argv_chars to zero.
1013         * find/find.1:
1014         Document the way that -execdir and -okdir will refuse to wqork if ">"
1015         is on $PATH.  Also document -okdir in the manpage.
1017         * find/parser.c:
1018         -execdir and -okdir are insecure if $PATH includes the current
1019          directory, and so they refuse to work if the user has done that.
1021         * find/pred.c:
1022         Oops; for -exec ... {} +, pass arguments to bc_push_arg() in the right
1023         order.   Problem spotted by Geoff Clare.
1025         * TODO: Removed items which have now been done.
1027         * lib/buildcmd.c: Tidied up formatting of arg list for bc_do_insert
1029 2005-01-15  James Youngman  <jay@gnu.org>
1031         * find/testsuite/find.gnu/printf.exp, find/testsuite/find.gnu/printf.xo:
1032         Added extra tests for more printf formats; patch by Andreas Metzler
1034         * locate/locate.c:
1035         Ensure that the new long options have a relevang short option too.
1036         Also bring usage message into line with the options actually
1037         supported.  Thanks to Bas van Gompel for noticing this defect.
1039         * locate/locate.1:
1040         Escape "-" in SYNOPSIS.  Thanks to Bas van Gompel for noticing this
1041         defect.
1043         * ChangeLog: Fixed typos.
1045         * doc/find.texi:
1046         Documented -execdir, and the "+" variants of -exec and -execdir.
1048         * find/find.1: Documented -execdir.
1050         * xargs/xargs.c:
1051         Updated to bring into line with bc_*() interface changes
1053         * ChangeLog: Updated with recent changes.
1055         * find/defs.h, find/parser.c, find/pred.c, lib/buildcmd.c, lib/buildcmd.h:
1056         Implemented -execdir and -okdir
1058         * find/defs.h, find/find.c, find/fstype.c, find/parser.c, find/pred.c, lib/buildcmd.c, lib/buildcmd.h, xargs/xargs.c:
1059         First working version of -exec ...+
1061 2005-01-09  James Youngman  <jay@gnu.org>
1063         * find/defs.h, find/find.c, find/parser.c, find/pred.c, lib/buildcmd.c, lib/buildcmd.h, xargs/xargs.c:
1064         Initial implementation of -exec ..{} +, but currently disabled since not yet working
1066 2005-01-08  James Youngman  <jay@gnu.org>
1068         * find/find.c: Fixed typo in comment.
1070         * find/defs.h, find/find.c, find/parser.c, find/pred.c:
1071         We now understand but do not implement -execdir (a *BSD invention, and a very useful security enhancement) and -okdir (the obvious companion to it)
1073         * locate/bigram.c, locate/code.c, locate/frcode.c, locate/locate.c, xargs/xargs.c:
1074         The GNU coding standard requires a space between the function name and
1075         its parenthesised argument list.
1077         * find/defs.h:
1078         Understand the -exec ... {} \+ construction (for multiple
1079         replacement).  No support yet.
1081         * locate/locate.1:
1082         Indicate that empty elements in the dbpath are treated as synonyms for
1083         the default database.
1085         * locate/locate.c:
1086         Support empty elements in the dbpath as synonyms for the default
1087         database.  These colons can be leading, trailing or in the middle of
1088         the string.  We no longer com,plain if the user does this.
1090         * lib/nextelem.c:
1091         If curdir_ok is 0 and an element is empty, return "" instead of NULL
1092         so that the caller knows to keep calling us.
1094         * find/find.c, find/pred.c, import-gnulib.sh, locate/bigram.c, locate/code.c, locate/frcode.c, locate/locate.c, xargs/xargs.c:
1095         Savannah bug 11517: find, xargs, locate, etc. should not hide write failures; patch from Jim Meyering
1097         * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po:
1098         changed .pot creation date
1100         * THANKS, AUTHORS: Take into account the FSF copyright-assignments list
1102         * doc/find.texi:
1103         If -quit is used, the exit value can be nonzero if errors have occurred.
1105         * find/find.1:
1106         Removed incorrect comment about -H, -P and -follow in HISTORY.
1108 2005-01-07  James Youngman  <jay@gnu.org>
1110         * lib/Makefile.am, lib/buildcmd.c, lib/buildcmd.h, xargs/xargs.c:
1111         Refactored xargs to use an external library function from the new file buildcmd.c
1113         * configure.in: no longer the same as the released 4.2.11 version
1115 2005-01-06  James Youngman  <jay@gnu.org>
1117         * xargs/testsuite/inputs/lines.xi, xargs/testsuite/xargs.posix/l2.exp, xargs/testsuite/Makefile.am:
1118         Tests for the -L option
1120         * xargs/testsuite/config/unix.exp: When a test fails, show the diffs
1122         * xargs/testsuite/xargs.posix/l2.exp, xargs/testsuite/xargs.posix/l2.xo:
1123         tests for the -l option
1125         * xargs/testsuite/Makefile.am: Added extra test files
1127         * xargs/testsuite/xargs.sysv/trace.exp, xargs/testsuite/xargs.sysv/trace.xe, xargs/testsuite/xargs.sysv/trace.xo:
1128         Added tests for the -t option
1130         * xargs/testsuite/config/unix.exp, xargs/testsuite/inputs/foobar.xi, xargs/testsuite/xargs.gnu/r.exp, xargs/testsuite/xargs.gnu/r.xo, xargs/xargs.1:
1131         Use a blanks-only input file for cases where there is supposed to be no output
1133         * xargs/testsuite/inputs/blank.xi: Initial version.
1135         * xargs/xargs.1:
1136         Corrected a typo; also indicate that it's impossible to use xargs
1137         securely due to the race condition.
1139 2005-01-05  James Youngman  <jay@gnu.org>
1141         * find/parser.c:
1142         Fixed Savannah bug 11495: fallthrough from -printf format processing
1143         from 'n' case to 'd' case.
1145 2005-01-03  James Youngman  <jay@gnu.org>
1147         * doc/find.texi:
1148         Oops.  Had duplicated an entire section.  Fortunately this was after
1149         @bye, so there was no adverse effect.
1151         * NEWS: locate -b.
1153         * doc/find.texi, locate/locate.1: document locate -S
1155         * configure.in, doc/find.texi, locate/locate.1, locate/locate.c:
1156         Support locate -b as a synonym for locate --basename
1158         * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po:
1159         distcheck
1161         * find/testsuite/config/unix.exp:
1162         Clean up (delete) find.out at at the end of the test.
1164         * NEWS, doc/find.texi, find/defs.h, find/find.1, find/find.c, find/parser.c, find/pred.c:
1165         Implemented the -samefile test for find
1167 2005-01-02  James Youngman  <jay@gnu.org>
1169         * ChangeLog: Updated with recent changes.
1171         * NEWS:
1172         Bas van Gompel: two-line patch to locate.c to make locate's -i and -w
1173         options work if -e is in use.
1175         * THANKS: Added Bas van Gompel.
1177         * locate/locate.c:
1178         Bas van Gompel: (visit_exists) when testing for the existence of the
1179         file, check the real filename [printname], not the case-converted
1180         filename [testname].  Really these argument names are badly chosen.
1182         * find/find.1, doc/find.texi:
1183         Improved the documentation for -perm, with plenty of examples,
1184         following a comment by Dan Jacobson that the comment "Symbolic modes
1185         use mode 0 as a point of departure" is baffling and unhelpful.
1187         * locate/locate.c:
1188         Suggestion and patch from Bas van Gompel: (new_locate): Fix display of
1189         negative compression ratios.
1191 2004-12-31  James Youngman  <jay@gnu.org>
1193         * NEWS: Brought up to date with recent changes
1195         * doc/find.texi:
1196         Don't need to nest the "race conditions with..." sections so deeply.
1198         * doc/find.texi: Corrected some spelling errors.
1200         * doc/find.texi: Added new "Security Considerations" chapter.
1202 2004-12-23  James Youngman  <jay@gnu.org>
1204         * locate/locate.c:
1205         Applied bugfixes from Bas van Gompel <patch-findutils.buzz@bavag.tmfweb.nl>.
1206         (lc_strcpy): Zero-terminate result.
1207         (add_visitor): Update lastinspector.
1208         (visit_substring_match_casefold): fix off-by-one error.
1209         (new_locate): Move visit_exists down to improve performance.
1210         (new_locate): Don't fold case when getting stats.
1212 2004-12-19  James Youngman  <jay@gnu.org>
1214         * doc/find.texi:
1215         Indicate that "cd /; find tmp -wholename /tmp" will never match anything.
1217         * doc/find.texi: Documented locate --statistics.
1219         * locate/locate.1: Documented the --statistics option.
1221         * locate/locate.c: Added support for the -S option.
1223 2004-12-12  James Youngman  <jay@gnu.org>
1225         * NEWS: Added a summary of the changes so far.
1227         * find/tree.c: Made some of the error messages more self-explanatory
1229         * find/pred.c: Print pointers with %p, not %x.
1231         * find/find.c: Moved option data into struct options.
1233         * find/find.1: clarifications
1235         * find/testsuite/find.gnu/comma.exp:
1236         Limit the amount of searching with maxdepth.
1238         * doc/find.texi: clearer description of how -prune works
1240         * ChangeLog: Removed duplicate entry.
1242         * configure.in, find/defs.h, find/find.c, find/fstype.c, find/parser.c, find/pred.c, find/tree.c, find/util.c:
1243         Separated ariables representing current state from variable representing option information
1245 2004-12-11  James Youngman  <jay@gnu.org>
1247         * find/parser.c: Readability improvement to the usage message.
1249         * find/find.c: Oops.  Fixed unmatched #endif.
1251         * find/testsuite/find.gnu/printf.exp, find/testsuite/find.gnu/printf.xo, THANKS, configure.in, find/testsuite/Makefile.am, find/testsuite/config/unix.exp:
1252         Fixed Savannah bug #11280
1254         * find/find.c:
1255         Remember to set path_length and curdepth in process_top_path().
1257 2004-12-07  James Youngman  <jay@gnu.org>
1259         * find/fstype.c: Use xstat() not stat() to examine things.
1261         * find/find.c: Explain why #ifdef EOVERFLOW.
1263         * find/find.c: EOVERFLOW is not defined on UNICOS.
1265         * NEWS: Corrected typo.
1267 2004-12-06  James Youngman  <jay@gnu.org>
1269         * ChangeLog: Brought up to date.
1271         * NEWS, configure.in: releasing 4.2.10
1273         * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po:
1274         distcheck
1276         * ChangeLog: Updated prior to release of finsutils-4.2.10.
1278         * import-gnulib.sh, find/fstype.c:
1279         Use gnulib's mountlist module instead of grokking it ourselves.
1281         * configure.in:
1282         Removed all the out-of-date cruft for grokking getmntent().
1284         * xargs/xargs.c:
1285         Added the -I and -L options; also -E takes an argument which is not optional.
1287 2004-12-05  James Youngman  <jay@gnu.org>
1289         * README, configure.in, find/defs.h, find/find.c, find/parser.c, find/pred.c, find/tree.c:
1290         Allow debug output to be turned on or off by saying --enable-debug on the configure command line
1292         * README:
1293         Removed disparaging (it is now, it probably wasn't then) comment about
1294         the production-readiness of Automake.
1296         * README: Qualify remarks about POSIX compliance.
1298         * NEWS, configure.in: Preparation for release 4.2.9
1300         * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po:
1301         distcheck
1303         * ChangeLog: Brought up to date.
1305         * find/find.c:
1306         Avoid duplicate error message when we cannot chdir() into a subdirectory.
1308         * THANKS: Added recent thankees.
1310         * NEWS:
1311         Brought up to date with respect to the current set of fixed bugs.
1313         * NEWS, xargs/xargs.1, xargs/xargs.c:
1314         Implemented POSIX options -L, -I and -E
1316 2004-12-03  James Youngman  <jay@gnu.org>
1318         * find/parser.c:
1319         -xdev is an option, not a test.   Fixes Savannah bug 11192.
1321         * find/find.1, xargs/xargs.1:
1322         Escape dashes with a backslash (for fix Savannah bug 11189).
1324 2004-11-27  James Youngman  <jay@gnu.org>
1326         * find/find.c:
1327         More use of safely_chdir(). Also bugfix: -L should imply -noleaf.  Be more careful about when xstat should fall back on lstat() when stat() fails.
1329         * find/find.1: "necessary" only has one "C".
1331         * find/find.1:
1332         If stat() fails with ELOOP, we issue a diagnostic message.
1334 2004-11-26  James Youngman  <jay@gnu.org>
1336         * find/find.c: Removed some unused code.
1338         * Makefile.am: Don't do anything in the 'intl' subdirectory
1340         * find/find.c:
1341         Enhanced safely_chdir() to the point where the test suite passes, and report infinite loops in the directory hierarchy
1343         * find/defs.h:
1344         belt and braces; ensure that SYMLINK_NEVER_DEREF has value zero
1346         * find/find.1:
1347         Describe our strategy for detecting and reporting infinite loops
1349 2004-11-24  James Youngman  <jay@gnu.org>
1351         * doc/find.texi:
1352         Updated the discussion of th error messages for findutils-4.2.8.
1354         * configure.in: Next version will be 4.2.9...
1356         * find/find.c:
1357         Don't issue a warning if we notice the mounting of a filesystem that's
1358         likely just to be an automounter.
1360         * doc/find.texi, find/find.1:
1361         Explain how rounding is performed for -atime and friends.
1363         * xargs/xargs.c:
1364         Once we collect enough arguments (for the value specified by the -n
1365         option) to do an exec(), do it immediaely instead of waiting for the
1366         next one to arrive.  This fixes Savannah bug #7340.
1368         * ChangeLog, configure.in, NEWS: Prepare to release 4.2.8.
1370         * NEWS: Updates for 4.2.8.
1372         * configure.in: check for  sys/types.h
1374         * find/find.c:
1375         If wd_sanity_check() discovers that the mount table has changed, remember the updated device number and inode so that we also consider these to be valid on the way back up.
1377         * find/defs.h:
1378         Declarations of xmalloc() and friends belong in xalloc.h, not in defs.h
1380         * find/parser.c: avoid signed/unsigned warning, and #include xalloc.h
1382         * find/fstype.c:
1383         Changed to alloc get_mounted_devices() to compile on Solaris
1385         * README-CVS:
1386         Automake requires GNU m4, so point out that the reader needs that.
1388         * find/defs.h, find/find.c, find/fstype.c:
1389         When wd_sanity_check() fails, enumerate the mounted devices, rather than the mounted filesystem names
1391         * NEWS: prepare for 4.2.8
1393         * configure.in:
1394         Look for some Solaris headers which are used by get_mounted_devices()
1396         * lib/Makefile.am: don't build savedirtypes yet
1398         * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po:
1399         updated po files
1401         * m4/nullsort.m4:
1402         Avoid suprious output of the test data when the tests fail.
1404 2004-11-21  James Youngman  <jay@gnu.org>
1406         * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po:
1407         Messages changed again
1409         * ChangeLog, configure.in: Preparing to release 4.2.7.
1411         * NEWS: Updated for release of 4.2.7.
1413         * import-gnulib.sh: Also need canonicalize module.
1415         * find/find.c:
1416         When checking to see if a filesystem has changed state, use an
1417         absolute pathname.
1419         * configure.in:
1420         No need to pause to allow James to view his handiwork, it (allegedly)
1421         works now.
1423         * configure.in:
1424         Oops.  Check for setlocale() to re-enable the i18n support which was
1425         accidentally disabled in 4.2.5.
1427         * find/find.c:
1428         Check to see if the new directory is a transitioned mount point by
1429         using its ABSOLUTE name, if we can figure it out.
1431         * doc/find.texi:
1432         Added guidance on some of the error messages.  Not the most common
1433         ones, but the ones where the user might most benefit from some handy
1434         hints or an explanation of what is going on.
1436         * find/pred.c:
1437         Actually emit an error message if we fail to stat a symlink (for
1438         reasons other than nonexistence of the link and infinite loop).
1440         * doc/texinfo.tex: Updated texinfo.tex
1442         * NEWS, configure.in, find/find.c, find/fstype.c:
1443         Enable the 'Warning: filesystem XXX has recently been mounted' check on Solaris, which prevents it exiting fatally when traversing an automount mount point
1445         * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po:
1446         messages changed again
1448         * NEWS: Implemented xargs --arg-file.
1450         * doc/find.texi, xargs/xargs.1, xargs/xargs.c, NEWS:
1451         Implemented xargs --arg-file
1453         * find/find.c:
1454         Where a filesystem was recently (un)mounted, try togive its full name
1456         * configure.in:
1457         Try to avoid requesting -lsun if we don't seem to need it (e.g. on
1458         UNICOS where it is not present and trying to link against it produces
1459         a warning).
1461         * find/defs.h, lib/modetype.h: Guard against multiple inclusion
1463         * find/fstype.c:
1464         We now need <mntent.h> even if we are not using getmntent() to figure
1465         out the type of a filesystem, because wd_sanity_check() needs to
1466         enumerate the system mount points.
1468         * configure.in: Next release will be 4.2.7.
1470         * find/fstype.c:
1471         get_mounted_filesystems() should use getmntent() if that function is
1472         present, rather than just if configure didn't find anything better for
1473         filesystem_type_uncached() to use than that.
1475         * find/parser.c:
1476         If -delete is the only action on a file, don't assume the default
1477         -print action too.
1479         * ChangeLog, configure.in, po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po:
1480         Preparation to release findutils-4.2.6.
1482         * find/Makefile.am, xargs/Makefile.am:
1483         Enable checking of support for --version and --help
1485         * locate/Makefile.am:
1486         Con't check command-line options for frcode, code or bigram
1488         * locate/code.c: Support --version and --help.
1490         * ChangeLog: *** empty log message ***
1492         * find/defs.h, find/find.c, find/fstype.c, lib/Makefile.am, lib/extendbuf.c, lib/extendbuf.h, NEWS:
1493         Avoid fatal error if automount mounts a filesystem on a directory because we chdir()ed into it
1495         * configure.in: Next release will be 4.2.6.
1497         * find/find.1:
1498         Indicate that the '-' flag does work for most fields.   Also provide
1499         an example of using the comma operator to traverse the filesystem just
1500         once but search for more than one thing.
1502         * doc/find.texi: Indicate that the '-' flag does work for most fields.
1504 2004-11-19  James Youngman <jay@gnu.org>
1506         * configure.in: releaseing findutils-4.2.5
1508         * find/testsuite/Makefile.am, locate/testsuite/Makefile.am, xargs/testsuite/Makefile.am:
1509         If a directory has no Makefile.am, omit it from the parent's DIST_SUBDIRS - automake-1.9 requires this
1511         * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po:
1512         updated by make distcheck
1514         * ChangeLog, NEWS: Updated for release 4.2.5.
1516         * find/find.1, doc/find.texi:
1517         Tell the reader that format flags may not work as they expect.
1519         * configure.in:
1520         Use the correct name for the macro gl_AC_TYPE_LONG_LONG (not
1521         jm_AC_TYPE_LONG_LONG).
1523 2004-11-15  James Youngman <jay@gnu.org>
1525         * import-gnulib.sh:
1526         Avoid test -e because not all systems are POSIX-compliant (bug
1527         #11005).  Also don't need regex module any more if we're not building
1528         in intl.
1530         * Makefile.am, configure.in:
1531         These days gnulib likes to include 'libintl.h' which our very old intl/ directory lacks.   For the moment, disable use of the internal intl/ directory
1533         * doc/find.texi:
1534         Use @ref not @xref for a reference at the beginning of a sentence.
1536         * intl/Makefile.in:
1537         Make sure gnulib.lib is on the #include path (Savannah bug #11002)
1539         * locate/locate.c:
1540         Use base_name instead of basename - fixes Savannah bug 11003.
1542         * configure.in, find/defs.h, find/find.c, find/parser.c, find/pred.c, locate/bigram.c, locate/locate.c:
1543         Don't need banner to emphasise the location of the call to jy_SORTZ
1545 2004-11-12  James Youngman <jay@gnu.org>
1547         * NEWS, doc/find.texi, find/defs.h, find/find.1, find/find.c, find/parser.c, find/pred.c, find/testsuite/find.gnu/posix-dflt.exp, find/testsuite/find.gnu/posix-dflt.xo, find/testsuite/find.gnu/posix-h.exp, find/testsuite/find.gnu/posix-h.xo, find/testsuite/find.gnu/posix-l.exp, find/testsuite/find.gnu/posix-l.xo, find/util.c:
1548         Implemented BSD option -P and also the correct defautl behaviour of find with respect to symlinks if neither -L nor -H is specified [i.e. same as -P]
1550 2004-11-11  James Youngman <jay@gnu.org>
1552         * NEWS, doc/find.texi, find/defs.h, find/find.1, find/find.c, find/parser.c:
1553         Implemented -H and -L options.
1555         * find/util.c: Added in the -H and -L options on the usage message.
1557 2004-11-10  James Youngman <jay@gnu.org>
1559         * doc/find.texi, find/find.1, find/parser.c, find/pred.c:
1560         Implemented %M and %A+ format specifiers
1562         * doc/find.texi, find/find.1, find/parser.c, find/pred.c:
1563         Documented the fact that only %d and %m format specifiers honour the various formatting flags
1565         * xargs/xargs.c:
1566         Get the right number of bytes in a Kilobyte (hint: it's not 1048; that
1567         was a typo, honest :)
1569         * po/pl.po: Applied Polish translations
1571 2004-11-08  James Youngman <jay@gnu.org>
1573         * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po:
1574         distcheck changed the po files again
1576         * locate/Makefile.am:
1577         Make install-data-hook honour the setting of DESTDIR so that "make
1578         DESTDIR=/tmp/foo install" works and puts localstater in the right
1579         place.
1581         * configure.in: We're now working on findutils-4.2.5.
1583         * doc/find.texi, xargs/xargs.1:
1584         Point out that xargs -i only splits input items at newlines
1586         * ChangeLog: Indicate that we released 4.2.4.
1588         * ChangeLog: Updated for release 4.2.4
1590         * NEWS, configure.in: Prepare for release of 4.2.4.
1592         * NEWS: Brought up to date with latest changes.
1594         * NEWS, doc/find.texi, find/defs.h, find/find.1, find/find.c, find/parser.c, po/da.po, po/de.po, po/es.po, po/findutils.pot, po/gl.po, po/id.po, po/ko.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sv.po:
1595         Turn warning messages off by default if stdin is not a tty; allow these to be controlled explicitly by options -warn and -nowarn
1597         * po/et.po, po/it.po: Updated translation files
1599         * po/sk.po: New translation file
1601         * po/fr.po, po/nl.po, po/tr.po: Updated translation files
1603         * configure.in: Added Slovak (sk) language.
1605         * xargs/xargs.c:
1606         Enforcing a lower limit on the value specified by -s makes the test
1607         suite fail.  Removed that lower limit.
1609         * locate/Makefile.am: Oops, multilocate doesn't exist yet.
1611         * NEWS: *** empty log message ***
1613         * doc/find.texi, locate/updatedb.1, locate/updatedb.sh:
1614         Added option --findoptions to updatedb
1616         * locate/Makefile.am, locate/locatedb.5, locate/updatedb.1, xargs/xargs.1:
1617         Fixed section numbers in manpage titles and cross-references
1619         * NEWS, doc/find.texi, xargs/xargs.1, xargs/xargs.c:
1620         Increased the default argument length and improved POSIX compliance of the handling of out-of-range values for the -s option
1622 2004-11-07  James Youngman <jay@gnu.org>
1624         * m4/Makefile.am:
1625         Added in the extra files we need to distribute, nullsort.m4
1626         order-bad.bin order-good.bin
1628         * doc/find.texi: Documented locate's --limit option
1630         * locate/locate.1, locate/locate.c:
1631         Implmented --limit and corrected the implementation of the -i option.
1633 2004-11-06  James Youngman <jay@gnu.org>
1635         * NEWS, doc/find.texi, locate/locate.1:
1636         Documented --wholename and --basename and updated the NEWS file
1638         * README-CVS:
1639         Give the autogen commands in a form that you can usefully cut and paste into a shell
1641         * NEWS: Options --null and --count) for locate
1643         * lib/nextelem.c:
1644         Don't return '.' for an empty path element, because the path we are splitting may not be intended to contain directories
1646         * configure.in: we're working on findutils-4.2.4 now
1648         * locate/Makefile.am: Substitute @SORT_SUPPORTS_Z@
1650         * doc/find.texi:
1651         Documented new locate option --null and newline handling
1653         * locate/locate.1, locate/locate.c:
1654         New locate options --null, --wholename, --basename, --count
1656         * locate/frcode.c, locate/updatedb.1, locate/updatedb.sh:
1657         correctly handle newlines in the file names
1659         * configure.in: Determine if sort -z works
1661         * m4/nullsort.m4, m4/order-bad.bin, m4/order-good.bin:
1662         jy_SORTZ: a macro to determine if the system has a sort command with a working -z option
1664 2004-11-01  James Youngman <jay@gnu.org>
1666         * NEWS: Fixed "find -printf '%H\n'".
1668         * find/find.c:
1669         Avoid segfault if -printf %H is used where the matched file was the default, unspecified starting point, the current directory
1671 2004-10-31  James Youngman <jay@gnu.org>
1673         * find/find.1, find/parser.c: NetBSD also supports -d.
1675         * find/find.1, doc/find.texi:
1676         Documented the behaviour of -daystart and -follow in more detail
1678         * find/parser.c: Corrected the usage message.
1680         * find/parser.c:
1681         When deciding whether to issue a warning about options following
1682         non-options, ignore any options whose position affects the tests
1683         (i.e. -daystart and -follow).
1685         * find/parser.c: -daystart is a positional option like -follow.
1687         * find/parser.c:
1688         Issue a warning message if an option is specified after a test or an
1689         action (because the user might have believed that the behaviour of the
1690         option is in some way conditional on the preceding tests).
1692         * locate/updatedb.sh:
1693         Oops; removed some test code that I shouldn't have checked in.
1695         * locate/updatedb.sh:
1696         Indicate that the old locate database format will shortly be unsupported.
1698         * doc/find.texi:
1699         Use @direntry instead of hard-coding START-INFO-DIR-ENTRY inside @ifinfo.
1701         * locate/updatedb.1: Updated default location of locatedb file.
1703         * README-alpha:
1704         Updated to give correct FTP location and to not talk about "test"
1705         versions of automake, which are no longer required.
1707         * locate/updatedb.sh:
1708         Incorporated the default list of filesystems to avoid from the Debian
1709         package.  Also added /afs and /sfs to the default pruned paths.
1711         * configure.in: Released findutils 4.2.3
1713         * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sv.po, po/tr.po:
1714         did make distcheck, which updates these files
1716         * find/defs.h, find/fstype.c:
1717         Use const qualifier in arguments to filesystem_type() to allow callers with const variables to use them
1719         * ChangeLog: Updated.
1721         * NEWS: Added new news.
1723         * find/find.c:
1724         Extra diagnositcs for the case where we have the error "%s changed
1725         during execution of %s" - that is when we chdir back to the parent
1726         directory only to find that it has changed.
1728 2004-10-30  James Youngman <jay@gnu.org>
1730         * .cvsignore, NEWS, doc/find.texi, find/defs.h, find/find.1, find/parser.c, find/pred.c:
1731         Implemented the -quit action
1733         * NEWS, doc/find.texi, find/find.1, find/parser.c, find/pred.c:
1734         Refactored time handling routines in preparation for support of absolute timestamp comparison predicates
1736         * locate/locate.c:
1737         Applied Savannah patch #2952 ("getline off-by-one bugfix").
1739         * NEWS, doc/find.texi, find/defs.h, find/find.1, find/parser.c, find/pred.c:
1740         Added -delete action (Savannah patch #3454 with additions)
1742         * locate/locate.c:
1743         Applied Savannah patch #2692 (allowing get_short to process negative integers).
1745         * find/find.c:
1746         If we are iossuing an error message because $FIND_BLOCK_SIZE is set,
1747         ignore the setting of errno.
1749         * find/parser.c: More fixes for pedantic compiler warnings
1751         * NEWS, find/parser.c, find/tree.c: Eliminated some compiler warnings
1753         * find/find.c, find/parser.c, find/pred.c:
1754         Various fixes for compiler warninga sbout unreachable code or unused function arguments
1756         * intl/plural.y: Silence compiler warning about unused argument.
1758         * locate/testsuite/Makefile.am:
1759         Subdirectory "inputs" does not exist, so remove it from DIST_SUBDIRS.
1761         * locate/locate.c:
1762         Corrected the explanation of why we have to use no parentheses around
1763         the String argument to the N_ macro in its expansion.
1765         * configure.in: Nextr release is 4.2.3.
1767         * configure.in: IOndicate this is no longer the pristine release.
1769         * NEWS:
1770         Oops, comments for release 4.2.0 should have said 20480 bytes, not 2480.
1772         * lib/listfile.c:
1773         The -ls predicate should not truncate usernames.  Fixes Savannah bug #10800.
1775         * find/fstype.c, locate/locate.c:
1776         Fixes for Savannah bug #3727 (Intel icc compilation errors).
1778 2004-10-25  James Youngman <jay@gnu.org>
1780         * doc/find.texi, find/find.1, find/parser.c, find/pred.c:
1781         Support -printf %D, which prints the device number of the containing filesystem
1783         * locate/updatedb.sh:
1784         Avoid confusion between James Woods and James Youngman, by using the
1785         disambiguating surname.
1787         * find/parser.c: Use RE_ICASE instead of re->translate.
1789         * configure.in, find/parser.c, find/pred.c, xargs/xargs.c:
1790         No need to #define _GNU_SOURCE if we use gl_INIT.
1792 2004-10-24  James Youngman <jay@gnu.org>
1794         * ChangeLog: Prepared to release findutils-4.2.2.
1796         * ChangeLog, NEWS, po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sv.po, po/tr.po:
1797         Updates prior to release of 4.2.2
1799         * NEWS: Updated with news for findutils-4.2.2.
1801         * find/testsuite/config/unix.exp, lib/forcefindlib.c, lib/listfile.c, lib/modetype.h, lib/nextelem.c, locate/bigram.c, locate/code.c, locate/frcode.c, locate/locate.c, locate/locatedb.h, locate/testsuite/config/unix.exp, locate/updatedb.sh, xargs/testsuite/config/unix.exp, xargs/xargs.c, NEWS, find/defs.h, find/find.c, find/fstype.c, find/parser.c, find/pred.c, find/tree.c, find/util.c, import-gnulib.sh:
1802         Corrected typo in the address of the FSF office
1804         * lib/strspn.c: Updated FSF address.
1806         * m4/.cvsignore: 'cvs status' should ignore Makefile.in
1808         * m4/Makefile.am, Makefile.am, NEWS, README-CVS, configure.in, doc/texinfo.tex, find/defs.h, find/fstype.c, find/parser.c, find/pred.c, import-gnulib.sh, intl/bindtextdom.c, intl/dcgettext.c, intl/dcigettext.c, intl/dcngettext.c, intl/dgettext.c, intl/dngettext.c, intl/explodename.c, intl/finddomain.c, intl/gettext.c, intl/intl-compat.c, intl/l10nflist.c, intl/loadmsgcat.c, intl/localcharset.c, intl/localealias.c, intl/ngettext.c, intl/plural.y, intl/textdomain.c, lib/Makefile.am, lib/forcefindlib.c, lib/listfile.c, lib/nextelem.c, lib/strspn.c, lib/waitpid.c, locate/bigram.c, locate/code.c, locate/frcode.c, locate/locate.c, m4/findlib.m4, po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sv.po, po/tr.po, xargs/xargs.c:
1809         Use gnulib-tool --import to import the gnulib code, rather than the odd way we were doing it before
1811         * find/find.c, find/fstype.c, find/parser.c, find/pred.c, find/tree.c, find/util.c, locate/code.c, locate/locate.c, xargs/xargs.c:
1812         Work round an apparent compiler bug in HP-UX 11.23 for
1813         ia64
1815         * locate/locate.c:
1816         Work around what appears to be a C compiler bug in HP-UX 11.23 for
1817         ia64.
1819         * INSTALL, depcomp, install-sh, missing, mkinstalldirs:
1820         Updated from automake
1822         * locate/bigram.c, locate/code.c, locate/frcode.c, locate/locate.c, xargs/xargs.c, find/find.c:
1823         Avoid use of exit() within main, to silence warnings about unreachable code
1825 2004-10-22  James Youngman  <jay@gnu.org>
1827         * doc/find.texi: Syntax corrections.
1829         * doc/find.texi: Indicate that "-exec {}+" is not yet supported.
1831         * find/find.1: Indicate that "{}+" is not yet supported.
1833         * find/testsuite/find.gnu/name-period.xo, find/testsuite/find.gnu/name-period.exp, find/find.1, doc/find.texi:
1834         The -name predicate must allow '*' to match '.foo' as demanded by IEEE
1835         Std 1003.2-1992 Interpretation #126.
1837         * find/pred.c:
1838         Remove use of FNM_PERIOD for -name as demanded by IEEE Std 1003.2-1992
1839         Interpretation #126
1841         * find/parser.c: Fix for compilation (on AIX 4.3) with GCC 2.x.
1843         * xargs/xargs.c:
1844         Changed the erorr message issued when there is an unmatched quote to
1845         point out that the user might have wanted to use the -0 option instead.
1847 2004-10-17  James Youngman  <jay@gnu.org>
1849         * configure.in:
1850         Define intmax_t if it is not already defined - allows parser.c to compile on AIX 4.3
1852         * configure.in:
1853         Adjust version number to indicate that this s/w has moved on since the
1854         4.2.1 release.
1856         * configure.in: preparing to release 4.2.1
1858         * ChangeLog: updated with current changes
1860         * README-CVS: Updated to go with newer version of gnulib.
1862         * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sv.po, po/tr.po:
1863         preparation for release
1865         * NEWS: Mention the changes to "trap".
1867         * NEWS: Brought up to date.
1869         * import-gnulib.sh:
1870         Use xalloc-die module from gnulib, since that has now been split out
1872         * find/parser.c:
1873         Check fnmatch() when other predicates that rely on fnmatch() are used.
1875         * find/parser.c: bug #10701: find needs fnmatch sanitycheck on startup
1877 2004-10-16  James Youngman <jay@gnu.org>
1879         * import-gnulib.sh:
1880         Switch to requirement for GNU fnmatch because it supports FNM_CASEFOLD.
1882         * locate/updatedb.sh:
1883         Bug #9465: use of signal numbers for 'trap' is deprecated.  Should use
1884         names instead.  See
1885         http://www.opengroup.org/onlinepubs/009695399/utilities/trap.html,
1886         which indicates that support for signal numbers is optional, while
1887         support for signal names is mandatory.
1889         * configure.in:
1890         Indicate that this is the CVS version (once again) now that findutils
1891         4.2.0 has been released.
1893         * ChangeLog, configure.in, po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sv.po, po/tr.po:
1894         findutils 4.1.20 check-in for tagging
1896 2004-10-02  James Youngman <jay@gnu.org>
1898         * po/Makefile.in.in:
1899         Search in $(top_srcdir) for mkinstalldirs, since that's where we keep it.
1901         * NEWS: Brought up to date, organised more clearly, and tidied up.
1903         * NEWS: brought up to date with recent changes
1905         * locate/testsuite/config/unix.exp, locate/testsuite/locate.gnu/ignore_case1.exp, locate/testsuite/locate.gnu/ignore_case3.exp, locate/updatedb.sh:
1906         Added new option --changecwd to updatedb so that the 'cd /' which it does can be compatible with the requirements of the test suite.  Specifically, the test suite relies on being able to use relative pathnames
1908         * find/pred.c:
1909         Fixed usage of human_readable() in '%k' format specifier to fix a bug
1910         reported by Dmitry V. Levin (arguments to human_readable() were
1911         specified in the wrong order, which resulted in a floating-point
1912         error).
1914 2004-08-08  James Youngman <jay@gnu.org>
1916         * locate/updatedb.sh:
1917         cd to / to avoid inability to examine the current directory if we're
1918         invoked via cron (and hence in root's home directory for example).
1920         * doc/find.texi, find/find.1:
1921         Deprecate -path and -ipath in favour of -wholename and -iwholename
1923         * find/parser.c:
1924         As per RMS's suggestion, deprecate -path and -ipath in favour of
1925         -wholename and -iwholename.
1927         * locate/locate.c:
1928         Fixed Savannah bug #9923, in which get_short() returns large positive
1929         ints when it should be returning negative shorts.
1931         * xargs/xargs.1:
1932         Applied documentation improvements suggested by Dan Jacobson
1933         <jidanni@jidanni.org>.
1935         * xargs/xargs.c:
1936         Don't check size_of_environment against arg_max since that causes the
1937         test suite to fail.
1939         * xargs/xargs.1, xargs/xargs.c: Better documentation for the -i option
1941 2004-05-03  James Youngman <jay@gnu.org>
1943         * find/find.1:
1944         document the various suffixes for -size and also the new 
1945         option -ignore_readdir_race
1947         * locate/locate.c:
1948         Fixes Savannah bug #8623 (failure to check consistency of data 
1949         read from locate database)
1951         * locate/updatedb.sh:
1952         Resolves Savannah bug 4380, that updatedb generates an empty
1953         database if one of the commands fails
1955         * NEWS: Talk about -ignore_readdir_race
1957         * doc/find.texi:
1958         Documented -ignore_readdir_race and -noignore_readdir_race
1960         * find/find.c:
1961         -ignore_readdir_race should have no effect if the reason for the
1962          failure of stat(2) was anything other than ENOENT.
1964         * find/defs.h, find/find.c, find/parser.c:
1965         Fixed Savannah bug 4391 (readdir race condition leading to 
1966         spurious error messages)
1968 2004-04-24  James Youngman <jay@gnu.org>
1970         * README-CVS: Corrected the instructions for getting gnulib via CVS.
1972 2004-04-13  James Youngman <jay@gnu.org>
1974         * doc/find.texi:
1975         Actioned Savannah bug #8558 (find complains when it tries to recurse
1976         into directories that it had removed).
1978 2004-03-13  James Youngman <jay@gnu.org>
1980         * ChangeLog: Updated from checkin comments.
1982         * find/find.c:
1983         Oops, there is no access to the predicate name table if DEBUG is 
1984         not #defined.
1986         * find/parser.c:
1987         Detect arithmetic overflow (poorly) in insert_time(), which diagnoses
1988         the failure to handle large arguments to -mtime.  The existing code
1989         does careful computation and then bungs the value into a time_t, which
1990         ruins all our careful effort.  The new code is not a great
1991         improvement.  We just check the result to detect overflow, rather than
1992         actually avoiding the overflow.
1994         * find/find.c:
1995         Fixed Debian bug #185202 by checking for any trailing predicates after
1996         the top-level invocation of get_expr() has done its work.
1998         * locate/locate.1, xargs/xargs.1:
1999         Fixed Debian bug 175372, inappropriate 'L' suffixes on manual 
2000         page section indicators
2002         * find/find.1:
2003         Removed "L" suffixes from manual page section indicators, to fix
2004         Debian bug 175372.
2006         * debian/updatedb.conf:
2007         Updated with list of filesystems from current Debian release.  This
2008         includes devfs, for example.
2010         * xargs/xargs.1:
2011         Modified documentation of "-s" option to take into account the fix for
2012         Debian bug #176201.
2014         * xargs/xargs.c:
2015         Fixed Debian bug #176201, "xargs enviroment size limited to 20k", by
2016         reading a patch offered by Bob Prolux and implementing something
2017         substantially similar myself.
2019 2004-01-03  James Youngman  <jay@gnu.org>
2021         * xargs/xargs.c:
2022         Indicate that prep_child_for_exec() fixes Savannah bug #3992.
2024         * xargs/xargs.c:
2025         Attach the stdin of xargs' child process to /dev/null so that if it
2026         tries to read from its stdin it doesn't consume any of the list of
2027         files that xargs is trying to use.
2029         * find/find.1:
2030         Documented that the -regex option follows Gnulib's re_match() 
2031         implementation.
2033         * NEWS, locate/locate.c: Applied Savannah patch 2108
2035         * xargs/xargs.c: Applied Savannah patch 1500
2037         * find/find.1, doc/find.texi:
2038         Improved the documentation for the %k and %b format specifiers to
2039         -printf (Savannah bug #5034).  Also pointed out that this handling is
2040         different to that used by the "b" and "k" suffixes with "-size".
2042         * find/find.1: Improved the documentation for %k (Savannah bug #5034).
2044         * find/find.1:
2045         Improved the documentation for -print0 in the manpage, fixing Debian
2046         bug 111143.
2048         * README-CVS, find/pred.c, lib/listfile.c:
2049         Brought up-to-date with change in gnulib's human.c - we no longer 
2050         use human_readable_inexact(), because it is no longer provided.
2052 2003-08-08  James Youngman  <jay@gnu.org>
2054         * find/find.1:
2055         Documented the fact that -printf also supports the '\0' escape code.
2056         Added "STANDARDS CONFORMANCE" section.
2058 2003-08-02  James Youngman  <jay@gnu.org>
2060         * find/find.1:
2061         Explain that braces are not special when performing filename matching
2062         with -name.
2064         * find/find.1:
2065         added example of the use of -exec to the EXAMPLES section
2067         * find/fstype.c, locate/locate.c:
2068         Savannah bug #4295 - implicit declarations of ctype.h functions
2070         * locate/locate.c:
2071         Savannah bug #4279 - missing newline on locate help message
2073         * find/find.1, xargs/xargs.1:
2074         Improved discussion of the -print0 option of find and the -0 option of xargs
2076 2003-06-26  James Youngman  <jay@gnu.org>
2078         * import-gnulib.sh:
2079         Remove reference to nonexistent module "basename" ("dirname" exists
2080         and we already use that).
2082 2003-06-21  James Youngman  <jay@gnu.org>
2084         * doc/find.texi:
2085         Indicate that xargs stops immediately if a command exits with status 255
2087         * xargs/xargs.1:
2088         Document the fact that xargs exits immediately with an error message
2089         if the command it executes exits with a status of 255.
2091 2003-06-18  James Youngman  <jay@gnu.org>
2093         * find/find.1:
2094         Indicate that -fls and friends always create their output file
2096 2003-06-16  James Youngman  <jay@gnu.org>
2098         * ChangeLog, find/find.1, locate/locate.1, locate/locatedb.5, locate/updatedb.1, xargs/xargs.1:
2099         Added BUGS section to manual pages.   This section includes information about known bugs and how to report new bugs.
2101         * AUTHORS: Identify the current maintainer.
2103         * TODO: Removed the TODO items which have now been done.
2105         * THANKS: Added Bruno Haible and Bob Prolux.
2107         * xargs/xargs.c: xargs/xargs.c (DO_MULTIBYTE): New macro.
2108         (mbstrstr): New function.
2109         (do_insert): Use it instead of strstr.
2111         * config.guess, config.sub:
2112         Use config.guess and config.sub from automake
2114         * find/fstype.c:
2115         Bruno Haible: (fstype_to_string) Don't define this function if
2116         HAVE_F_FSTYPENAME_IN_STATFS is defined.
2118         * configure.in:
2119         Bruno Haible: Prefer the 4.4BSD API (if present) to the 4.3BSD API,
2120         because some 4.4BSD systems have <mntent.h> but no /etc/mtab file.
2122         * doc/find.texi, find/find.1:
2123         Applied patch 1498 (documenting the backslash escape sequence)
2125         * locate/updatedb.sh: Applied (my own version of) Savannah patch 1601.
2127         * doc/find.texi:
2128         Applied Savannah patch #1547 (document the fact that printf
2129         field-width specifiers are supported).
2131         * xargs/xargs.c:
2132         Applied Savannah patch #1499 (adds final newline to usage message).
2134 2003-06-14  James Youngman  <jay@gnu.org>
2136         * NEWS, configure.in:
2137         Updated version number to 4.2.0-CVS [not ready for release yet]
2139         * configure.in, doc/.cvsignore, doc/Makefile.in, find/.cvsignore, find/Makefile.am, find/Makefile.in, find/defs.h, find/find.c, find/fstype.c, find/parser.c, find/pred.c, find/testsuite/.cvsignore, find/testsuite/Makefile.in, find/testsuite/config/unix.exp, find/tree.c, find/util.c, import-gnulib.sh, intl/bindtextdom.c, intl/dcgettext.c, intl/dcigettext.c, intl/dcngettext.c, intl/dgettext.c, intl/dngettext.c, intl/explodename.c, intl/finddomain.c, intl/gettext.c, intl/intl-compat.c, intl/l10nflist.c, intl/loadmsgcat.c, intl/localcharset.c, intl/localealias.c, intl/ngettext.c, intl/plural.y, intl/textdomain.c, lib/.cvsignore
2140         also need stpcpy (e.g. for Solaris)
2142         * intl/dcigettext.c:
2143         plural_lookup: don't use a variable called "index", because we may
2144         have done "#define strchr index", in which case using a variable
2145         called index will prevent us calling strchr(p, ch) in the same scope.
2147         * find/defs.h, find/find.c, find/fstype.c, find/parser.c, find/pred.c, find/testsuite/config/unix.exp, find/tree.c, find/util.c, import-gnulib.sh, lib/Makefile.am, lib/listfile.c, lib/modetype.h, lib/nextelem.c, locate/bigram.c, locate/code.c, locate/frcode.c, locate/locate.c, locate/locatedb.h, locate/testsuite/config/unix.exp, locate/updatedb.sh, xargs/testsuite/config/unix.exp, xargs/xargs.c:
2148         Updated copyright years and the address of the FSF
2150         * aclocal.m4, config.h.in, configure:
2151         Removed files that are generated from other files (e.g. configure)
2153         * NEWS: Updated NEWS file for 4.1.20.
2155         * configure.in, lib/Makefile.am, po/POTFILES.in, po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sv.po, po/tr.po:
2156         Updates to the i18n files to ensure that 'make dist' succeeds
2158         * lib/posix/.cvsignore, lib/posix/Makefile.am,
2159         lib/posix/Makefile.in, lib/posix/regex.h, lib/strftime.c,
2160         lib/strncasecmp.c, lib/strspn.c, lib/strstr.c, lib/strtol.c,
2161         lib/strtoul.c, lib/strtoull.c, lib/strtoumax.c, lib/wait.h,
2162         lib/waitpid.c, lib/xalloc.h, lib/xgetcwd.c, lib/xmalloc.c,
2163         lib/xstat.in, lib/xstrdup.c, lib/xstrtol.c, lib/xstrtol.h,
2164         lib/xstrtoul.c, lib/xstrtoul.h, lib/xstrtoumax.c, lib/yesno.c,
2165         locate/Makefile.am, locate/Makefile.in, locate/locate.c,
2166         locate/testsuite/Makefile.in, m4/.cvsignore, m4/ChangeLog,
2167         m4/Makefile.am, m4/Makefile.am.in, m4/Makefile.in, m4/README,
2168         m4/afs.m4, m4/assert.m4, m4/c-bs-a.m4, m4/check-decl.m4,
2169         m4/codeset.m4, m4/d-ino.m4, m4/d-type.m4, m4/error.m4,
2170         m4/fnmatch.m4, m4/fnmatchcase.m4, m4/fstypename.m4, m4/getline.m4,
2171         m4/gettext.m4, m4/glibc.m4, m4/glibc21.m4, m4/iconv.m4,
2172         m4/inttypes_h.m4, m4/isc-posix.m4, m4/jm-glibc-io.m4,
2173         m4/jm-macros.m4, m4/jm-mktime.m4, m4/lcmessage.m4, m4/libintl.m4,
2174         m4/link-follow.m4, m4/ls-mntd-fs.m4, m4/lstat-slash.m4,
2175         m4/lstat.m4, m4/malloc.m4, m4/mbstate_t.m4, m4/memcmp.m4,
2176         m4/prereq.m4, m4/progtest.m4, m4/readdir.m4, m4/realloc.m4,
2177         m4/regex.m4, m4/st_dm_mode.m4, m4/st_mtim.m4, m4/stat.m4,
2178         m4/strerror_r.m4, m4/strftime.m4, m4/timespec.m4, m4/uintmax_t.m4,
2179         m4/ulonglong.m4, m4/xstrtoumax.m4, xargs/Makefile.am,
2180         xargs/Makefile.in, xargs/testsuite/Makefile.in,
2181         find/testsuite/Makefile.in, lib/.cvsignore, lib/Makefile.am,
2182         lib/Makefile.in, lib/alloca.c, lib/ansi2knr.1, lib/ansi2knr.c,
2183         lib/argmatch.c, lib/argmatch.h, lib/basename.c, lib/basename.h,
2184         lib/dirname.c, lib/dirname.h, lib/error.c, lib/error.h,
2185         lib/fileblocks.c, lib/filemode.c, lib/filemode.h, lib/fnmatch.c,
2186         lib/fnmatch.h, lib/getline.c, lib/getline.h, lib/getopt.c,
2187         lib/getopt.h, lib/getopt1.c, lib/human.c, lib/human.h,
2188         lib/idcache.c, lib/malloc.c, lib/memcmp.c, lib/memcpy.c,
2189         lib/memset.c, lib/mktime.c, lib/modechange.c, lib/modechange.h,
2190         lib/pathmax.h, lib/quotearg.c, lib/quotearg.h, lib/realloc.c,
2191         lib/regex.c, lib/regex.h, lib/rpmatch.c, lib/savedir.c,
2192         lib/savedir.h, lib/stpcpy.c, lib/strcasecmp.c, lib/strdup.c,
2193         find/Makefile.am, find/Makefile.in, find/find.c, find/pred.c:
2194         Updated to work with current version of gnulib
2196         * import-gnulib.sh: New file.
2198         * config.h.in, configure, configure.in, doc/Makefile.in, import-gnulib.sh:
2199         Updated to work with current version of gnulib
2201         * README-CVS: New file.
2203         * Makefile.am, Makefile.in, README-CVS, aclocal.m4:
2204         Updated to work with current version of gnulib
2206 2001-06-09  Kevin Dalley  <kevin@seti.org>
2208         * intl/plural.c:
2209         Changes the location of bison.simple after running bison on local
2210         machine
2212         * ChangeLog: *** empty log message ***
2214         * Makefile.in, aclocal.m4, config.h.in, configure,
2215         doc/Makefile.in, find/Makefile.in, find/testsuite/Makefile.in,
2216         lib/Makefile.in, lib/posix/Makefile.in, locate/Makefile.in,
2217         locate/testsuite/Makefile.in, m4/Makefile.in, xargs/Makefile.in,
2218         xargs/testsuite/Makefile.in: Updates mostly from gettext-0.10.38
2220         * ABOUT-NLS: * ABOUT-NLS: updated from gettext-0.10.38.
2222         * configure.in: * configure.in: add tr to ALL_LINGUAS.
2224         * intl/config.charset, intl/dcigettext.c, intl/dcngettext.c,
2225         intl/dngettext.c, intl/libgnuintl.h, intl/localcharset.c,
2226         intl/locale.alias, intl/ngettext.c, intl/plural.y,
2227         intl/ref-add.sin, intl/ref-del.sin: updated from gettext-0.10.38
2229         * intl/cat-compat.c, intl/linux-msg.sed, intl/po2tbl.sed.in,
2230         intl/xopen-msg.sed, m4/ChangeLog: *** empty log message ***
2232         * m4/jm-macros.m4:
2233         * jm-macros.m4 (jm_MACROS): remove jm_ICONV, which is replaced by
2234         AM_ICONV, which is imported from gettext-0.10.38.  removed
2235         jm_GLIBC21, which is required in AM_GNU_GETTEXT, which is
2236         imported from gettext-0.10.38.
2238         * po/stamp-cat-id:      * stamp-cat-id: Remove file.
2240         * po/Makefile.in.in:    * Makefile.in.in: Upgrade to gettext-0.10.38.
2242         * po/ChangeLog:         * cat-id-tbl.c: Remove file.
2244         * po/de.po, po/es.po, po/et.po, po/fr.po:
2245         * fr.po, et.po, es.po, de.po: updated translations to
2246         findutils-4.1.7.
2248         * po/tr.po: * tr.po:  New Turkish translation.
2250         * m4/ChangeLog: *** empty log message ***
2252         * intl/dgettext.c, intl/explodename.c, intl/finddomain.c,
2253         intl/gettext.c, intl/gettext.h, intl/gettextP.h,
2254         intl/hash-string.h, intl/intl-compat.c, intl/l10nflist.c,
2255         intl/libgettext.h, intl/loadinfo.h, intl/loadmsgcat.c,
2256         intl/localealias.c, intl/plural.c, intl/textdomain.c,
2257         intl/ChangeLog, intl/Makefile.in, intl/VERSION,
2258         intl/bindtextdom.c, intl/dcgettext.c: Updated from gettext-0.10.38
2260         * m4/Makefile.am:
2261         reflects addition of codeset.m4 from gettext-0.10.38, automatically
2262         generated.
2264         * m4/codeset.m4, m4/gettext.m4, m4/glibc21.m4, m4/iconv.m4,
2265                 m4/isc-posix.m4, m4/lcmessage.m4, m4/progtest.m4: *
2266                 progtest.m4, lcmessage.m4, isc-posix.m4, iconv.m4,
2267                 glibc21.m4, gettext.m4, codeset.m4: updated from
2268                 gettext-0.10.38.
2270         * ChangeLog: *** empty log message ***
2272         * THANKS: added "Gerrit P. Haase" <gerrit.haase@t-online.de>
2274         * m4/ChangeLog, locate/testsuite/.cvsignore,
2275         xargs/testsuite/.cvsignore, config.h.in, configure, aclocal.m4,
2276         doc/.cvsignore: *** empty log message ***
2278         * m4/jm-macros.m4:      * jm-macros.m4 (jm_MACROS): add jm_FSTYPENAME
2280         * doc/Makefile.in: *** empty log message ***
2282         * doc/Makefile.am:
2283         * doc/Makefile.am (MOSTLYCLEANFILES): add find.cps, which is
2284         created by dvips.  This should be taken care of by automake, but
2285         the code is commented out.
2287 2001-06-09  Kevin Dalley  <kevin@seti.org>
2289         * ABOUT-NLS: updated from gettext-0.10.38.
2291         * configure.in: add tr to ALL_LINGUAS.
2293         * doc/Makefile.am (MOSTLYCLEANFILES): add find.cps, which is
2294         created by dvips.  This should be taken care of by automake, but
2295         the code is commented out.
2297 2001-06-05  Kevin Dalley  <kevin@seti.org>
2299         * locate/updatedb.sh: replace "whoami" with "id -u" when testing
2300         for root.
2302 2001-06-04  Kevin Dalley  <kevin@seti.org>
2304         * locate/testsuite/Makefile.am (DIST_SUBDIRS): remove second
2305         instance of DIST_SUBDIRS.
2307         * locate/Makefile.am (install-data-hook): changed install target
2308         to install-data-hook, which still installs other files.
2310         * doc/Makefile.am (MOSTLYCLEANFILES): added find.cps, which should
2311         probably be handled by automake.
2313         * doc/mdate-sh: removed file in doc directory.  It now exists only
2314         in top_srcdir, but this changed required a patch to automake.
2316 2001-05-20  Kevin Dalley  <kevin@seti.org>
2318         * Version 4.1.7
2319         
2320         * lib/Makefile.am (EXTRA_DIST): add strcasecmp.c
2322         * find/testsuite/Makefile.am (EXTRA_DIST): new tests:
2323         find.gnu/name-opt.exp find.gnu/perm.exp find.gnu/perm.xo
2324         find.gnu/prune-default-print.exp find.gnu/prune-default-print.xo
2326         * configure.in: update to 4.1.7
2328         * config.sub, config.guess: upgraded to recent versions of
2329         config.sub and config.guess.
2331         * locate/updatedb.sh: Add space to "#! /bin/sh"
2333         * configure.in: Add id to ALL_LINGUAS
2335         * lib/Makefile.am (EXTRA_DIST):  getline.[ch] added
2336         (libfind_a_SOURCES): getline.[ch] removed since getline.c is not
2337         always needed.
2339 2001-05-20  Lionel CONS <lionel.cons@cern.ch>
2341         * find/find.c: Fixed security holes.  1.  There is a race
2342         condition between the lstat() to detect a symbolic link and the
2343         actual chdir().  2.  An attacker can move directories while find
2344         is _inside_ so that chdir(..) goes out of the intended file tree.
2346         * lib/modetype.h: support for Solaris door files is added.
2348         * lib/filemode.c: S_ISDOOR is undef'ed if STAT_MACROS_BROKEN
2350         * find/pred.c (pred_type): -D option (for Solaris door files) is
2351         added.
2353         * find/parser.c (insert_type):  -D option (for Solaris door files)
2354         is added. 
2356         * find/find.1: -D option (for Solaris door files) is documented
2358         * doc/find.texi (Type): -D option (for Solaris door files) is
2359         documented
2361 2001-05-02  Kevin Dalley  <kevin@seti.org>
2363         * configure.in: Change AC_CHECK_MEMBERS to conform to new
2364         autoconf.  Add Danish.
2366 2001-01-20  Kevin Dalley  <kevin@seti.org>
2368         * doc/find.texi (Adding Tests): Place space in "#! /bin/sh".
2370         * find/testsuite/find.gnu/prune-default-print.xo,
2371         find/testsuite/find.gnu/prune-default-print.exp: test for "find
2372         . -prune" which passes after changes.  Also see name-opt.exp.
2374         * find/util.c (get_new_pred):
2375         * find/tree.c (set_new_parent):
2376         * find/parser.c (various parse functions):
2377         * find/find.c (main): 
2378         (default_prints): new function 
2379         * find/defs.h (struct predicate): added no_default_print
2380         side_effects are no separated from no_default_print.  predicates
2381         which cause side effects should not be reordered (optimized).
2382         predicates which cause printing should have printing turned off.
2383         Printing statements also cause side effects.
2385 2000-10-29  Bruno Haible <haible@ilog.fr>
2387         * locate/code.c (main), doc/find.texi: improve handling of
2388         non-ASCII characters used old format.
2390 2000-10-21  Paul Eggert  <eggert@twinsun.com>
2392         If open + fchdir fails, fall back on xgetcwd + chdir.
2393         The old code tested for this at compile-time,
2394         but SunOS 4.1.4 fchdir can fail at run-time.
2396         * find/defs.h (fchdir): Define to -1 if not available.
2397         * find/defs.h (starting_dir, starting_desc):
2398         Always declare.  starting_dir now points to const.
2399         * find/find.c (starting_dir, starting_desc): Likewise.
2400         * find/find.c (starting_dir):
2401         Now "." if starting_desc is nonnegative, for benefit of diagnostics.
2402         (main, process_top_path, process_dir):
2403         If open + fchdir fails, fall back on xgetcwd + chdir.
2404         * find/pred.c (launch): Likewise.
2406 2000-10-20  Kevin Dalley  <kevin@seti.org>
2408         * xargs/xargs.c, locate/updatedb.sh, locate/locate.c (usage),
2409         find/parser.c (parse_help): add bug reporting address to help
2411 2000-10-13  Kevin Dalley  <kevin@seti.org>
2413         * depcomp, lib/depcomp: depcomp moved from lib to .
2415 2000-10-11  Kevin Dalley  <kevind@rahul.net>
2417         * Version 4.1.6
2418         
2419         * locate/testsuite/config/unix.exp: set PRUNEFS to "" for the
2420         testsuite. 
2422 2000-10-10  Bruno Haible <haible@ilog.fr>
2424         * lib/Makefile.am (libfind_a_SOURCES): added yesno.c
2426         * lib/yesno.c, lib/rpmatch.c: new files.
2428         * find/pred.c: use function yesno().
2430 2000-10-10  Kevin Dalley  <kevind@rahul.net>
2431         
2432         * locate/testsuite/Makefile.am: Added missing \ at end of
2433         EXTRA_DIST lines.
2435         * locate/testsuite/locate.gnu/ignore_case3.xo,
2436         locate/testsuite/locate.gnu/ignore_case3.exp,
2437         locate/testsuite/locate.gnu/ignore_case2.exp,
2438         locate/testsuite/locate.gnu/ignore_case1.xo,
2439         locate/testsuite/locate.gnu/ignore_case1.exp: place locatedb
2440         inside tmp directory, add subdir directory under tmp.
2442         * locate/testsuite/config/unix.exp: clean up tmp after test is
2443         finished. 
2445 2000-10-10  Kevin Dalley  <kevind@rahul.net>
2447         * locate/testsuite/config/unix.exp (Repository): 
2449 2000-10-09  Kevin Dalley  <kevind@rahul.net>
2451         * lib/fnmatch.c, lib/fnmatch.h: reverted to older version of
2452         fnmatch which works with Solaris.
2454         * locate/testsuite/config/unix.exp: dejagnu unix.exp
2456         * xargs/testsuite/config/unix.exp: remove temporary file
2458         * xargs/xargs.c: spelling correction
2460         * m4/prereq.m4: updated and changed some macros
2462         * m4/jm-macros.m4: replaced jm_FUNC_FNMATCH with
2463         kd_FUNC_FNMATCH_CASE_REPL 
2465         * m4/timespec.m4, m4/strerror_r.m4, m4/mbstate_t.m4,
2466         m4/largefile.m4, m4/gettext.m4, m4/fnmatchcase.m4, m4/d-type.m4,
2467         m4/d-ino.m4, m4/c-bs-a.m4: new m4 macros.
2469         * m4/Makefile.am: add fnmatchcase.m4 and mbstate_t.m4
2471         * locate/testsuite/locate.gnu/ignore_case3.xo,
2472         locate/testsuite/locate.gnu/ignore_case3.exp,
2473         locate/testsuite/locate.gnu/ignore_case2.xo,
2474         locate/testsuite/locate.gnu/ignore_case2.exp,
2475         locate/testsuite/locate.gnu/ignore_case1.xo,
2476         locate/testsuite/locate.gnu/ignore_case1.exp,
2477         locate/testsuite/config/unix.exp: tests related to "--ignore-case"
2478         option.
2480         * locate/testsuite/locate.gnu: testsuite directory
2482         * locate/testsuite/Makefile.am (Repository): 
2484         * locate/testsuite: add directory for locate testsuite
2486         * po/findutils.pot: updated file
2488         * po/sv.po, po/ru.po, po/pt_BR.po, po/pl.po, po/nl.po, po/ko.po,
2489         po/it.po, po/gl.po, po/fr.po, po/et.po, po/es.po, po/de.po:
2490         updated various po files.
2492         * locate/updatedb.sh: export TMPDIR, which is used by child
2493         processes.
2495         * locate/locate.1, locate/locate.c:  add "--ignore-case" option.
2497         * locate/Makefile.am: add testsuite subdirectory
2499         * find/testsuite/find.gnu/perm.xo,
2500         find/testsuite/find.gnu/perm.exp,
2501         find/testsuite/find.gnu/name-opt.xo,
2502         find/testsuite/find.gnu/name-opt.exp: added test suites
2504         * configure.in: add locate/testsuite/Makefile
2506         * doc/find.info*: removed from repository
2508         * doc/find.texi: add documentation for "-i" option.
2510         * aclocal.m4: removed from repository, as it is generated.
2512         * find/pred.c: fixes problem with "find -perm -0100".
2514         * lib/lstat.c, lib/stat.c: removed from repository.  These files
2515         are generated from lib/xstat.in.
2517 2000-08-24  Kevin Dalley  <kevind@rahul.net>
2519         * doc/find.texi (Invoking xargs): changed @var{-s} to @samp{-s}.
2521 2000-05-13  Kevin Dalley  <kevind@rahul.net>
2523         * find/tree.c (opt_expr): move iname and ipath to the front of the
2524         list of arguments.
2526         * doc/find.texi (Directories): changed wording for "-prune".
2528         * find/parser.c (parse_prune): set side_effects to true, to
2529         prevent prune from being moved in opt_expr.
2531 2000-04-12  Kevin Dalley  <kevind@rahul.net>
2533         * doc/find.texi, doc/permi.texi: fix spellings, add LocalWords.
2535         * lib/Makefile.am: put getline.c back into libfind_a_SOURCES,
2536         since getstr is needed.
2538         * Version 4.1.5
2539         
2540         * po/POTFILES.in: updated list of files, updated po files.
2543 2000-04-02  Paul Eggert  <eggert@twinsun.com>
2545         Add support for large files, and port to Solaris 8 and earlier
2546         versions.
2548         * lib/human.c (getenv): Depend on NEED_GETENV_DECL, not
2549         HAVE_DECL_GETENV.
2551         * lib/strftime.c (my_strftime): Make sure we call the system
2552         strftime, not ourselves, when invoking the underlying strftime.
2553         
2554         * m4/check-decl.m4 (jm_CHECK_DECLS): Remove memchr, nanosleep.
2556         * m4/jm-macros.m4 (jm_MACROS): Don't check for utime.h.  Do not
2557         require jm_BISON, jm_CHECK_TYPE_STRUCT_UTIMBUF, jm_FUNC_LCHOWN,
2558         jm_FUNC_CHOWN, jm_FUNC_NANOSLEEP, jm_FUNC_GROUP_MEMBER,
2559         jm_FUNC_PUTENV, jm_FUNC_GETGROUPS, AM_FUNC_GETLOADAVG,
2560         jm_SYS_PROC_UPTIME, jm_FUNC_FTRUNCATE, jm_FUNC_UTIME.  Do not
2561         replace strcasecmp, dup2, gethostname, getusershell, stime,
2562         strcspn, strpbrk, euidaccess, mkdir, rmdir, rpmatch, strndup,
2563         strverscmp, memchr, memmove.  Do not check for declaration of
2564         lchown.  Remove invocations of AM_FUNC_OBSTACK, AM_FUNC_STRTOD,
2565         POW_LIBM, jm_LANGINFO_CODESET, jm_ICONV.  Remove df tests.
2566         (jm_CHECK_ALL_TYPES): Include <sys/stat.h> when checking for
2567         struct stat.st_blksize.
2569         * m4/strftime.m4 (jm_FUNC_GNU_STRFTIME): Set environment variable
2570         in shell rather than using putenv, which isn't portable.
2571         
2572         * COPYING, lib/alloca.c, lib/dirname.c, lib/error.c,
2573         lib/savedir.c, lib/strstr.c, m4/check-decl.m4, m4/d-ino.m4,
2574         m4/d-type.m4, m4/getline.m4, m4/jm-glibc-io.m4, m4/jm-macros.m4,
2575         m4/jm-mktime.m4, m4/ls-mntd-fs.m4, m4/memcmp.m4, m4/prereq.m4,
2576         m4/readdir.m4, m4/regex.m4, m4/strftime.m4, m4/uintmax_t.m4: Sync
2577         to latest version from sh-utils-2.0g.
2579         * config.guess, config.sub, lib/argmatch.c, lib/argmatch.h,
2580         lib/human.c, lib/human.h, lib/memcpy.c, lib/quotearg.c,
2581         lib/quotearg.h, lib/strtoull.c, lib/strtoumax.c,
2582         lib/xstrtoumax.c, m4/c-bs-a.m4, m4/gettext.m4,
2583         m4/largefile.m4, m4/lcmessage.m4, m4/link-follow.m4,
2584         m4/progtest.m4, m4/strerror_r.m4, m4/timespec.m4,
2585         m4/xstrtoumax.m4: New files, taken from sh-utils-2.0g.
2587         * lib/ansi2knr.1, lib/ansi2knr.c, lib/basename.c, lib/getopt.h,
2588         lib/fnmatch.c, lib/fnmatch.h, lib/modechange.c: Sync to latest
2589         unreleased version of GNU tar (between 1.13.17 and 1.13.18).
2591         * lib/basename.h, lib/waitpid.c: New files, taken from same
2592         version of GNU tar.
2593         
2594         * lib/regex.c, lib/regex.h: Sync to GNU grep 2.4.2.
2596         * lib/posix/Makefile.am, lib/posix/regex.h: New files, taken from
2597         GNU grep 2.4.2.
2599         * lib/strftime.c: Sync to textutils 2.0e.
2600         
2601         * acconfig.h, depcomp, lib/strcasecmp.c, m4/check-type.m4,
2602         m4/const.m4, m4/decl.m4, m4/lfs.m4, m4/mktime.m4, m4/perl.m4,
2603         m4/putenv.m4, m4/uptime.m4, m4/utimbuf.m4, m4/utime.m4,
2604         m4/utimes.m4: Remove these files; no longer needed.
2606         * configure.in (AC_CANONICAL_HOST, AC_SYS_LARGEFILE,
2607         jm_AC_TYPE_UINTMAX_T): Add.
2608         (CACHE_IDS, FSTYPE_STATVFS, FSTYPE_USG_STATFS, FSTYPE_AIX_STATFS,
2609         FSTYPE_MNTENT, FSTYPE_STATFS, FSTYPE_GETMNT): Add comment, so that
2610         we don't need acconfig.h.
2611         (AC_CHECK_TYPE): Add ssize_t.
2612         (AC_REPLACE_FUNCS): Add waitpid.
2613         (AC_CHECK_FUNCS): Remove basename.
2614         (AC_FUNC_MKTIME): Remove.
2615         (LIBOBJS): Add no-ops to work around automake 1.4 bug.
2616         (AC_OUTPUT): Add lib/posix/Makefile.
2618         * find/defs.h: Include <config.h>, <sys/types.h>, <sys/stat.h>,
2619         <stdio.h>, <limits.h>, <inttypes.h>.  All includers changed to not
2620         include these files, and to include "defs.h" first (since config.h
2621         must be included first).
2622         (CHAR_BIT, S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IWUSR, S_IXUSR,
2623         S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH, MOD_WXUSR,
2624         MODE_R, MODE_RW, MODE_RWX, MODE_ALL): New macros.
2625         (enum permissions_type): New enum.
2626         (struct long_val.negative): New member.
2627         (struct long_val.l_val): Now uintmax_t, not unsigned long.
2628         (struct size_val.size): Likewise.
2629         (struct perm_val): New type.
2630         (struct predicate.perm): Now struct perm_val, not unsigned long.
2631         (struct predicate.type): Now mode_t, not unsigned long.
2632         (list_file): New parameters current_time, output_block_size.
2633         All callers changed.
2634         (savedir, basename): Remove decls.
2635         (output_block_size, start_time): New extern vars.
2637         * find/find.c: Include <human.h>, <savedir.h>.
2638         (output_block_size, start_time): New vars.
2639         (main): Initialize them.  No need to check for negative st_size,
2640         since savedir now does it for us.
2642         * find/fstype.c: Include "dirname.h".
2643         (xatoi): Remove.
2644         (filesystem_type_uncached): Use xstrtoumax instead of xatoi.
2645         
2646         * find/parser.c: Include "xstrtol.h".
2647         (get_num_days, get_num, parse_amin, parse_cmin, parse_mmin,
2648         parse_size, parse_used, insert_time, insert_num): Compute using
2649         uintmax_t, not unsigned long.
2650         (parse_amin, parse_cmin, parse_mmin, parse_used, insert_time):
2651         Keep track of whether time was negative before converting it to an
2652         unsigned type.
2653         (parse_daystart): Don't assume that localtime succeeds; e.g. it
2654         can fail with 64-bit time_t and 32-bit tm_year.
2655         (parse_perm, insert_type): Compute using mode_t, not unsigned
2656         long.
2657         (insert_type): Use symbolic constants like MODE_ALL instead of
2658         traditional ones like 07777.  Set new kind member to indicate
2659         permissions type, instead of using unportable magic numbers.
2660         (make_segment): We will use human_readable to convert most numeric
2661         values, so simplify the cases.
2662         (get_num_days): Write in terms of get_num, to avoid duplicated
2663         code.
2664         (insert_time, insert_num): When debugging, convert large values to
2665         uintmax_t and output with %ju.
2666         (get_num): Use xstrtoumax to do the real work.
2668         * find/pred.c: Include "basename.h", "human.h".
2669         (DEV_BSIZE, ST_BLKSIZE, ST_NBLOCKSIZE): New macros, taken from
2670         fileutils.
2671         (ST_NBLOCKS): Replace with fileutils defn.
2672         (MAX): New macro.
2673         (ctime_format): New function.
2674         (pred_fprintf, format_date): Use human_readable to output large
2675         numbers portably.
2676         (pred_fprintf): Use ctime_format to output ctime-style dates.  Use
2677         base_name to compute the base name of a path.  With %m, output the
2678         mode portably using traditional numbers, even if the host uses
2679         some other numbering scheme.
2680         (pred_iname, pred_name): basename -> base_name.
2681         (pred_perm): Use new kind member to deduce permissions type,
2682         instead of relying on magic numbers.
2683         (pred_size): Compute using uintmax_t, not unsigned long.  Avoid
2684         overflow if file size is near the maximum.
2685         (pred_type): Compute using mode_t, not unsigned long.
2686         (launch): Use waitpid, not wait.  Check for EINTR.
2687         (format_date): Don't assume that localtime succeeds.
2689         * find/util.c (basename): Remove; we now use base_name.
2691         * lib/Makefile.am (SUBDIRS): New macro.
2692         (libfind_a_SOURCES): Add argmatch.h, argmatch.c, basename.h,
2693         basename.c, human.c, human.h, quotearg.c, quotearg.h, xstrtoumax.c.
2694         Remove error.h, error.c, getline.c.
2695         (EXTRA_DIST): Add mktime.c, regex.c.
2697         * lib/listfile.c: Include "human.h".
2698         (alloca): Declare, or include appropriate files to declare.
2699         (DEV_BSIZE, ST_NBLKSIZE, ST_NBLOCKS, ST_NBLOCKSIZE): New macros.
2700         (convert_blocks): Remove.
2701         (list_file): New current_time and output_block_size args.
2702         Revamp quite a bit, to handle large numbers correctly
2703         and to match GNU ls behavior more closely.
2705         * m4/Makefile.am (EXTRA_DIST): Add c-bs-a.m4, gettext.m4,
2706         largefile.m4, lcmessage.m4, link-follow.m4, progtest.m4,
2707         strerror_r.m4, xstrtoumax.m4.  Remove check-type.m4, const.m4,
2708         decl.m4, lfs.m4, mktime.m4, perl.m4, putenv.m4, timespec.m4,
2709         uptime.m4, utimbuf.m4, utime.m4, utimes.m4.
2711         * xargs/xargs.c (wait_for_proc): Retry wait if it fails with
2712         errno == EINTR.
2714 2000-04-05  Kevin Dalley  <kevind@rahul.net>
2716         * xargs/Makefile.am:  add ansi2knr
2718         * xargs/xargs.c: add macros PARAMS rather than P_.  Add
2719         prototypes.
2721         * po/POTFILES: new file listing all POFILES.
2723         * m4/gl.po, m4/et.po: new files
2725         * m4/Makefile.am.in:  updated file
2727         * m4: update directory
2729         * locate/Makefile.am: create updatedb from updatedb.sh
2731         * locate/updatedb.sh, locate/updatedb.in: removed file.  Replaced
2732         by updatedb.sh
2734         * locate/frcode.c, locate/code.c, locate/bigram.c: add macros
2735         PARAMS rather than P_.  Add prototypes.
2737         * lib/xstat.in: new file
2739         * lib/Makefile.am: update to latest versions of library files.
2741         * find/testsuite/Makefile.am: add CLEANFILES
2743         * find/util.c: remove definition of basename
2744         
2745         * find/util.c, find/tree.c, find/pred.c, find/parser.c,
2746         find/fstype.c, find/find.c, find/defs.h: add macros PARAMS rather
2747         than P_, for consistency, change to prototypes
2749         * find/Makefile.am: Add prototypes and ansi2knr
2751         * configure.in: add Galition and Estonian languages.
2752         Miscellaneous other fixes.
2753         
2755 2000-03-11  Kevin Dalley  <kevind@rahul.net>
2757         * lib/basename.c: Add file from libit.
2758         * lib/Makefile.am (libfind_a_SOURCES): add basename.c since it is
2759         no longer replaceable.
2761         * find/util.c: Remove definition of basename, which is now in
2762         lib/basename.c (as base_name).
2763         * find/pred.c: Use base_name, not basename.
2764         * find/defs.h: Likewise.
2766         * configure.in : Don't replace basename.  Now we use only
2767         base_name.
2769 2000-02-26  Kevin Dalley  <kevind@rahul.net>
2771         * Version 4.1.4
2772         
2773         * lib/strtoul.c: added to distribution
2774         
2775         * configure.in: added strtoul to AC_REPLACE_FUNCS
2777         * configure.in: added jm_CHECK_ALL_TYPE
2779 2000-02-23  Kevin Dalley  <kevind@rahul.net>
2781         * po/ChangeLog: removed, merged with top-level ChangeLog.
2782         
2783         * po/de.po: new version of German file.
2784         
2785         * po/gl.po, po/et.po: new languages, Estonian and Galician.
2787         * locate/updatedb.sh (PRUNEFS): enclose paths in quotes
2789 2000-02-17  Kevin Dalley  <kevind@rahul.net>
2791         * po/it.po: new version of Italian file.
2792         
2793         * locate/updatedb.sh (prunefs_exp): have sed statement use '*'
2794         rather than the often unsupported '+'.
2796 2000-02-13  Kevin Dalley  <kevind@rahul.net>
2798         * configure.in: removed AC_ARG_PROGRAM, which is already in
2799         AM_INIT_AUTOMAKE. 
2801         * locate/Makefile.am (updatedb), locate/updatedb.sh: add
2802         transforms of find, frcode, bigram, and code back into
2803         updatedb.sh, which were accidentally removed.
2805 2000-02-12  Kevin Dalley  <kevind@rahul.net>
2807         * lib/wait.h: updated address.
2809 2000-01-26  Kevin Dalley  <kevind@rahul.net>
2811         * Version 4.1.3
2813         * acconfig.h: added internationalization.
2815         * intl/*: copied from tar-1.13.17.
2817         * locate/Makefile.am, locate/locate.c, locate/code.c:
2818         internationalized file.
2820         * locate/frcode.c, locate/bigram.c: include headers from ../lib
2821         directory.
2823         * xargs/Makefile.am, xargs/xargs.c: internationalized directory.
2825 2000-01-26  Kevin Dalley  <kevind@rahul.net>
2827         * POTFILES.in: added list of files with translatable strings.
2829         * de.po, es.po, fr.po, it.po, ko.po, nl.po, pl.po, pt_BR.po,
2830         ru.po, sv.po: New, slightly out of date, files imported from the
2831         Translation Project: http://www.iro.umontreal.ca/contrib/po/HTML/,
2832         German, Spanish, French, Italian, Korean, Dutch, Polish, Brazilian
2833         Portuguese.
2836 2000-01-24  Kevin Dalley  <kevind@rahul.net>
2838         * lib/xmalloc.c, lib/regex.c, lib/getopt.c: internationalization
2839         works with current version of gettext.
2841         * lib/getline.h : added declaration of getstr.
2842         * lib/Makefile.am (libfind_a_SOURCES): added getline.[ch] to
2843         standard compilation. Added internationalization.
2844         * find/Makefile.am (INCLUDES): corrected -I options for building
2845         in other directories.
2846         (LDADD): changes for internationalization.
2848         * configure.in (ALL_LINGUAS): added internationalization. 
2849         getline.c is always compiled and linked, because of getstr.
2850         AM_GNU_GETTEXT
2852         * Makefile.am: 
2853         (DISTCLEANFILES): added intl/libintl.h
2854         (AUTOMAKE_OPTIONS): added gnits to AUTOMAKE_OPTIONS
2855         (SUBDIRS): added intl and po
2857         * acconfig.h: added internationalization values
2859         * THANKS: added thanks file for gnits compatibility.
2861 2000-01-22  Kevin Dalley  <kevind@rahul.net>
2863         * added intl directory.
2865         * Added internationalization, only with slightly out of date po
2866         files for many locales.
2868 2000-01-18  Kevin Dalley  <kevind@rahul.net>
2870         * Version 4.1.2
2871         
2872         * locate/Makefile.am: remove creation of updatedb, since it is now
2873         made by configure
2875         * configure.in: updatedb is now created by configure.
2877         * xargs/Makefile.am: added testsuite to xargs directory
2879         * locate/updatedb.in: updatedb is now created by configure
2881         * locate/frcode.c, locate/code.c, locate/bigram.c: change return
2882         from main to int.  Replace getstr with getline, where possible.
2884         * locate/Makefile.am: place frcode, code, bigram in
2885         libexec_PROGRAMS
2887         * lib/xstrdup.c, lib/xmalloc.c, lib/xgetcwd.c, lib/xalloc.h,
2888         lib/strtol.c, lib/strstr.c, lib/strftime.c, lib/strdup.c,
2889         lib/stpcpy.c, lib/stat.c, lib/savedir.h, lib/savedir.c,
2890         lib/regex.h, lib/regex.c, lib/realloc.c, lib/pathmax.h,
2891         lib/modechange.h, lib/modechange.c, lib/mktime.c, lib/memset.c,
2892         lib/memcmp.c, lib/malloc.c, lib/lstat.c, lib/idcache.c,
2893         lib/getopt1.c, lib/getopt.c, lib/getopt.h, lib/getline.c,
2894         lib/getline.h, lib/fnmatch.c, lib/fnmatch.h, lib/filemode.c,
2895         lib/filemode.h, lib/fileblocks.c, lib/error.c, lib/error.h,
2896         lib/dirname.c, lib/alloca.c: updated to newer version of file from
2897         fileutils.
2899         * find/version.c: version number is now automatically generated by
2900         configure.
2902         * find/fstype.c (filesystem_type_uncached): fixes bug described as
2903         follows:  When 'find' looks for a fstype, it parses the /etc/mtab
2904         until it finds the good line. But, if there is, before the good
2905         line, a line whose mountpoint is unreachable, it fails.
2907         * doc/texinfo.tex: updated to newer version
2909         * doc/find.texi: added version.texi, fixed a few documentation bugs.
2911         * configure.in: new m4 features.
2913         * Makefile.am: moved testsuite to below corresponding directories
2914         find and xargs.
2916         * acconfig.h: updated to match new m4 files.
2918         * m4: added m4 directory, largely borrowed from Jim Meyering's
2919         fileutils.
2921 2000-01-17  Kevin Dalley  <kevind@rahul.net>
2923         * doc/find.texi (Multiple Files): placed missing xargs in examples
2925         * find/testsuite/find.gnu/depth.exp: added find tests to test
2926         "-depth" bug.
2928         * doc/find.texi: include version.texi for automatic determination
2929         of version number, update bug report email address to
2930         bug-findutils@gnu.org.
2931         (Combining Primaries With Operators): add indices for " ,", "()",
2932         "-a", "-o", etc.
2934 2000-01-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2936         * find/tree.c (opt_expr): Never rearrange the arguments of the
2937         comma operator, since it is not commutative.  Remove useless
2938         assignment.2
2939         
2940 2000-01-17  Jonathan R. Ferro <jferro@corwin.ece.cmu.edu>
2941         
2942         * find/find.c (process_path): fix problem with "-depth" which is
2943         tested in depth.exp test.
2945 1999-08-15  Kevin Dalley  <Kevin Dalley <kevin@seti.org>>
2947         * find/fstype.c (filesystem_type_uncached): a stat failure with
2948         EACCESS will ignore this file system keep on looking.  Patch
2949         suggested by Vincent Danjean <vdanjean@ens-lyon.fr>.
2951 1999-08-15  Mark Kettenis  <kettenis@gnu.org>
2953         * xargs/xargs.c (LONG_MAX): Define if necessary.
2954         (main): If ARG_MAX is -1 (that is sysconf
2955         (_SC_ARG_MAX) returns -1) the system does not impose a limit.  In
2956         that case, use LONG_MAX as the limit.
2957         
2958 1999-08-15  Kevin Dalley  <Kevin Dalley <kevind@rahul.net>
2960         * find/version.c: version string is now set by config.h
2962 1999-08-08  Kevin Dalley  <kevin@seti.org>
2964         * Version 4.1.1
2966         * README-alpha: added alpha README file
2968         * find/defs.h: move lstat declarations into defs.h
2970         * xargs/Makefile.am, testsuite/Makefile.am, locate/Makefile.am,
2971         lib/Makefile.am, find/Makefile.am, doc/Makefile.am, configure.in,
2972         Makefile.am: update for automake-1.4
2974 1999-08-02  Kevin Dalley  <kevind@rahul.net>
2976         * AUTHORS: added file listing AUTHORS
2978         * lib/Makefile.am: modified code for EXTRA sources
2979         
2980 1999-01-30  Kevin Dalley  <kevind@rahul.net>
2982         * added const to declaration of basename, which should satisfy
2983         Linux as well as Hurd (fixes bug #31325).
2984         
2985 1998-12-04  Kevin Dalley  <kevind@rahul.net>
2986         
2987         * lib/nextelem.c: removed declaration of strdup and free, which
2988         meets GNU coding standards and allows compilation on more
2989         platforms.
2990         
2991         * find.texi: corrected explanation of -amin option which described
2992         hours instead of minutes
2993         
2994 1998-09-26  Kevin Dalley  <kevind@rahul.net>
2995         
2996         * lib/getline.c: fix getstr so that it correctly handles long file
2997         paths
2998         
2999 1998-09-20  Kevin Dalley  <kevind@rahul.net>
3000         
3001         * removed more function declarations to meet GNU coding standards
3002         
3003 1998-08-30  Kevin Dalley  <kevind@rahul.net>
3004         
3005         * lib/nextelem.c: removed declaration of strdup and free, which
3006         meets GNU coding standards and allow compilation on sparc
3007         
3008         * corrected explanation of -amin option which described hours
3009         instead of minutes
3010         
3011 1998-02-27  Kevin Dalley  <kevind@rahul.net>
3012         
3013         * locate/locate.c: add --existing option to locate, which only
3014         prints the names of files which still exist
3015         
3016 1998-02-08  Kevin Dalley  <kevind@rahul.net>
3017         
3018         * locate/locate.c: corrected get_short so that it correctly
3019         returns negative numbers.
3020         
3021         * remove declarations of various string functions.  Removing the
3022         declarations almost matches the GNU Coding Standards.
3023         
3024 1997-03-03  Kevin Dalley  <kevind@rahul.net>
3025         
3026         * xargs/xargs.c: xargs fixed to prevent occasional core dumping.
3027         
3028 1997-01-11  Kevin Dalley  <kevind@rahul.net>
3029         
3030         * locate/updatedb.sh: add --localuser option to updatedb, which
3031         allows find to be run as nobody, while allowing database file to
3032         be created as root, change suggested by
3033         <Bernd_Eckenfels@Wittumstrasse13.76646Bruchsal.de>
3034         
3035 1996-12-28  Kevin Dalley  <kevind@rahul.net>
3036         * added PRUNEFS as variable in updatedb and --prunefs as option to
3037         updatedb
3039 1996-05-27  Kevin Dalley  <kevind@rahul.net>
3040         
3041         * updatedb.sh: when NETPATHS is used, only su to NETUSER if whoami
3042         is root
3043 1996-04-27  Kevin Dalley  <kevind@rahul.net>
3045         * lib/getline.c (getstr): verify that nchars_avail is *really*
3046         greater than 0; set *n to a large enough number, stops some core
3047         dumping
3049 Thu Nov  3 09:23:33 1994  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
3051         * Version 4.1.
3053         * locate/Makefile.am: Move updatedb from LIBSCRIPTS to SCRIPTS.
3055         * Makefile.am (distname): Change distribution name from find to
3056           findutils.
3058         * testsuite/config/unix.exp: Don't abuse xfail; simulate it correctly.
3060         * locate/Makefile.am (CLEANFILES): Fix typo.
3062 Wed Nov  2 15:11:52 1994  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
3064         * The big 4 0.
3066         * lib/listfile.c find/defs.h (list_file): Take a stream arg.
3067         * find/pred.c (pred_ls): pass it.
3068         * find/parser.c pred.c defs.h (parse_fls, pred_fls): New functions.
3070 Tue Oct 25 16:09:04 1994  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
3072         * find/pred.c (pred_fprintf): Flush output after \c.  From Chapman
3073         Flack.
3075         * find/parser.c (insert_fprintf): Warn about unrecognized \ and %
3076         sequences.
3078 Tue Oct 18 00:03:10 1994  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
3080         * find/defs.h parser.c pred.c tree.c util.c: Globally change
3081         "victim" to "primary".
3083         * find/parser.c (insert_fprintf): For 'c' format, don't lose the
3084         need_stat information.  From Chapman Flack.
3086         * doc/find.texi perm.texi: New files.
3087         * configure.in: Configure the doc directory.
3089         * find/pred.c (pred_regex): Check that the regex matched the whole
3090         file name.
3092 Wed Oct 12 17:13:47 1994  David J. MacKenzie  (djm@duality.gnu.ai.mit.edu)
3094         * find/find.c (main): Tell what the invalid arg is.
3095         From Kaveh Ghazi.
3097 Fri Oct  7 12:33:24 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
3099         * find/parser.c: Add -mount as an alias for -xdev.
3100         From Klaus.Steinberger@physik.uni-muenchen.de (Klaus Steinberger).
3102         * lib/modechange.c: Make umask_value unsigned short.
3104         * xargs/xargs.c: Use symbolic constants in longopts.
3105         From Chapman Flack.
3107 Wed Oct  5 11:23:09 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
3109         * xargs/xargs.c (main, read_line, read_string, do_exec): Pass 
3110           along the lengths of the args.
3111           (main): Calculate length of replace_pat.
3112           (push_arg, do_insert): Use those lengths instead of calculating
3113           them. 
3115 Tue Oct  4 10:02:05 1994  David MacKenzie  <djm@churchy.gnu.ai.mit.edu>
3117         * locate/updatedb.sh Makefile.in: Add substitutions to get
3118           the transformed program names.
3120         * xargs/xargs.c: Put back the global variables for now.
3121         Rename some variables.  Increase default args_per_exec.
3122         Use boolean where applicable.
3123         (main): Reduce default arg_max by 2048 for POSIX.2.
3124         (read_string): Don't check EOF string.
3125         (read_line, read_string): Take initial args size into account.
3127 Sat Oct  1 17:43:13 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
3129         * find/pred.c (launch): Use pid_t.
3131         * xargs/xargs.c (EOF_STR): Define and use.
3132         [__STDC__]: Declare xrealloc and xmalloc using void *.
3133         * find/defs.h: Likewise.
3135         * find/defs.h: Only declare stpcpy if !HAVE_STPCPY.
3137         * xargs/xargs.c: Replace most global variables with structure
3138           pointers passed as arguments.  Use pid_t.
3139         * lib/wait.h: Include sys/wait.h if HAVE_SYS_WAIT_H.
3140         * configure.in: Call AC_TYPE_MODE_T and AC_HEADER_SYS_WAIT.
3142         * xargs/xargs.c: Improve paging performance and memory
3143           fragmentation by building command arguments in a pre-allocated
3144           buffer and re-implementing the child pid list as an expandable
3145           array.  From tsi@gpu.srv.ualberta.ca (Marc Aurele La France).
3147 Thu Sep 29 11:38:07 1994  David J. MacKenzie  (djm@geech.gnu.ai.mit.edu)
3149         * xargs/xargs.c [__STDC__]: Prototype declarations.
3151 Wed Sep 28 11:25:53 1994  David J. MacKenzie  (djm@duality.gnu.ai.mit.edu)
3153         * find/fstype.c [AFS, __STDC__]: Fix definition of _VICEIOCTL.
3155 Tue Sep 27 08:14:27 1994  David MacKenzie  <djm@churchy.gnu.ai.mit.edu>
3157         * find/fstype.c (fstype_to_string): Add more cases.  Use
3158           INITMOUNTNAMES if defined.
3159         * find/defs.h: Change boolean typedef from char to int.
3160         * configure.in: Check for mktime.
3162 Tue Sep 27 01:20:28 1994  Kaveh R. Ghazi  (ghazi@noc.rutgers.edu)
3164         * configure.in: Add AC_HEADER_STAT.
3165         * lib/listfile.c, lib/modetype.h: Add STAT_MACROS_BROKEN.
3167         * find/pred.c: Move the inclusion of defs.h ahead of the first
3168           test of _POSIX_VERSION.
3170         * lib/xgetcwd.c: Remove _POSIX_VERSION, rely only on HAVE_GETCWD.
3172 Mon Sep 26 16:43:01 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
3174         * configure.in: Add AC_CONFIG_HEADER.
3175         * find/*.c locate/*.c xargs/*.c: Include config.h.
3176         * locate/updatedb.sh: Add --version; --old -> --old-format.
3178 Sun Sep 25 23:43:37 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
3180         * find/* [__STDC__]: Prototype declarations.
3182         * locate/updatedb.sh: Account for renaming code and frcode.
3184         * find/find.c (process_path): Store dev and ino of directories in
3185           current branch to avoid symlink loops.  From DJ Delorie
3186           <dj@ctron.com>.
3187           (process_dir): If following symlinks, don't cd to ..; instead,
3188           cd to the starting directory and then to the parent directory.
3189           (main) [HAVE_FCHDIR]: Save the dev, ino of the starting directory.
3190           (process_top_path) [HAVE_FCHDIR]: Use it.
3191         * find/pred.c (launch) [HAVE_FCHDIR]: Likewise.
3192         * defs.h [HAVE_FCHDIR]: Declare starting_desc instead of starting_dir.
3193         * configure.in: Check for dev_t, ino_t, fchdir, fcntl.h.
3195 Fri Sep 23 11:55:38 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
3197         * lib/listfile.c: Change #ifdef S_IFLNK to #ifdef S_ISLNK.
3198         From Andreas Luik <luik@isa.de>.
3200 Thu Sep 22 11:42:40 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
3202         * locate/locate.c (last_literal_end): Dynamically allocate enough
3203           memory for the subpattern.
3205 Wed Sep 21 06:12:56 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
3207         * locate/locate.c (locate): Warn if database is >8 days old.
3208         From Ian Lance Taylor.
3210         * xargs/xargs.c (do_exec), find/pred.c (launch): Set SIGCHLD to
3211           default.  From tsi@gpu.srv.ualberta.ca (Marc Aurele La France).
3212         * find/find.c pred.c util.c lib/listfile.c: Remove fflush(stdout)
3213           calls before error.  error does it, and doesn't trash errno.
3214           From tsi@gpu.srv.ualberta.ca (Marc Aurele La France).
3216         * find/fstype.c (filesystem_type_uncached): Don't trust mtab dev
3217           number on HPUX.  From Andreas Luik <luik@isa.de>.
3218           (filesystem_type_uncached): Don't cache unknown file system
3219           types.  From casper@fwi.uva.nl (Casper Dik).
3221         * locate/updatedb.sh: Collect results in temp file and rename it
3222           atomically.  From Andreas Luik <luik@isa.de>.
3224         * xargs/xargs.c (parse_num): Print a long using %ld.  From Jim
3225           Meyering.
3227         * find/defs.h find.c parser.c pred.c util.c, lib/nextelem.c:
3228           Emulate strchr and strrchr with index and rindex, not vice versa.
3230         Remove man directory; move man pages to the directories of the
3231         programs they document.
3233         * locate/frcode.c: Renamed from code.c.
3234         * locate/frcode.c (put_short): Renamed from puthalfword.
3235         * locate/locate.c (get_short): Renamed from gethalfword.
3236         (last_literal_end): Renamed from patprep.
3237         (locate): Recognize old-format databases too.
3238         * locate/locatedb.h: Add defines for old-format databases.
3239         * locate/bigram.c locate/code.c: Put back programs to create
3240         old-format databases.
3241         * locate/updatedb.sh: Take --old option to use them.
3243 Tue Sep 20 15:41:11 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
3245         * configure.in: Update for Autoconf v2.
3246         * find/pred.c lib/savedir.c: Use new symbols for dir header.
3247         * locate/updatedb.sh: Add --help option.
3249 Sun Feb 13 11:21:58 1994  Jim Meyering  (meyering@comco.com)
3251         * man/Makefile.in [man1ext, man5ext]: Set man5ext (not man1ext) to 5.
3253 Sun Aug  1 22:30:55 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
3255         * bigram.c: File removed.
3256         * getline.c, memcmp.c, locatedb.h, updatedb.1, locatedb.5: New files.
3257         * updatedb.sh: Take command line options.
3258         Don't do bigram compression.
3259         * code.c, locate.c: Don't do bigram compression.
3260         Write and read counts in network byte order.
3261         Handle arbitrarily long paths.
3262         Use a magic number at the start of the databases.
3264 Thu Jul 29 20:44:53 1993  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
3266         * Makefile.in (config.status): Run config.status --recheck, not
3267         configure, to get the right args passed.
3269 Thu Jul 22 12:53:12 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
3271         * listfile.c (list_file): Print inode as a long.
3273 Wed Jul 14 14:14:45 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
3275         * fstype.c [STDC_HEADERS]: Include stdlib.h.
3277         * Move unistd.h include from parser.c and pred.c to defs.h.
3279 Wed Jun 30 14:14:47 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
3281         * updatedb.sh: Construct PRUNEREGEX from PRUNEPATHS with sed.
3282         Prune /afs.  Change NFSUSER to NETUSER and NFSPATHS to NETPATHS.
3284 Tue Jun 29 12:19:58 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
3286         * pred.c (pred_fprintf): Abort in switch if `c' is not A, C, or T.
3288 Mon Jun 28 00:18:52 1993  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
3290         * fstype.c (in_afs) [AFS]: New function, derived from code by
3291         Sanjay Ramamurthy <ramams@rpi.edu>.
3292         (filesystem_type_uncached) [AFS]: Call it if the fs type is
3293         otherwise unknown.
3295         * parser.c (parse_size): Recognize b and w suffixes for dd
3296         compatibility. 
3298         * code.c (puthalfword): New function.
3299         (main): Call it.
3300         * locate.c (gethalfword): New function.
3301         (locate): Call it.
3302         From ifado!wb@germany.eu.net (Wilhelm B. Kloke).
3304         * listfile.c: Include pathmax.h.
3305         (get_link_name): Always allocate PATH_MAX + 1 bytes for
3306         readlink buffers.
3307         * pred.c (pred_fprintf, insert_lname): Call get_link_name.
3309         * fstype.c (filesystem_type, filesystem_type_uncached),
3310         listfile.c (list_file): Take an arg for the path to access.
3311         * pred.c (pred_ls, pred_fstype, pred_fprintf): Pass it.
3313         * find.c (process_dir): Renamed from scan_directory.
3315         Changes from jrs@world.std.com (Rick Sladkey) to chdir into
3316         subdirectories instead of using string concatenation, for speed:
3317         * find.c (process_top_path): New function.
3318         (main): Call it, and xgetcwd.
3319         (process_path, scan_directory): Take new arg, the pathname
3320         relative to ".".  Use it and pass it on.
3321         * pred.c (pred_and, pred_comma, pred_negate, pred_or,
3322         pred_xtype, pred_fprintf, pred_empty, insert_lname):
3323         access rel_pathname instead of pathname.
3324         (launch): chdir to starting_dir.
3325         * defs.h: Declare rel_pathname and starting_dir.
3326         * find.c: Define them.
3328         * xgetcwd.c: New file.
3330         * updatedb.sh: Recognize -fstype NFS as well as nfs.
3331         * locate.c (patprep): Skip trailing character classes correctly.
3332         From luik@pharao.stgt.sub.org (Andreas Luik).
3334         * parser.c (parse_group): Make gid a gid_t, not short or int.
3335         (parse_nogroup): Cast gid to unsigned when using it as an array index.
3336         (parse_user, parse_nouser): Similar changes for uid.
3337         * defs.h: Use uid_t and gid_t.
3339         * parser.c (parse_help): New function.
3340         (parse_table):  Add --version, -help, and --help options.
3341         Rename struct parser_table_t to struct parser_table.
3342         (parse_version): Exit after printing message, on
3343         stdout not stderr.
3345         * xargs.c, locate.c (main, usage): Add --version and --help
3346         options.
3348 Wed Mar 31 22:39:57 1993  Jim Meyering  (meyering@comco.com)
3350         * parser.c: Define isascii macro to be 1 also if STDC_HEADERS.
3351         * xargs.c: Ditto.
3353 Wed Mar 31 16:04:07 1993  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
3355         * pred.c (pred_fprintf): If curdepth is 0, don't nuke
3356         segment->text; nuke cp.
3358 Mon Mar 29 15:57:20 1993  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
3360         * Version 3.8.
3362 Fri Mar 26 16:36:59 1993  David J. MacKenzie  (djm@hal.gnu.ai.mit.edu)
3364         * pred.c (pred_ilname, pred_iname, pred_ipath): New functions.
3365         (pred_table): Add them.
3366         (insert_lname): New function.
3367         (pred_lname): Call it.
3368         * parser.c (parse_ilname, parse_iname, parse_ipath,
3369         parse_iregex): New functions.
3370         (parse_table): Add them.
3371         (insert_regex): New function.
3372         (parse_regex): Call it.
3374         * fstype.c (filesystem_type): Cache previous result.
3375         (filesystem_type_uncached): New function.
3376         pred.c (pred_fstype, pred_fprintf): Adjust callers to not cache.
3378         * parser.c: Don't define const.
3380         * fstype.c [FSTYPE_STATFS] (fstype_to_string): #ifdef
3381         MOUNT_PC for 386bsd.
3383 Thu Mar 25 18:32:24 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
3385         * parser.c (parse_regex): If ignore_case, set up a translate
3386         table for the regex.
3388         * defs.h: Include string.h or strings.h.
3389         * find.c fstype.c parser.c pred.c util.c: Don't.
3391         * nextelem.c [index]: Don't redefine.
3393 Wed Mar 24 17:47:10 1993  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
3395         * xargs.c (wait_for_proc): Exit with a nonrunnable command's exit
3396         status, not the wait status value.  From
3397         Andreas Schwab <schwab@lamothe.informatik.uni-dortmund.de>.
3399         * parser.c (make_segment, insert_fprintf), pred.c
3400         (pred_fprintf): Add '%F' to print filesystem type.
3402         * parser.c (parse_fprintf): Check if second arg is missing.
3404 Tue Mar 23 13:18:08 1993  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
3406         * pred.c (pred_fprintf): For %P, don't move past an assumed
3407         slash if the ARGV element ends with one, because in that case
3408         we didn't add one.
3410         * parser.c (parse_printf): Check for missing arg.
3411         From smj@cats.com (Steve James).
3413         * parser.c: Add #ifdef around atol decl for Linux.
3415 Fri Dec 11 08:17:07 1992  Jim Meyering  (meyering@comco.com)
3417         * defs.h: Remove dcl of process_path.
3418         * find.c: Put dcl of p
3420         * pred.c (pred_fprintf): Don't print "\n" unless it's in the
3421         format string.
3423 Mon Oct 21 22:30:35 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3425         * defs.h, parser.c, pred.c: Rename some types that conflict
3426         with reserved POSIX.1 namespace (ended in _t).
3428         
3429         
3430 Thu Oct 17 22:39:06 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3432         * xargs.c: Don't determine memory.h based on POSIX, which
3433         doesn't mention it.
3435 Sat Oct  5 16:11:05 1991  Jim Meyering (meyering at churchy.gnu.ai.mit.edu)
3437         * parser.c (parse_perm): Parse new `-perm +mode' notation.
3438         * pred.c (pred_perm): Interpret same.
3440 Fri Sep 13 14:58:27 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
3442         * xargs.c [POSIX]: Always use sysconf to get ARG_MAX.
3444 Thu Sep  5 23:57:06 1991  David J. MacKenzie  (djm at apple-gunkies)
3446         * bigram.c, code.c (main): Make path_max int, not unsigned.
3447         * locate.c (main): Check for pathconf failure.
3449 Thu Sep  5 11:54:44 1991 Jim Meyering (meyering at churchy.gnu.ai.mit.edu)
3451         * parser.c (insert_fprintf): Add `\\' escape and fixed `%%'
3452         interpretation.
3453         * pred.c (pred_fprintf): fixed off-by-one indexing problem
3454         when handling [gGuU] printf formats.
3456 Wed Aug 28 20:53:57 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3458         * Version 3.2.
3460 Mon Aug 26 18:57:32 1991  David J. MacKenzie  (djm at pogo.gnu.ai.mit.edu)
3462         * bigram.c, code.c: Fix handling of PATH_MAX.
3463         Check for anomalous input line lengths.
3464         From Bruce Evans.
3466 Fri Aug 23 11:00:18 1991  David J. MacKenzie  (djm at apple-gunkies)
3468         * pred.c (pred_fprintf): Round block number up to get K.
3470 Thu Aug 22 10:46:30 1991  David J. MacKenzie  (djm at apple-gunkies)
3472         * pred.c (pred_fprintf, pred_lname) [_AIX]: Allocate PATH_MAX
3473         byte for link object since st_size is wrong.
3475         * listfile.c (list_file): Don't convert blocks to kilobytes if
3476         env. var POSIX_ME_HARDER is defined.
3478         * fstype.c [FS_AIX_STATFS]: New case.
3480         * configure: Make sure the sys/mount.h is the 4.4BSD version
3481         with grep instead of just testing whether it exists.
3483         * listfile.c (list_file): Add 1 to number of 512-byte blocks
3484         before dividing to get 1K blocks (so we round up, not down).
3486 Wed Aug 21 13:02:46 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3488         * Version 3.1.
3490         * parser.c (parse_fprintf), pred.c (pred_fprintf): Add %k
3491         conversion to print 1K blocks.
3493         * listfile.c: Print counts of 1K blocks, for consistency with
3494         new fileutils release.  Bad timing, there.
3496         * Version 3.0.
3498         * pred.c [VOID_CLOSEDIR]: Fake a return value for closedir,
3499         which returns void on some systems, like Sequents.
3500         * configure: Check sys/dir.h for 'void closedir'.
3502 Thu Aug 15 16:07:46 1991  David J. MacKenzie  (djm at frob)
3504         * modetype.h: Define POSIX.1 stat stuff if missing.
3505         * pred.c, parser.c, find.c, fstype.c: Don't define it.
3506         * updatedb.sh: Use a variable substitution method like configure's.
3507         * Makefile.in: Add datadir variable to separate programs from
3508         data file.
3510         * parser.c, pred.c: Rename -fulldays to -daystart.
3512         * defs.h, find.c, parser.c, pred.c: Add many new predicates
3513         from Jay Plett (jay@princeton.edu).
3515 Wed Aug 14 14:37:06 1991  David J. MacKenzie  (djm at bleen)
3517         * parser.c (parse_size), pred.c (pred_size), defs.h (struct
3518         size_t): Allow `k' to follow number to measure size in Kbytes.
3519         * parser.c (parse_size, get_num, insert_num), defs.h (struct
3520         size_t): Use enum comparison_type instead of short.
3522 Fri Aug  9 00:49:32 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3524         * xargs.c (read_line): Use isblank, to support POSIX locales.
3526         * fstype [FS_STATVFS]: New code for SVR4, from slootman@dri.nl
3527         (Paul Slootman).
3528         * configure: Figure out when to use it.
3530         * configure: Check for st_blocks in struct stat.
3531         * listfile.c (ST_NBLOCKS): New macro.
3532         (list_file): Print file's block count.
3533         Use S_ISLNK instead of S_IFLNK.
3534         * fileblocks.c: New file, from fileutils.
3536 Thu Aug  8 17:20:19 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3538         * parser.c, pred.c [CACHE_IDS]: Optional code to turn uid and
3539         gid lookups into table lookups.
3541 Wed Aug  7 00:22:29 1991  David J. MacKenzie  (djm at wheat-chex)
3543         * configure, Makefile.in's: Support +srcdir option via VPATH.
3544         Clean up clean targets.
3546 Sat Jul 20 01:11:51 1991  David J. MacKenzie  (djm at apple-gunkies)
3548         * configure: Filter /etc and /usr/etc from path.
3550         * xargs.c (wait_for_proc): Fix handling of child exit status.
3551         (main): Exit with a nonzero status if any child did.
3553         * pred.c (launch): Flush stdout and stderr before forking.
3555         * fstype.c (filesystem_type) [FS_MNTENT]: Skip entries of
3556         type "ignore".
3558 Fri Jul 19 22:53:42 1991  David J. MacKenzie  (djm at bleen)
3560         * pred.c, locate.c: Use fnmatch instead of glob_match.
3561         * fnmatch.c, fnmatch.h: New files.
3563         * Many files: Use string.h if STDC_HEADERS, as well as if USG.
3565         * locate.c, code.c, bigram.c: Possibly use pathconf to get
3566         PATH_MAX.  Use malloc to allocate path arrays.
3568         * xargs.c: Possibly use sysconf to get ARG_MAX.
3569         (env_size): Make definition unconditional.
3570         (main): Do arg_max adjustment that can't be done with
3571         preprocessor now that ARG_MAX might be a function call.
3572         (do_exec): Exit with status 126 or 127 after failed exec, for
3573         POSIX.2 draft 11.1.
3575         * xargs.c, pred.c, listfile.c: Use POSIX, not UNISTD_MISSING.
3576         * wait.h: Use POSIX, not WAIT_MACROS_MISSING.
3578         * COPYING: Use version 2.  Update all files.
3580         * Replace Makefile and lib/Makefile with Makefile.in,
3581         lib/Makefile.in and configure.  Update README.
3583 Fri Apr  5 12:49:09 1991  David J. MacKenzie  (djm at apple-gunkies)
3585         * Version 2.2.
3587 Fri Mar 15 20:44:45 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
3589         * xargs.c (main): Always run the command if some args are left over.
3590         Rename some variables.
3592 Fri Jan 18 03:35:57 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
3594         * bigram.c, code.c, locate.c: Use LIMITS_MISSING, not
3595         _POSIX_SOURCE, to decide whether to include limits.h.
3597         * parser.c, pred.c, listfile.c: Use POSIX, not _POSIX_SOURCE,
3598         to decide whether to declare getpwuid and getgrgid.
3600         * xargs.c: Use POSIX, not _POSIX_SOURCE, to determine whether
3601         to include memory.h.
3603 Sat Jan 12 04:12:34 1991  David J. MacKenzie  (djm at wookumz.ai.mit.edu)
3605         * defs.h, find.c, parser.c, pred.c: Remove -permmask option.
3607 Thu Jan 10 04:32:52 1991  David J. MacKenzie  (djm at albert.ai.mit.edu)
3609         * wait.h: Include sys/types.h to get pid_t.
3611         * xargs.c [USG && !STDC_HEADERS]: Only include memory.h if not
3612         _POSIX_SOURCE.
3614 Tue Jan  1 23:53:32 1991  David J. MacKenzie  (djm at albert.ai.mit.edu)
3616         * Version 2.1.
3618 Wed Dec 26 03:25:51 1990  David J. MacKenzie  (djm at apple-gunkies)
3620         * locate.c, bigram.c, code.c: Attempt to get max. path length
3621         on more kinds of systems, incl. POSIX.
3623         * pred.c, listfile.c, xargs.c: Get some decls from unistd.h,
3624         if available. 
3626         * find.c, defs.h: Make `cur_day_start' a time_t, not long.
3628 Fri Dec 21 01:49:12 1990  David J. MacKenzie  (djm at egypt)
3630         * defs.h, parser.c: Remove unused field from `struct exec_t'.
3632         * xargs.c: Add +no-run-if-empty option to cause the command to
3633         not be run if the input is empty.
3635         * defs.h (struct exec_t): Change the array of offsets into an
3636         array of `struct path_arg'.
3637         * parser.c (insert_exec_ok): Fill in new fields, to allow "{}"
3638         to be substituted (multiple times) anywhere in an arg to -exec
3639         or -ok.
3640         * pred.c (pred_exec): Add code to substitute "{}" within args.
3641         (pred_ok): After prompting, just run pred_exec.
3643 Thu Dec 20 02:32:09 1990  David J. MacKenzie  (djm at egypt)
3645         * fstype.c (filesystem_type) [FS_MNTENT]: Allow for optional
3646         "0x" at front of "dev=" mount option, which amd puts there but
3647         Sun automounter doesn't.
3649 Sat Dec 15 19:01:12 1990  David J. MacKenzie  (djm at egypt)
3651         * find.c (main), util.c (usage): Make directory args optional,
3652         defaulting to ".".
3654 Sat Dec 15 18:36:29 1990  David J. MacKenzie  (djm at apple-gunkies)
3656         * listfile.c: Define major and minor if not defined (as in POSIX).
3658 Mon Dec  3 01:04:35 1990  David J. MacKenzie  (djm at alborz)
3660         * find.c, fstype.c, parser.c, pred.c, util.c: Flush stdout before
3661         writing to stderr, in case they have been redirected to the
3662         same file descriptor.
3664         * pred.c (launch): Use POSIX wait macros from wait.h.
3666         * xargs.c (print_xargs): Read from tty_stream, not stdin.
3668 Tue Nov 20 16:48:24 1990  David J. MacKenzie  (djm at apple-gunkies)
3670         * Version 2.0.
3672         * fstype.c [FS_USG_STATFS]: New code.
3673         [FS_STATFS]: For symlinks, statfs the directory the link is in
3674         instead of the link.
3675         * Various files: Conditionalize some declarations on
3676         STDC_HEADERS or _POSIX_SOURCE.
3678 Fri Nov 16 12:24:43 1990  David J. MacKenzie  (djm at egypt)
3680         * modetype.h: New file.
3681         parser.c, pred.c: Use it.
3683 Thu Nov 15 18:05:54 1990  David J. MacKenzie  (djm at apple-gunkies)
3685         * xmalloc.c: New file from fileutils.
3687         * fstype.c (fstype_to_string): Add case for MFS.
3688         (filesystem_type): Take a pathname as a second arg.
3689         [FS_STATFS] return "unknown" instead of exiting if statfs
3690         fails because of ENOENT.
3691         * pred.c (pred_fstype): Pass the pathname.  Set current_dev.
3692         * find.c (process_path): Make root_dev local again.
3694 Mon Nov 12 02:54:00 1990  David J. MacKenzie  (djm at apple-gunkies)
3696         * pred.c (pred_fstype): Free old fs type.
3698         * fstype.c, pred.c (pred_fstype), parser.c (parse_fstype): 
3699         Reread the file system type info. every time a filesystem
3700         mount point is crossed, to allow for automounting.
3702         * xstrdup.c: New file from fileutils.
3704         * find.c (process_path): Rename root_dev to current_dev and
3705         make it global, for -fstype.
3707         * wait.h: New file taken from xargs.c.
3709         * xargs.c: Make limits.h vs. sys/param.h conditional on
3710         LIMITS_MISSING instead of USG, to accomodate SVR2.
3712 Thu Nov  8 11:52:22 1990  David J. MacKenzie  (djm at apple-gunkies)
3714         * parser.c, pred.c, listfile.c: If not _POSIX_SOURCE, declare
3715         getpwuid and getgrgid.  Use them.
3717         * listfile.c: If not _POSIX_SOURCE, define S_ISDIR and
3718         S_ISBLK.  Use them. 
3720         * find.c: Use S_ISDIR instead of S_IFDIR, and define if not
3721         _POSIX_SOURCE. 
3723         * Makefile: Define AR and RANLIB and pass to child makes.
3724         lib/Makefile: Use them.
3726         * xargs.c (WIFSIGNALED): Redefine so it works.
3728 Mon Nov  5 00:02:01 1990  David J. MacKenzie  (djm at apple-gunkies)
3730         * find.c (process_path): For -xdev, process filesystem
3731         mountpoints (but don't descend them), instead of skipping them
3732         entirely. 
3734         * find.c, parser.c, defs.h: Add -follow predicate.
3736         * xargs.c: Change ifdefs to support STDC POSIX systems.
3738 Sat Nov  3 20:18:05 1990  David J. MacKenzie  (djm at apple-gunkies)
3740         * xargs.c (do_exec): Child process exits with status 255, not
3741         127, if command can't be run.
3743 Fri Nov  2 02:11:42 1990  David J. MacKenzie  (djm at apple-gunkies)
3745         * xargs.c: Exit with status 127 if running commmand fails, as
3746         required by POSIX.
3748         * fstype.c: Support -fstype for Ultrix (-DFS_GETMNT).
3749         Sun/BSD code is now -DFS_MNTENT.
3751 Thu Nov  1 13:06:01 1990  David J. MacKenzie  (djm at egypt)
3753         * Reorganize into subdirectories and add xargs.  Rewrite Makefiles.
3755         * find.c (process_path, main): Allow a maxdepth of 0, meaning
3756         only process command line args.
3758         * parser.c, pred.c: Add -print0 predicate.
3760         * xargs.c: Add -0 option and long options.  Move standard
3761         library functions into separate files.  Use error instead of
3762         fatal and fprintf/perror.  Use POSIX macros for examining exit
3763         status from wait.
3764         (read_string): New function.
3766 Fri Sep 21 10:21:09 1990  David J. MacKenzie  (djm at apple-gunkies)
3768         * find.c (process_path): Take DEPTH as an arg instead of ROOT,
3769         and change callers.
3771 Thu Sep 20 23:58:47 1990  David J. MacKenzie  (djm at apple-gunkies)
3773         * parser.c (parse_maxdepth): New function.
3774         * find.c (process_path): If -maxdepth was given, don't go
3775         more than that many levels deep.
3776         * defs.h: Declare maxdepth.
3778 Wed Sep 12 02:12:31 1990  David J. MacKenzie  (djm at apple-gunkies)
3780         * parser.c: Add -not as synonym for !.
3782 Sun Aug 26 06:16:08 1990  Jim Kingdon  (kingdon at pogo.ai.mit.edu)
3784         * Makefile (TAGS): New target.
3786 Sun Aug 12 00:32:01 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3788         * xargs.c (main): Tell getopt to not permute.
3790 Sat Aug  4 21:43:45 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
3792         * parser.c (parse_perm), pred.c (pred_perm): Always compare
3793         bits 07777.
3795         * locate.c, Makefile: Rename 'fastfind' program to 'locate',
3796         following comment in POSIX.2 draft 10 rationale for find.
3798 Wed Jul 25 18:45:03 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3800         * listfile.c (getuser, getgroup): Make uid and gid unsigned
3801         short, not int.
3803 Mon Jul 16 13:40:13 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3805         * defs.h: Don't declare fprintf and printf, in case they have
3806         prototypes in stdio.h (important for functions that use stdarg).
3808 Sun Jul 15 23:39:39 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3810         * parser.c (parse_and): New function, for compatibility.
3812 Wed Jul  4 00:17:57 1990  David J. MacKenzie  (djm at apple-gunkies)
3814         * find.c (main): Only enclose expressions that produce no side
3815         effects within `( ... )'.
3817 Tue Jul  3 01:59:39 1990  David J. MacKenzie  (djm at apple-gunkies)
3819         * parser.c (strspn): Stop when end of string reached.
3821         * Version 1.2.
3823         * Move version number from Makefile to new file version.c.
3824         * parser.c: Recognize new -version predicate.
3826         * find.c (main): If no predicates that produce output are
3827         given, default to -print if the entire expression is true, not
3828         just the last part of an alternation.
3829         * Print the names of predicates with invalid arguments.
3831 Mon Jul  2 23:48:17 1990  David J. MacKenzie  (djm at apple-gunkies)
3833         * pred.c: Don't check for invalid comparison types in numeric
3834         predicate functions.
3836 Thu Jun 28 00:34:57 1990  David J. MacKenzie  (djm at apple-gunkies)
3838         * parser.c (parse_regex): Set fastmap and translate before
3839         compiling regex.
3841 Mon Jun 25 18:08:59 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3843         * fastfind.c (fastfind): Initialize count to 0.
3845         * lib/updatedb.sh: Only do regex comparison on directories,
3846         for speed.
3848         * listfile.c (list_file): Truncate user and group name to 8 chars.
3850 Sun Jun 24 13:51:27 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3852         * Version 1.1.
3854         * Makefile [DISTFILES]: Add COPYING.
3856 Fri Jun 22 03:54:27 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3858         * Version 1.0.
3860 Tue Jun 19 03:55:28 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3862         * lib/updatedb.sh: Prune entries that match PRUNEREGEX.
3863         Split up finding files from computing bigrams.
3864         Use redirection instead of nonportable grep -s to detect sort
3865         failure.  Optionally search network filesystems as well as
3866         local ones.
3868         * pred.c (pred_regex): Match against full pathname instead of
3869         just last element.
3870         * util.c (basename): Return "/", not "", if given "/".
3872         * find.c (process_path): Fix error in handling "/" directory.
3874 Mon Jun 18 01:49:16 1990  David J. MacKenzie  (djm at apple-gunkies)
3876         * parser.c [STRSPN_MISSING] (strspn): New function.
3878 Sun Jun 17 13:54:09 1990  David J. MacKenzie  (djm at apple-gunkies)
3880         * listfile.c: New file.
3881         * parser.c (parse_ls): New function.
3882         * pred.c (pred_ls): New function.
3884         * find.c (main): Remove interface to fastfind, to prevent
3885         conflict with POSIX syntax.
3886         * util.c (usage): Remove fastfind syntax from message.
3887         * fastfind.c (main): New function.
3888         * Makefile: Make fastfind a separate program.
3890         * find.c (main): Print correct message if a predicate arg is
3891         missing. 
3893         * parser.c (insert_exec_ok): Make args that start with a ';' but
3894         contain other characters not terminate the command.
3896 Fri Jun 15 00:33:45 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3898         * fstype.c: If MOUNTED isn't defined but MNT_MNTTAB is, use it
3899         instead.  True for HP/UX, at least.
3901 Thu Jun 14 10:10:25 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3903         * savedir.c: New file; now find won't run out of file
3904         descriptors in deep trees.
3905         * find.c (process_path): Use savedir.
3907 Sat Jun  9 03:15:21 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3909         * parser.c (parse_permmask): Allow symbolic mode masks.
3910         (parse_perm): Free 'struct change' when done with it.
3911         (get_oct): Function removed.
3913         * find.c (process_path): Allow arbitrarily-long filenames.
3914         More efficient string copying.  Initialize perm_mask to 07777
3915         instead of -1.
3917 Thu Jun  7 04:22:42 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3919         * Makefile, find.c: Use DIRENT to control whether <dirent.h>
3920         is used.
3922 Thu May 31 04:46:11 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3924         * parser.c (parse_regex): New function.
3925         * pred.c (pred_regex): New function.
3927         * fstype.c (read_mtab): If mtab entry has a "dev=" option
3928         (like in SunOS 4.1), use it, so there is no need to stat the
3929         special file later on.
3930         (xatoi, strstr): New functions.
3932 Mon May 21 01:04:42 1990  David J. MacKenzie  (djm at abyss)
3934         * lib/updatedb.sh: Put BINDIR in PATH.
3936         * fstype.c: Do nothing if MNTENT_MISSING is defined.
3938         * fstype.c: New file.
3939         * parser.c (parse_fstype): New function.
3940         * pred.c (pred_fstype): New function.
3942         * parser.c (parse_newer): Failure to stat -newer file is a
3943         fatal error.
3945         * pred.c (pred_ok): Flush output before reading.  Use getchar
3946         instead of scanf.
3948         * pred.c (pred_prune): Return false if -depth given.
3949         * find.c: Apply the predicates to the dir when -depth and
3950         -prune are given.
3952 Sun May 20 19:55:30 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3954         * pred.c (pred_prune): Set new global var `stop_at_current_level'.
3955         * find.c (process_path): Test and reset it.
3957 Fri May 18 01:56:17 1990  David J. MacKenzie  (djm at abyss)
3959         * modechange.c, modechange.h: New files.
3960         * parser.c (parse_perm): Use mode_compile and mode_adjust to
3961         parse arg, to allow symbolic mode for POSIX.
3963 Thu May 17 02:07:44 1990  David J. MacKenzie  (djm at abyss)
3965         * parser.c (get_oct): Don't consider an empty string a valid number.
3967         * parser.c (parse_perm): If arg starts with '-', set flag bit
3968         for special comparison (POSIX).
3969         * pred.c (pred_perm): If flag bit set, compare s[ug]id &
3970         sticky bits as well, and return true if the given perms are
3971         set, ignoring other bits.
3973         * find.c: New global var `exit_status'.  Use it.  (POSIX)
3974         * parser.c: Set `exit_status' if lstat on -newer file fails.
3976         * fastfind.c: New file.
3977         * find.c (main): Call fastfind if given only 1 arg.
3978         * util.c (usage): Update message. 
3979         * lib/{Makefile,updatedb.sh,bigram.c,code.c}: New files.
3980         * Makefile: Add 'all' and 'install' targets.
3982 Wed May 16 23:23:35 1990  David J. MacKenzie  (djm at abyss)
3984         * parser.c (parse_nogroup, parse_nouser): Implement.
3985         * pred.c (pred_nogroup, pred_nouser): Implement.
3987 Mon May 14 00:09:35 1990  David J. MacKenzie  (djm at abyss)
3989         * find.c: Add variable `stay_on_filesystem' for -xdev.
3990         (process_path): Take an arg determining whether this call is
3991         the root of a tree.  Use lstat instead of stat.  If
3992         stay_on_filesystem, don't process a dir on a different
3993         filesystem. 
3995         * parser.c (parse_newer): Use lstat instead of stat.  Is this right?
3996         (parse_xdev): Set stay_on_filesystem.
3998         * parser.c: Add dummy parse_nogroup, parse_nouser,
3999         parse_prune, and parse_xdev; to be written later.
4000         * pred.c: Add dummy pred_nogroup, pred_nouser, pred_prune.
4002         * find.c: Support System V directory library/headers.
4004         * find.c (process_path): Don't continue with a file that stat
4005         fails on.
4007         * defs.h, parser.c, pred.c: Change 'u_long' and 'u_short' to
4008         'unsigned long' and 'unsigned short'.
4009         * find.c, defs.h: Remove 'convert_glob' variable.
4010         * parser.c (parse_fullregex): Function removed.
4011         (parse_name): Remove regular expression code.
4012         (parse_type): Recognize sockets.
4013         Add code to check for missing arguments to many parse_* functions.
4014         * pred.c (pred_name): Use glob_match instead of regex.
4016 Sun May 13 17:45:09 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
4018         * Replace fprintf, simple_error, and mem_error with error and
4019         usage. 
4021         * Fix string header includes for USG.
4023 Tue Mar 27 12:40:29 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
4025         * defs.h: Change some #defines to enums.
4027 Sun Mar 25 22:08:58 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
4029         * find.c (main): Don't take basename of argv[0].
4031         * util.c (xmalloc): New function.
4032         * find.c, parser.c, utils.c: Use xmalloc instead of malloc.
4034         * pred.c: Remove emulation of regex for BSD and use GNU
4035         library version in regcmp.c instead.
4036         * parser.c: Remove emulation of regcmp for BSD and use GNU
4037         library version in regcmp.c instead.
4038         * Makefile: Link with regex.o and regcmp.o.
4039         Add a DISTFILES macro and dist target.
4041         * Indent source code.  Move RCS logs to this file.
4043 Wed Mar 21 09:30:18 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
4045         * xargs.c: Indent.  Comment and rename some global variables.
4046         (main): Use getopt to parse options.  Open new global var
4047         `tty_stream' to /dev/tty if querying requested.
4048         (print_args): Read response from tty_stream, not stdin.
4049         (xmalloc): New function.
4050         Global: Use xmalloc instead of malloc.
4051         (usage): Revise message.
4053 87/02/22  20:01:20  20:01:20  cire (Eric B. Decker)
4055         * pred.c: added guts to pred_size
4057 87/02/22  00:59:42  00:59:42  cire (Eric B. Decker)
4059         * pred.c: added guts to perm and permmask.
4061 87/02/21  23:02:21  23:02:21  cire (Eric B. Decker)
4063         * pred.c: made pred_name only look at the last component of
4064         the path.
4066 87/02/21  22:26:47  22:26:47  cire (Eric B. Decker)
4068         * pred.c: added guts to name.  useds regex and regcmp to do
4069         regular expression handling.
4071 87/02/21  00:17:21  00:17:21  cire (Eric B. Decker)
4073         * pred.c: added predicate newer
4075 87/02/20  11:40:07  11:40:07  cire (Eric B. Decker)
4077         * pred.c: added guts to pred_ok
4079 87/02/19  23:52:37  23:52:37  cire (Eric B. Decker)
4081         * pred.c: finished exec.
4083 87/02/22  20:01:09  20:01:09  cire (Eric B. Decker)
4085         * parser.c: added guts to parse_size
4087 87/02/22  00:59:16  00:59:16  cire (Eric B. Decker)
4089         * parser.c: added guts of perm and permmask.  added getoct
4090         routine for perm and permmask
4092 87/02/21  23:32:50  23:32:50  cire (Eric B. Decker)
4094         * parser.c: added -fre, -fullregex predicate to turn off
4095         globbing conversion
4097 87/02/21  23:01:01  23:01:01  cire (Eric B. Decker)
4099         * parser.c: reworked name so the regexpr pattern includes $ at
4100         the end to force globbing to work correctly.  End of the
4101         pattern refers to the end of the filename.
4103 87/02/21  22:25:34  22:25:34  cire (Eric B. Decker)
4105         * parser.c: added guts to name.  uses a conversion from
4106         globbing to regexp format.  uses regex and regcmp to actually
4107         to the comparison.
4109 87/02/21  00:17:11  00:17:11  cire (Eric B. Decker)
4111         * parser.c: added predicate newer
4113 87/02/20  11:39:35  11:39:35  cire (Eric B. Decker)
4115         * parser.c: added ok guts.  consolidated exec and ok to using
4116         insert_exec_ok
4118 87/02/19  00:20:54  00:20:54  cire (Eric B. Decker)
4120         * parser.c: minor bug in -fulldays predicate parser.  It
4121         should have set the flag full_days to true.
4123 87/02/22  00:58:32  00:58:32  cire (Eric B. Decker)
4125         * find.c: changed where we are setting perm_mask to -1.  need
4126         to make sure that this happens before every apply_predicate.
4128 87/02/21  23:32:11  23:32:11  cire (Eric B. Decker)
4130         * find.c: added error checking for no paths.  better error
4131         message if illegal ordering.
4133 87/02/21  22:19:58  22:19:58  cire (Eric B. Decker)
4135         * find.c: added global convert_glob
4137 87/02/22  20:00:12  20:00:12  cire (Eric B. Decker)
4139         * defs.h: added definition of BLKSIZE for size
4141 87/02/21  22:19:25  22:19:25  cire (Eric B. Decker)
4143         * defs.h: added global convert_glob for name