Released findutils-4.2.25
[findutils.git] / ChangeLog
blobdb84fa27944a1023d5540bb2e68fb47df4612e6f
1 2005-09-01  Jim Meyering  <jim@meyering.net>
3         * locate/locate.c (struct stringbuf) [soffs]: Remove unused member.
4         (locate): Remove initialization, too.
6 2005-09-01  James Youngman  <jay@gnu.org>
8         * doc/find.texi: Typo fix from Jim Meyering (trivial change)
10 2005-08-30  James Youngman  <jay@gnu.org>
12         * find/defs.h, find/find.c, find/fstype.c, find/pred.c:
13         Attempted fix for compilation when AFS is #defined
15 2005-08-13  James Youngman  <jay@gnu.org>
17         * find/find.1: Remind the user to quote the pattern argument to -iname.
19 2005-08-12  James Youngman  <jay@gnu.org>
21         * NEWS: Corrected typo.
23 2005-08-09  James Youngman  <jay@gnu.org>
25         * NEWS: Indicate that regexprops.texi is built on Cygin now that
26         Savannah bug #14025 has been fixed.
28         * lib/Makefile.am, lib/regexprops.c: Fixed compilation failure on
29         Cygwin - Savannah Bug #14025 (tiny change, three lines), reported
30         and fixed by Eric Blake
32         * find/testsuite/Makefile.am,
33         find/testsuite/find.posix/sv-bug-14070.exp,
34         find/testsuite/find.posix/sv-bug-14070.xo: Added new test case for
35         SourceForge bug #14070
37         * find/testsuite/find.posix/sv-bug-14070.exp,
38         find/testsuite/find.posix/sv-bug-14070.xo: New file.
40         * find/defs.h, find/ftsfind.c, find/pred.c, find/util.c:
41         Ensure we can still build with --enable-debug
43         * find/testsuite/config/unix.exp,
44         find/testsuite/find.gnu/execdir-one.exp,
45         find/testsuite/find.gnu/execdir-root-only.exp,
46         find/testsuite/find.gnu/sv-bug-12230.exp: If . is on $PATH,
47         indicate that the -execdir tests cannot be carried out, as opposed
48         to indicating that those tests fail
50 2005-08-07  James Youngman  <jay@gnu.org>
52         * NEWS: Indicated that some test suite files have been renamed.
54         * xargs/testsuite/Makefile.am, xargs/testsuite/inputs/eof.xi,
55         xargs/testsuite/inputs/eof1.xi,
56         xargs/testsuite/xargs.sysv/eof.exp,
57         xargs/testsuite/xargs.sysv/eof.xo,
58         xargs/testsuite/xargs.sysv/eof1.exp,
59         xargs/testsuite/xargs.sysv/eof1.xo,
60         xargs/testsuite/xargs.posix/lc_l2.exp,
61         xargs/testsuite/xargs.posix/lc_l2.xo,
62         xargs/testsuite/xargs.sysv/l2.exp,
63         xargs/testsuite/xargs.sysv/l2.xo,
64         xargs/testsuite/xargs.sysv/lc_l2.exp,
65         xargs/testsuite/xargs.sysv/lc_l2.xo,
66         xargs/testsuite/xargs.posix/L2.exp,
67         xargs/testsuite/xargs.posix/l2.exp,
68         xargs/testsuite/xargs.posix/L2.xo,
69         xargs/testsuite/xargs.posix/l2.xo,
70         xargs/testsuite/xargs.posix/uc_L2.exp,
71         xargs/testsuite/xargs.posix/uc_L2.xo: Work around problems with
72         CVS clients on case-insentitive operating systems
74         * debian/Changelog: Removed Changelog file since changelog is the
75         one we should be using and having both files upsets Cygwin
76         systems which cannot tell the dirrerence between changelog and
77         Changelog
79         * find/ftsfind.c:
80         If DEBUG is defined, show the symbolic names fro fts_info values.
82         * find/ftsfind.c: Added additional diagnostics.
84 2005-08-01  James Youngman  <jay@gnu.org>
86         * ABOUT-NLS, INSTALL, Makefile.am, configure.in, depcomp,
87         doc/texinfo.tex, install-sh, missing, mkinstalldirs: By adding the
88         missing AM_GNU_GETTEXT_VERSION call, allowed autopoint to update
89         those files of which it has updated copies.
91         * po/Makevars.template, po/Makefile.in.in, po/findutils.pot:
92         Using AM_GNU_GETTEXT_VERSION, allowed gettext to update the infrastructure
94         * po/Rules-quot, po/boldquot.sed, po/en@boldquot.header, po/en@quot.header, po/insert-header.sin, po/quot.sed:
95         Files added by autopoint now that we are using AM_GNU_GETTEXT_VERSION
97         * find/testsuite/Makefile.am: Added find.gnu./perm-slash.{exp,xo}.
99 2005-07-31  James Youngman  <jay@gnu.org>
101         * find/testsuite/excuses.txt: We now have tests for -perm.
103         * NEWS, configure.in, find/parser.c,
104         find/testsuite/find.gnu/perm-slash.exp,
105         find/testsuite/find.gnu/perm-slash.xo: Fixed bug which caused find
106         -perm /440 to be treated the same as find -perm 440
108         * find/testsuite/Makefile.am:
109         Generic tests for -perm -NNN and -perm NNN
111         * find/testsuite/excuses.txt: New file - list of test cases that
112         still need to be written, along with excuses why they haven't been
113         done yet
115         * find/testsuite/find.posix/perm-vanilla.exp,
116         find/testsuite/find.posix/perm-vanilla.xo: Generic tests for -perm
117         -NNN and -perm NNN
119         * find/testsuite/find.gnu/inum.exp:
120         Ensure that the test would fail if -inum just always returned true
122         * find/testsuite/Makefile.am, find/testsuite/find.gnu/ilname.exp,
123         find/testsuite/find.gnu/ilname.xo,
124         find/testsuite/find.gnu/inum.exp, find/testsuite/find.gnu/inum.xo,
125         find/testsuite/find.gnu/lname.exp,
126         find/testsuite/find.gnu/lname.xo,
127         find/testsuite/find.gnu/xtype.exp,
128         find/testsuite/find.gnu/xtype.xo,
129         find/testsuite/find.posix/links.exp,
130         find/testsuite/find.posix/links.xo: New test cases for -ilname,
131         -inum, -lname, -xtype
133         * find/testsuite/Makefile.am, find/testsuite/find.gnu/delete.exp,
134         find/testsuite/find.gnu/delete.xo,
135         find/testsuite/find.gnu/iregex1.exp,
136         find/testsuite/find.gnu/iregex1.xo,
137         find/testsuite/find.gnu/regex1.exp,
138         find/testsuite/find.gnu/regex1.xo,
139         find/testsuite/find.gnu/regex2.exp,
140         find/testsuite/find.gnu/regex2.xo,
141         find/testsuite/find.gnu/samefile-copy.exp,
142         find/testsuite/find.gnu/samefile-copy.xo,
143         find/testsuite/find.gnu/samefile-link.exp,
144         find/testsuite/find.gnu/samefile-link.xo,
145         find/testsuite/find.gnu/samefile-same.exp,
146         find/testsuite/find.gnu/samefile-same.xo,
147         find/testsuite/find.gnu/samefile-symlink.exp,
148         find/testsuite/find.gnu/samefile-symlink.xo: Further test cases
150         * find/find.1: Indicate that -delete implies -depth (find.texi
151         already mentioned this).
153         * find/testsuite/Makefile.am:
154         Brought the list of .exp and .xo files in Makefile.am into sync with
155         the actual contents of the CVS repository.
157         * find/testsuite/Makefile.am, find/testsuite/find.gnu/depth-d.exp,
158         find/testsuite/find.gnu/depth-d.xo,
159         find/testsuite/find.gnu/empty.exp,
160         find/testsuite/find.gnu/empty.xo,
161         find/testsuite/find.gnu/execdir-one.exp,
162         find/testsuite/find.gnu/execdir-one.xo,
163         find/testsuite/find.gnu/false.exp,
164         find/testsuite/find.gnu/false.xo,
165         find/testsuite/find.gnu/follow-basic.exp,
166         find/testsuite/find.gnu/follow-basic.xo,
167         find/testsuite/find.gnu/gnu-or.exp,
168         find/testsuite/find.gnu/gnu-or.xo,
169         find/testsuite/find.gnu/gnuand.exp,
170         find/testsuite/find.gnu/gnuand.xo,
171         find/testsuite/find.gnu/gnunot.exp,
172         find/testsuite/find.gnu/gnunot.xo,
173         find/testsuite/find.gnu/iname.exp,
174         find/testsuite/find.gnu/iname.xo,
175         find/testsuite/find.gnu/ipath.exp,
176         find/testsuite/find.gnu/ipath.xo,
177         find/testsuite/find.gnu/iwholename.exp,
178         find/testsuite/find.gnu/iwholename.xo,
179         find/testsuite/find.gnu/path.exp, find/testsuite/find.gnu/path.xo,
180         find/testsuite/find.gnu/print0.exp,
181         find/testsuite/find.gnu/print0.xo,
182         find/testsuite/find.gnu/quit.exp, find/testsuite/find.gnu/quit.xo,
183         find/testsuite/find.gnu/true.exp, find/testsuite/find.gnu/true.xo,
184         find/testsuite/find.gnu/wholename.exp,
185         find/testsuite/find.gnu/wholename.xo,
186         find/testsuite/find.posix/and.exp,
187         find/testsuite/find.posix/and.xo,
188         find/testsuite/find.posix/exec-one.exp,
189         find/testsuite/find.posix/exec-one.xo,
190         find/testsuite/find.posix/grouping.exp,
191         find/testsuite/find.posix/grouping.xo,
192         find/testsuite/find.posix/name.exp,
193         find/testsuite/find.posix/name.xo,
194         find/testsuite/find.posix/posixnot.exp,
195         find/testsuite/find.posix/posixnot.xo,
196         find/testsuite/find.posix/prune.exp,
197         find/testsuite/find.posix/prune.xo: Added new test cases for many
198         of the actions and tests of find
200         * find/find.c (default_prints):
201         not a static function, so do not declare it as one.
203         * m4/withfts.m4: Fixed underquoted definition of FIND_WITH_FTS.
204         [this change is currently on a branch only]
206 2005-07-30  James Youngman  <jay@gnu.org>
208         * find/finddata.c, find/ftsfind.c, find/parser.c, find/pred.c,
209         find/util.c, m4/Makefile.am, m4/withfts.m4: Initial attempt to
210         convert find to use gnulib's fts()
211         [this change is currently on a branch only]
212         
213         * find/finddata.c, find/ftsfind.c, m4/withfts.m4: New file.
214         [this change is currently on a branch only]
215         
216         * NEWS, configure.in, find/Makefile.am, find/defs.h, find/find.c,
217         import-gnulib.sh: Initial attempt to convert find to use gnulib's
218         fts() [this change is currently on a branch only]
220 2005-07-29  James Youngman  <jay@gnu.org>
222         * NEWS, configure.in
223         Prepared for the release of findutils-4.2.24
225         * ChangeLog: Updated with recent changes.
227         * NEWS, find/find.1, doc/find.texi:
228         Indicate that -ok and -okdir redirect stdin from /dev/null.
230         * NEWS: Explain the directory link count change more throroughly.
232         * NEWS: Fixed bug #13973.
234         * find/pred.c (pred_fprintf): Fix Savannah bug #13973: Modify the
235         handling of -printf %Y so that it no longer modifies stat_buf
237         * find/testsuite/find.gnu/printf-symlink.exp,
238         find/testsuite/find.gnu/printf-symlink.xo: Detect Savannah bug
239         #13973: pollution of stat_buf by the %Y directive (trivial change
240         from Andreas Metzler)
242         * INSTALL, depcomp, doc/texinfo.tex, install-sh, missing, mkinstalldirs:
243         Updated auxilliary files from the automake-1.9 distribution
245         * configure.in:
246         Introduce new Automake conditional, CROSS_COMPILING, true when we are corss compiling
248         * find/find.c:
249         If we decline to follow a symbolic link due to the safety check, issue a more self-explanatory warning message
251         * lib/Makefile.am: Don't build regexprops if we are cross compiling
253         * doc/Makefile.am:
254         Depend on the regex.h file rather than the 'regexprops' binary,
255         because the header file will always exist even if we are doing "make
256         dist".  Otherwise "make distcheck" fails because it tries to rebuild
257         find.info while the source-directory is read-only.
259 2005-07-28  James Youngman  <jay@gnu.org>
261         * find/find.1:
262         Say "other users" rather than "rest of the world" when talking about
263         Unix permissions.  Fixes Savannah bug #4246.
265 2005-07-27  James Youngman  <jay@gnu.org>
267         * xargs/testsuite/Makefile.am: Added new test case 'childfail.exp'.
269         * doc/find.texi:
270         Updated the description of the safe-dir-change operation to reflect
271         what find now does on systems that lack O_NOFOLLOW.
273         * NEWS, find/parser.c: Indicate in the output of find --version if
274         the leaf optimisation is enabled or not
276         * find/find.c: Fixed typo.
278         * find/find.c: If the link count of a directory starts off less
279         than two, disable the leaf optimisation for this directory.
281 2005-07-26  James Youngman  <jay@gnu.org>
283         * lib/regexprops.c: Further small corrections from Karl.
285         * doc/find.texi:
286         Reordered the sections in the manual to put the "Common Tasks" and
287         "Worked Examples" chapters together.
289         * configure.in, find/find.c: Allow the leaf optimisation to be
290         disabled by default with the configure option
291         --disable-leaf-optimisation
293         * find/find.c: Removed old code for antuqie version of savedir().
295         * lib/regextype.c: Put the syntaxes in alphabetical order.
297         * lib/regexprops.c: Karl made some more readability suggestions.
299 2005-07-24  James Youngman  <jay@gnu.org>
301         * doc/Makefile.am: If the regexprops program has changed we should
302         re-run it, since it will probably now produce different output
304         * lib/regextype.h:
305         Allow the caller to detect if one regex type is identical to another.
307         * configure.in:
308         Define the preprocessor macro FINDUTILS for that code int he lib/
309         directory can be slightly more reusable.
311         * lib/regextype.c:
312         Allow the caller to detect if one regex type is identical to another.
314         * lib/regexprops.c:
315         Made Texinfo style corrections suggested by Karl Berry.
317 2005-07-22  James Youngman  <jay@gnu.org>
319         * xargs/testsuite/xargs.posix/childfail.exp, xargs/xargs.c: Fix
320         Savannah bug #13878, in which xargs deals incorrectly with child
321         failure, returning 0 when it should return 123
323 2005-07-17  James Youngman  <jay@gnu.org>
325         * find/find.1: (tiny change) Corrections by Greg Wooledge
327 2005-07-16  James Youngman  <jay@gnu.org>
329         * doc/find.texi: Updates following comments by Dave Gilbert.
331         * NEWS: Corrected a typo.
333         * doc/find.texi:
334         Added in the example about updating an aggregate timestamp file.
336 2005-07-15  James Youngman  <jay@gnu.org>
338         * po/da.po: Updated Danish translation from translation project
340 2005-07-14  James Youngman  <jay@gnu.org>
342         * NEWS, doc/Makefile.am, doc/find.texi, lib/Makefile.am,
343         lib/regexprops.c, lib/regextype.c, lib/regextype.h: Added
344         --regextype and -regextype options to locate and find
345         respectively, and documented these
347         * doc/find.texi: We use GNU Emacs regexps by default now.
349         * doc/find.texi:
350         We require GNU sort in order for locate to handle newlines correctly,
351         not just GNU find.
353 2005-07-10  James Youngman  <jay@gnu.org>
355         * doc/find.texi:
356         Applied several documentation improvement patches from Aaron Hawley
358         * ChangeLog, NEWS: Updated with recent changes.
360         * NEWS: Recent gnulib changed have fixed -iregex
362         * doc/find.texi, xargs/xargs.1:
363         Tiny patch from Andreas Metzler: xargs -I is like xargs -i, but the latter is deprecated
365 2005-07-06  James Youngman  <jay@gnu.org>
367         * find/defs.h, find/find.c, find/parser.c, find/pred.c:
368         Fixed Savannah bug #13650; programs run by -exec cannot read stdin
370 2005-07-04  James Youngman  <jay@gnu.org>
372         * NEWS: *** empty log message ***
374         * doc/find.texi:
375         Added a "Worked Examples" section.   It currently only contains a
376         (long) example about deleting files.
378         * .cvsignore: Some extra stuff to ignore.
380 2005-07-03  James Youngman  <jay@gnu.org>
382         * find/Makefile.am: Don't need regexprops.c really...
384         * lib/regextype.c, lib/regextype.h:
385         New files for selecting regex type based on a keyword
387         * locate/locate.1: Documented the fact that we now use Emacs-style
388         regexps, not POSIX EREs, for compatibility with find -regex.
390         * lib/Makefile.am, locate/locate.c, doc/find.texi,
391         find/Makefile.am, find/defs.h, find/find.1, find/find.c,
392         find/parser.c: Fixed Savannah bug #13495: find now uses
393         Emacs-style regexps by default
395 2005-07-02  James Youngman  <jay@gnu.org>
397         * configure.in, find/defs.h, find/fstype.c, find/parser.c,
398         intl/dcigettext.c, lib/buildcmd.c, lib/listfile.c,
399         lib/savedirinfo.c, locate/locate.c, xargs/xargs.c: Assume unistd.h
400         is present - avoid using HAVE_UNISTD_H
402 2005-07-01  Jim Meyering  <jim@meyering.net>
404         With `-fprint F' or `-fprintf F', don't write diagnostics
405         to F when stderr is closed.
407         * find/parser.c: Include "stdio-safer.h".
408         (open_output_file): Use fopen_safer, not fopen.
409         * import-gnulib.sh (findutils_modules): Add stdio-safer.
411 2005-07-01  James Youngman  <jay@gnu.org>
413         * doc/find.texi:
414         Aaron pointed out a potentially-confusing sentence.  I fixed it.
416         * find/defs.h, find/find.1, find/find.c, find/parser.c,
417         find/pred.c, find/util.c: Allow consistency-checking of the
418         predicates, checking for example that actions all have side
419         effects
421 2005-06-29  James Youngman  <jay@gnu.org>
423         * doc/find.texi: Applied patch from Aaron Hawley (Savannah patch
424         #3751: Typos and small suggestions to find.texi)
426 2005-06-27  James Youngman  <jay@gnu.org>
428         * ChangeLog, locate/locate.c: Applied patch from Bas Van Gompel to
429         move match counting into a (new) visitor function
431         * NEWS, configure.in: No longer 4.2.23, as we're moving on now
433 2005-06-24  Bas van Gompel  <patch-findutils.buzz@bavag.tmfweb.nl>
435         * locate/locate.c (visit_count, visit_limit): New functions.
436         (locate): Use visit_limit or visit_count. Simplify main loop.
437         (main) Bail out early when limit is reached.
439 2005-06-20  James Youngman  <jay@gnu.org>
441         * xargs/xargs.c:
442         Removed some code which had already been disabled via the preprocessor.
444 2005-06-19  Dmitry V. Levin <ldv@altlinux.org>
446         * lib/savedirinfo.c: Fix two compilation warnings (which would 
447         prevent compilation if "-Wall -Werror" is in effect).
448         
449 2005-06-19  James Youngman  <jay@gnu.org>
451         * ChangeLog: Indicate that we made (are making) a release.
453         * ChangeLog, NEWS, configure.in: Preparing to release 4.2.23
455         * doc/find.texi: Fixed Texinfo syntax error in previous change
457         * doc/find.texi, xargs/xargs.1:
458         Document the fact that the -i and -L options are currently
459         incompatible (Savannah bug 13041).
461         * locate/updatedb.1, locate/updatedb.sh: Fix Savannah bug 13411 -
462         reject trailing slashes in updatedb's --prunepaths, bacsue these
463         will never be matched
465         * NEWS: Released findutils-4.2.23.
467         * doc/find.texi, xargs/xargs.1:
468         Document the fact that the -i and -L options are currently
469         incompatible (Savannah bug 13041).
471         * locate/updatedb.1, locate/updatedb.sh: Fix Savannah bug 13411 -
472         reject trailing slashes in updatedb's --prunepaths, because these
473         will never be matched.
475 2005-06-18  Martin Buchholz (trivial patch applied by James Youngman)
477         * find/defs.h, find/find.c, find/parser.c, doc/find.texi: Fix
478         typos/spelling errors (mostly in source code comments).
480 2005-06-18  Dmitry V. Levin  <ldv@altlinux.org>
482         Additional documentation tweaks for -execdir/-okdir actions.
483         * find/parser.c (parse_help): Mention -execdir and -ordir options.
484         * doc/find.texi, find/find.1: Additionally document new options.
485         
486 2005-06-12  Bas van Gompel  <patch-findutils.buzz@bavag.tmfweb.nl>
488         * locate/locate.c: Implement --all (-A).
489         
490         * NEWS, doc/find.texi, locate/locate.1: Document locate --all (-A)
491         
492 2005-06-12  James Youngman  <jay@gnu.org>
494         * find/find.c, NEWS:
495         Savannah bug #13381 (Debian bug 313081): if we have O_NOFOLLOW,
496         safely_chdir() does not need to call stat().  However, process_dir()
497         used to rely on using that stat information.  To work around this
498         problem, there is now an output parameter in safely_chdir() which
499         indicates if the stat buffer is valid.
500         This bug has possible security implications.
502         * find/find.1, doc/find.texi:
503         Applied patch from Andreas Metzler, improving the wording for the
504         documentation of the %k and %b format directives.  This patch does
505         not require a copyright assignment as it consists of several
506         copies of the same small wording change.
508 2005-06-11  James Youngman  <jay@gnu.org>
510         * find/find.1: Corrected spelling error 'writeable' to 'writable'.
512         * find/find.1, locate/locate.1:
513         Fixed Savannah bug #13363, typos in manpages (trivial change)
515 2005-06-10  James Youngman  <jay@gnu.org>
517         * find/find.c, lib/savedirinfo.c, lib/savedirinfo.h: Switch to a
518         new scheme for saving directory entry data which is extensible to
519         allow additional data to be saved.
521 2005-06-09  James Youngman  <jay@gnu.org>
523         * locate/testsuite/config/unix.exp:
524         Use the new normalize_dir procedure throughout.
526         * locate/testsuite/config/unix.exp: Move the normalisation into a
527         procedure.  Don't rely on the "file normalize" command being
528         available (it's new in Tcl 8.4).
530 2005-06-08  James Youngman  <jay@gnu.org>
532         * ChangeLog, NEWS, configure.in: Updated for recent changes
534         * doc/find.texi:
535         Explain that you should put the argument of -name in quotes.
537         * find/find.1:
538         Added a new "NON-BUGS" section pointing out things that look like bugs
539         but are caused by mistakes or misunderstandings.
541         * doc/find.texi, locate/locate.1: Applied Bas van Gompel's patch
542         which allows the database to be read from stdin.
544         * locate/locate.c:
545         Read the database in by using the "visitor" pattern.  Modified file
546         header comment to indicate that we no longer use the efficient
547         algorith described in ;login:.  Emit an error message if the
548         LOCATE_PATH variable implies that we should read stdin twice.
549         Most of this code is from Bas van Gompel.
551         * AUTHORS: Credit Bas van Gompel for his work on locate.
553         * lib/printquoted.h: Appled patch from Bas - fixing compiler warning.
555 2005-06-07  James Youngman  <jay@gnu.org>
557         * ChangeLog, NEWS, configure.in: Updates prior to release
559         * config.rpath: Added file required for 'make dist'
561         * po/be.po, po/ca.po, po/da.po, po/de.po, po/el.po, po/eo.po,
562         po/es.po, po/et.po, po/fi.po, po/findutils.pot, po/fr.po,
563         po/ga.po, po/gl.po, po/hr.po, po/hu.po, po/id.po, po/it.po,
564         po/ja.po, po/ko.po, po/lg.po, po/ms.po, po/nl.po, po/pl.po,
565         po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/rw.po, po/sk.po,
566         po/sl.po, po/sr.po, po/sv.po, po/tr.po, po/vi.po, po/zh_CN.po:
567         updated the po files for release
569         * xargs/testsuite/Makefile.am:
570         Added in all the test files from Dmitry V. Levin.
572 2005-06-08  Bas van Gompel  <patch-findutils.buzz@bavag.tmfweb.nl>
574         * NEWS, locate/locate.1, doc/find.texi: Document usage of `-'
575         to refer to stdin in database-path for locate.
576         * locate/locate.c: Change prototype for visitors and processors
577         throughout. Move reading the database and generating base_name
578         into visitors. Allow `-' to refer to stdin in database-path.
580         * lib/printquoted.h: Include stdio.h.
582 2005-06-07  James Youngman  <jay@gnu.org>
584         * COPYING, debian/copyright, depcomp, doc/texinfo.tex,
585         find/defs.h, find/find.c, find/fstype.c, find/parser.c,
586         find/pred.c, find/testsuite/config/unix.exp, find/tree.c,
587         find/util.c, import-gnulib.sh, intl/Makefile.in,
588         intl/bindtextdom.c, intl/config.charset, intl/dcgettext.c,
589         intl/dcigettext.c, intl/dcngettext.c, intl/dgettext.c,
590         intl/dngettext.c, intl/explodename.c, intl/finddomain.c,
591         intl/gettext.c, intl/gettext.h, intl/gettextP.h,
592         intl/hash-string.h, intl/intl-compat.c, intl/l10nflist.c,
593         intl/libgettext.h, intl/libgnuintl.h, intl/loadinfo.h,
594         intl/loadmsgcat.c, intl/localcharset.c, intl/locale.alias,
595         intl/localealias.c, intl/ngettext.c, intl/plural.c, intl/plural.y,
596         intl/ref-add.sin, intl/ref-del.sin, intl/textdomain.c,
597         lib/buildcmd.c, lib/buildcmd.h, lib/extendbuf.c, lib/extendbuf.h,
598         lib/forcefindlib.c, lib/listfile.c, lib/listfile.h,
599         lib/modetype.h, lib/nextelem.c, lib/nextelem.h, lib/printquoted.c,
600         lib/printquoted.h, lib/qmark.c, lib/savedirinfo.c,
601         lib/savedirinfo.h, lib/strspn.c, lib/wait.h, lib/waitpid.c,
602         locate/bigram.c, locate/code.c, locate/frcode.c, locate/locate.c,
603         locate/locatedb.h, locate/testsuite/config/unix.exp,
604         locate/updatedb.sh, missing, po/fetch-po-files,
605         xargs/testsuite/config/unix.exp, xargs/xargs.c: 
606         Updated the FSF's postal address
608         * ChangeLog: Corrected Bas's email address.
610         * locate/locate.c: Updated copyright years.
612 2005-06-07  Bas van Gompel  <patch-findutils.buzz@bavag.tmfweb.nl>
614          * locate/locate.c: Fold case once, only when needed.
615   
616 2005-06-07  James Youngman  <jay@gnu.org>
618         * NEWS: Updated with recent changes.
620         * mdate-sh: Use the mdate-sh from automake
622         * find/parser.c, find/pred.c, find/tree.c, find/util.c,
623         lib/Makefile.am, lib/forcefindlib.c, lib/listfile.c,
624         lib/listfile.h, locate/code.c, locate/locate.c, find/defs.h,
625         find/find.c: Fix Savannah bug #13324: Fix compiler warnings for
626         GCC-3.4
628         * locate/locate.c:
629         Fixed Savannah bug #13325: Quoting of output filenames in locate
630         should match find.
632         * find/parser.c:
633         Fixed Savannah bug #13319: C9X-ism in parser.c (declaration after
634         statements).
636         * find/pred.c, lib/Makefile.am, lib/listfile.c, lib/nextelem.c,
637         lib/printquoted.c, lib/printquoted.h, lib/qmark.c, NEWS,
638         doc/find.texi, find/defs.h, find/find.1, find/parser.c: Fixed
639         Savannah bug #13303, find should filter out non-printable
640         characters if outputting to tty
642 2005-05-30  James Youngman  <jay@gnu.org>
644         * locate/locate.c: rename new_locate() to locate() since
645           old_locate() has gone the way of the dodo.
647 2005-05-29  Bas van Gompel  <patch-findutils.buzz@bavag.tmfweb.nl>
649         Add a ``--print'' (``-p'') option. (to cancel side-effects of -c/-S)
650         Allow ``--statistics'' in combination with non-options.
651         * doc/find.texi: Add documentation for locate --print (-p), and the
652         use of non-options with --statistics.
653         * locate/locate.1: ditto.
654         * locate/locate.c: Read each database only once.
656 2005-05-23  Paul Eggert  <eggert@cs.ucla.edu>
658         Adjust to recent gnulib changes.
659         * import-gnulib.sh: Get config.rpath from gnulib/build-aux,
660         not gnulib/config.
661         * find/parser.c (parse_perm): Ignore umask when parsing
662         symbolic permissions.  Adjust to new modechange API.
664 2005-05-16  James Youngman  <jay@gnu.org>
666         * find/find.c, find/parser.c, find/pred.c, find/tree.c:
667         Trivial change: don't use i18n support for debug-only messages
669         * ChangeLog: Added ChangeLog entry crediting Dmitry
671 2005-05-09  James Youngman  <jay@gnu.org>
673         * find/parser.c:
674         The previous change fixed Savannah bug #12999.  This change doesn't do
675         anything, it's only intended to be a place to record the Savannah bug
676         ID we've just fixed.
678         * find/parser.c:
679         Oops.  Initialise the variable which indicates which regex syntax to
680         use.  We use POSIX basic regular expressions.
682         * find/parser.c:
683         Suggestion by Ed Avis: point out that "-name foo/bar" will almost
684         always evaluate to false.   Suggest to the user what alternatives they
685         might find useful.
687 2005-05-02  James Youngman  <jay@gnu.org>
689         * AUTHORS:
690         Added Dimitry (his new test suite contribution required a copyright
691         assignment).
693 2005-05-03  Dmitry V. Levin
695         * Added xargs test suite tests by Dmitry V. Levin, together with
696           bugfixes which ensure that the tests pass.
698 2005-04-18  James Youngman  <jay@gnu.org>
700         * Added test suite tests for Bas van Gompel's changes.
702 2005-04-18  Bas van Gompel  <patch-findutils.buzz@bavag.tmfweb.nl>
704         * doc/find.texi: Document locate --non-existing (-E).
705         * locate/locate.1: Ditto.
706         * locate/locate.c: Implement --non-existing (-E).
707    
708 2005-04-04  James Youngman  <jay@gnu.org>
710         * configure.in, import-gnulib.sh:
711         We no longer need gnulib/m4/Makefile.am
713         * po/vi.po: Updated Vietnamese translation
715         * locate/updatedb.sh:
716         Savannah bug #12491: Only use the "-s" option to "su" if it is
717         supported.
719 2005-04-01  James Youngman  <jay@gnu.org>
721         * locate/locate.1, locate/updatedb.1, xargs/xargs.1: Trivial
722         change from A Costa <agcosta@gis.net>, fixing typos in manual
723         pages for xargs, locate and updatedb; fixes Savannah bug #12500,
724         Debian bug #301934
726 2005-03-22  James Youngman  <jay@gnu.org>
728         * import-gnulib.sh: Include the new gnulib module stat-macros
730         * configure.in:
731         CVS code is (will shortly be) no longer identical to the 4.2.20 release
733 2005-03-17  James Youngman  <jay@gnu.org>
735         * configure.in: Preprare for release of 4.2.20.
737         * NEWS: Updated prior to release of 4.2.20.
739         * ChangeLog: Updated with recent changes.
741         * THANKS: Thank Bas van Gompel, but only once.
743         * THANKS: Thank Bas van Gompel and Aaron S. Hawley.
745         * po/vi.po: Updated Vietnamese PO file
747 2005-03-10  James Youngman  <jay@gnu.org>
749         * po/nl.po: Updated Dutch PO file
751 2005-03-08  Bas van Gompel  <patch-findutils.buzz@bavag.tmfweb.nl>
753         * import-gnulib.sh: Re-enable creation of gnulib/m4/Makefile.am.
755 2005-03-07  James Youngman  <jay@gnu.org>
757         * Released findutils-4.2.19.
759         * find/testsuite/find.posix/sizes.exp:
760         Use 2>/dev/null instead of 2>&1, because Tcl understands the former
761         but not the latter.
763         * find/testsuite/Makefile.am: Also distribute sv-bug-12181.xo.
765         * find/testsuite/Makefile.am: Distribute sv-bug-12181.
767         * find/testsuite/Makefile.am: Distribute sv-bug-12230.
769         * NEWS: Updated with new news.
771         * ChangeLog: Brought up to date.
773         * lib/buildcmd.c, find/testsuite/find.gnu/sv-bug-12230.exp: Fixed
774         Savannah bug #12230, in which '-exec echo == {} +' is always run,
775         even if there were no matched files.
777 2005-03-06  James Youngman  <jay@gnu.org>
779         * ChangeLog: Added latest changes.
781         * po/pt.po, configure.in: Added Portuguese translation
783 2005-03-04  James Youngman  <jay@gnu.org>
785         * configure.in: Modernized the way we call AC_INIT and
786         AM_INIT_AUTOMAKE
788         * locate/locate.c, find/pred.c, find/find.c:
789         Eliminated some compiler warnings
791         * find/pred.c: Clarified the meaning of a comment.
793         * find/testsuite/Makefile.am: Added sizes.exp, sizes.xo.
795         * find/testsuite/find.posix/sizes.xo,
796         find/testsuite/find.posix/sizes.exp: Added tests for -size
797         predicate
799 2005-03-03  James Youngman  <jay@gnu.org>
801         * find/find.c:
802         safely_chdir_lstat(): if we didn't end up in the right place, and then
803         fchdir() fails, we can't return to the directory we started in.
804         Therefore, issue a fatal error message and exit.
806 2005-03-01  James Youngman  <jay@gnu.org>
808         * find/find.c, find/testsuite/find.posix/sv-bug-12181.exp,
809         find/testsuite/find.posix/sv-bug-12181.xo: Fixed SourceForge bug
810         12181 (find -H symlink-to-dir reports 'Too many Symbolic links')
811         and bug 12044 (find still hangs on dead NFS filesystems on
812         Solaris)
814 2005-02-28  James Youngman  <jay@gnu.org>
816         * doc/find.texi: Typo: O_NOFOLLOW, not O_FOLLOW
818         * import-gnulib.sh:
819         Suggestion from Martin Buchholz; unset CDPATH to prevent "cd" echoing
820         the new directory.
822 2005-02-27  James Youngman  <jay@gnu.org>
824         * README: Indicate how the reader can verify the release.
826 2005-02-26  James Youngman  <jay@gnu.org>
828         * po/sk.po, po/sl.po, po/sr.po, po/sv.po, po/tr.po, po/vi.po,
829         po/zh_CN.po, po/be.po, po/ca.po, po/da.po, po/de.po, po/el.po,
830         po/eo.po, po/es.po, po/et.po, po/fi.po, po/findutils.pot,
831         po/fr.po, po/gl.po, po/hr.po, po/hu.po, po/id.po, po/it.po,
832         po/ja.po, po/ko.po, po/lg.po, po/ms.po, po/nl.po, po/pl.po,
833         po/pt_BR.po, po/ro.po, po/ru.po: Added new Vietnamese translation
835         * configure.in: Added new Vietnamese translation.
837 2005-02-25  James Youngman  <jay@gnu.org>
839         * po/ga.po: Updated Irish po file
841 2005-02-23  James Youngman  <jay@gnu.org>
843         * Makefile.am: Fix Savannah bug #12064 - 'make distclean' deletes
844         regex.c but should not.
846         * find/testsuite/Makefile.am,
847         find/testsuite/find.gnu/printf-h.exp,
848         find/testsuite/find.gnu/printf-h.xo: Added test case for Savannah
849         bug #12085 (-printf %h).
851         * NEWS, doc/find.texi, find/find.1, find/pred.c:
852         %h now expands to '.' instead of nothing.
854 2005-02-22  James Youngman  <jay@gnu.org>
856         * find/find.c:
857         Fixed Savannah bug #12099 (misinterpretation of system versions
858         leading to possible incorrect disabling of O_NOFOLLOW).  Reported by
859         Dmitry V. Levin.
861         * find/pred.c:
862         For the %h format, don't bail out early as the format might contain
863         something else too.
865 2005-02-21  James Youngman  <jay@gnu.org>
867         * find/find.c: Fixed accidental C99 dependency.
869 2005-02-20  James Youngman  <jay@gnu.org>
871         * po/be.po, po/ca.po, po/da.po, po/de.po, po/el.po, po/eo.po,
872         po/es.po, po/et.po, po/fi.po, po/findutils.pot, po/fr.po,
873         po/ga.po, po/gl.po, po/hr.po, po/hu.po, po/id.po, po/it.po,
874         po/ja.po, po/ko.po, po/lg.po, po/ms.po, po/nl.po, po/pl.po,
875         po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sl.po, po/sr.po,
876         po/sv.po, po/tr.po, po/zh_CN.po: Updated italian translation
878         * doc/find.texi: Corrected a typo.
880         * find/find.c:
881         Read the mounted device list afer parsing the command line, so that
882         for example "find --version" still works (in response to Savannah bug
883         #12044).
885         * configure.in: We've moved on from findutils-4.2.18.
887 2005-02-19  James Youngman  <jay@gnu.org>
889         * NEWS: Corrected the summary of the "find -depth" bug.
891 2005-02-16  James Youngman  <jay@gnu.org>
893         * NEWS, configure.in: Prepared for release of 4.2.18.
895         * ChangeLog: Updated prior to release of 4.2.18.
897         * find/testsuite/Makefile.am:
898         Distribute the test cases for the recent "find -depth" bug.
900         * find/testsuite/find.posix/depth1.exp, find/testsuite/find.posix/depth1.xo:
901         Added test case for find -depth bug reported by Joseph S. Myers
903         * find/find.c:
904         If -depth is in effect, processing of the subdirectories invalidates
905         the information in 'state'.  Therefore once we get around to
906         processing the predicates, restore the information that we keep in
907         'state' and in 'stat_buf'.
909 2005-02-15  James Youngman  <jay@gnu.org>
911         * ChangeLog: Updated with recent changes
913         * find/find.1:
914         Emphasise that -L causes find to recurse into subdirectories pointed
915         to by symbolic links.
917         * find/find.1:
918         Patch to find.1 from Aaron Hawley <Aaron.Hawley@uvm.edu>:
920         * Notes about -H actually apply to -L.
921         * Said paragraph is duplicated two paragraphs later.
922         * Typos: nno, ibmue, surrpounding
924 2005-02-15  Aaron Hawley  <Aaron.Hawley@uvm.edu>
926         * find/find.1: Notes about -H actually apply to -L.  Said
927         paragraph is duplicated two paragraphs later.  Also typos: nno,
928         ibmue, surrpounding
930 2005-02-13  James Youngman  <jay@gnu.org>
932         * find/find.1: Miscellaneous small clarifications and improvements.
934         * doc/find.texi: Added Info nodes and menus under "Changing the
935         Current Working Directory" so that it doesn't generate such a huge
936         Info page.
938         * find/find.c: Parenthesise #if defined(...).
940 2005-02-13  Dmitry V. Levin  <ldv@altlinux.org>
941         
942         * find/find.c: remove test code snippet (time(NULL) was used to
943         place a marker for spotting with strace(), but was not actually
944         needed).
946         * find/find.c (safely_chdir_nofollow): must not fall back on
947         safely_chdir_lstat() because that will expose it to race condition
948         exploits, making it pointless.
950         * find/find.c (safely_chdir_lstat): Move
951         complete_pending_execdirs() up into safely_chdir(), because we
952         need to do that in either case.
954 2005-02-12  James Youngman  <jay@gnu.org>
956         * configure.in, doc/find.texi, find/defs.h, find/find.c,
957         find/parser.c: Fix for Savannah bug #11879, that
958         init_mounted_dev_list() causes find to hang on systems which are
959         clients to dead NFS servers
961 2005-02-10  James Youngman  <jay@gnu.org>
963         * doc/find.texi: Talk about the problem where find will not work
964         if you have a filesystem mounted from an unresponsive NFS server.
966 2005-02-09  James Youngman  <jay@gnu.org>
968         * find/find.1: Indicate that $TZ affects from printf-format
969         results, and add extra cross-references in the SEE ALSO section.
971 2005-02-08  James Youngman  <jay@gnu.org>
973         * xargs/testsuite/Makefile.am: Distribute the .xe files also.
975         * Makefile.am: Check that we have the right number of .xe files in
976         the distribution also.
978         * ChangeLog, NEWS, configure.in
979         Preparing to release findutils-4.2.17
981 2005-02-07  James Youngman  <jay@gnu.org>
983         * find/testsuite/config/unix.exp: Re-sort the .xo file using the
984         calling user's locale, because our 'pre-sorted' .so output file
985         may not be sorted with the same collating order as 'sort' used to
986         order the output of "find.  Bug spotted by Vin Shelton and Dimitry
987         V. Levin.
989         * find/testsuite/Makefile.am:
990         New test, find/testsuite/find.gnu/follow-arg-parent-symlink.exp.
992         * find/testsuite/find.gnu/follow-arg-parent-symlink.exp,
993         find/testsuite/find.gnu/follow-arg-parent-symlink.xo, find/find.c:
994         Fix for starting point /foo/bar/baz where bar is a symlink but baz
995         is not - we should chdir into bar there even if it is a symbolic
996         link
998 2005-02-07  James Youngman  <jay@gnu.org>
1000         * find/testsuite/Makefile.am:
1001         New test, find/testsuite/find.gnu/follow-arg-parent-symlink.exp.
1003         * find/testsuite/find.gnu/follow-arg-parent-symlink.exp,
1004         find/testsuite/find.gnu/follow-arg-parent-symlink.xo, find/find.c:
1005         Fix for starting point /foo/bar/baz where bar is a symlink but baz
1006         is not - we should chdir into bar there even if it is a symbolic
1007         link
1009 2005-02-06  James Youngman  <jay@gnu.org>
1011         * doc/find.texi:
1012         -size: Clarification - -size gives a result consistent with 'wc -c'
1013          for example.
1015         * Makefile.am, find/testsuite/Makefile.am,
1016         find/testsuite/find.gnu/execdir-root-only.exp,
1017         find/testsuite/find.gnu/execdir-root-only.xo,
1018         locate/testsuite/Makefile.am, xargs/testsuite/Makefile.am:
1019         dist-hook: Ensure that we distribute all the .po files and all the
1020         testsuite files
1022         * po/pl.po: Updated Polish translation from TP website
1024 2005-02-05  Dmitry V. Levin  <ldv@altlinux.org>
1026         * find/parser.c, find/pred.c: Additional tweaks for
1027         -execdir/-okdir actions.
1028         
1029         * find/parser.c (new_insert_exec_ok): Disable ignore_readdir_race
1030         for -execdir/-okdir.
1031         
1032         * find/pred.c (pred_execdir, pred_okdir): Use state.rel_pathname
1033         instead of basename(pathname).  Do not add "./" prefix for
1034         absolute pathnames.
1035         
1036         * find/find.c (process_top_path): Treat "/" similarly to ".".
1038         * xargs/testsuite/xargs.posix/savannah-11865.exp,
1039         xargs/testsuite/xargs.posix/savannah-11865.xo, xargs/xargs.c:
1040         Fixed Savannah bug #11866 (not resetting number of used chars in
1041         the command buffer) - reported by Dimitry V. Levin
1043 2005-02-05  James Youngman  <jay@gnu.org>
1045         * THANKS:
1046         Added thanks for Dimitry - has produced many patches, bugfixes and
1047         suggestions.
1049         * find/pred.c:
1050         Fixed Savannah bug #11866: typo in pred_okdir() renders it useless
1052         * find/pred.c:
1053         Savannah bug #11861: undefined symbol 'basename' on IRIX 5.3
1055         * NEWS, configure.in, po/be.po, po/ca.po, po/el.po, po/eo.po,
1056         po/fi.po, po/ga.po, po/hr.po, po/hu.po, po/ja.po, po/lg.po,
1057         po/ms.po, po/ro.po, po/sl.po, po/sr.po, po/zh_CN.po: Added new
1058         translations
1060         * ChangeLog: Updated from CVS prior to release of 4.2.16.
1062         * po/ChangeLog: Updated from CVS.
1064         * NEWS, configure.in: Preparing to release 4.2.16
1066         * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot,
1067         po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po,
1068         po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sl.po, po/sv.po,
1069         po/tr.po: make update-po prior to 'make distcheck'
1071         * po/fetch-po-files: This is the first version we actually used.
1073         * find/find.c: process_top_path() fixed compilation warning.
1075         * find/find.c: process_top_path(): avoid processing this item if
1076         we can't chdir to the basename of the named file.
1078         * lib/Makefile.am: Always build forcefindlib.c
1080         * locate/locate.c: Say 'base name' rather than 'basename' in comments
1082         * find/pred.c, find/find.c: process_top_path(): Proper bugfix for
1083         correct handling of items at depth 0 (i.e. specified on the
1084         command line) - do an extra chdir to ensure that we're in the
1085         directory containing the item before calling process_path().
1086         Hnece also undo the previous 'quick fix' for the same problem
1088         * doc/find.texi:
1089         -execdir no longer has to treat anything as special, even at depth 0.
1091 2005-02-03  James Youngman  <jay@gnu.org>
1093         * doc/find.texi, find/pred.c: When state.curdepth is 0, our
1094         working directory is not the directory containing the file we are
1095         processing.
1097 2005-02-02  James Youngman  <jay@gnu.org>
1099         * find/pred.c:
1100         To allow compilation on cygwin, use base_name(), not basename().
1103 2005-02-01  James Youngman  <jay@gnu.org>
1105         * ChangeLog: Updated from CVS log.
1107 2005-01-31  James Youngman  <jay@gnu.org>
1109         * find/find.c, lib/nextelem.c, lib/nextelem.h, locate/code.c,
1110         locate/frcode.c, locate/testsuite/config/unix.exp,
1111         xargs/testsuite/config/unix.exp, xargs/xargs.c: Updated/corrected
1112         the email address for David MacKenzie, one of the original authors
1113         of findutils
1115         * doc/Makefile.am: The HTML version of the manual generated for
1116         the GNU project website has each node in a separate file, not each
1117         chapter in a separate file; adjust filenames accordingly
1119         * find/parser.c, find/pred.c, lib/savedirinfo.c:
1120         Removed some unused variables (patch from Dmitry V. Levin)
1122         * find/find.c:
1123         Patch from Dmitry V. Levin <ldv@altlinux.org>: Add subfs to the list
1124         of filesystems which are likely to be automounted.
1126         * m4/findlib.m4: Corrected typo (pointed out by Dmitry V. Levin).
1128         * find/testsuite/config/unix.exp,
1129         find/testsuite/find.gnu/name-period.xo,
1130         find/testsuite/find.gnu/posix-dflt.xo,
1131         find/testsuite/find.gnu/posix-h.xo,
1132         find/testsuite/find.gnu/posix-l.xo,
1133         find/testsuite/find.gnu/printf.exp,
1134         find/testsuite/find.gnu/printf.xo: Systems differ in the order in
1135         which filenames are returned by readdir.  Hence sort the output of
1136         'find' before comparing against the expected-output file.  We
1137         therefore also have the lines in the .xo files ready-sorted.
1139 2005-01-30  James Youngman  <jay@gnu.org>
1141         * doc/Makefile.am:
1142         Added rules for extra targets that we buld to update the web site.
1144 2005-01-29  James Youngman  <jay@gnu.org>
1146         * configure.in: No longer version 4.2.15 - we've changed the manual.
1148         * doc/find.texi:
1149         Clarified the txt about adding extra tests with post-processing via
1150         xargs, and recommend -execdir instead for security reasons.
1152         * doc/find.texi: Patch from Karl Berry:
1153         - more entries for the dir file
1154         - use @copying so the copyright ends up in the HTML etc. output.
1155           (This is the only really important change.)
1156         - put @contents after the title page, for conventional toc location.
1157         - use @ifnottex to wrap the Top node instead of @ifinfo, for the sake of
1158           HTML output, etc.
1160         * NEWS, configure.in, po/da.po, po/de.po, po/es.po, po/et.po,
1161         po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po,
1162         po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po,
1163         po/sv.po, po/tr.po: Prepared to release findutils-4.2.15
1165         * ChangeLog: Updated from CVS log.
1167 2005-01-28  James Youngman  <jay@gnu.org>
1169         * configure.in:
1170         Make --enable-d_type-optimization and --enable-d_type-optimisation
1171         both work.
1173         * configure.in: Assume --enable-d_type-optimisation by default
1175         * find/parser.c: Indicate which features are enabled/disabled
1177         * locate/testsuite/config/unix.exp:
1178         Clean up the files left behind by the locate_textonly test
1180 2005-01-27  James Youngman  <jay@gnu.org>
1182         * doc/find.texi: Documented --regex.
1184         * NEWS, locate/locate.1, locate/locate.c, locate/testsuite/Makefile.am, locate/testsuite/config/unix.exp, locate/testsuite/locate.gnu/regex1.exp:
1185         Implemented locate --regex - but needs documenting in Texinfo manual.
1187 2005-01-25  James Youngman  <jay@gnu.org>
1189         * configure.in: Bumped version no.
1191         * doc/find.texi:
1192         Document --mmap and --stdio as being synonyms of -m and -s.
1194         * locate/locate.1:
1195         Document --mmap and --stdio as synonyms of -m and -s.
1197         * locate/locate.c:
1198         Document -m and -s (both no-ops) in the usage message.
1200         * doc/find.texi, locate/locate.1: Document -m and -s as no-ops.
1202         * ChangeLog: Updated for release of findutils-4.2.14.
1204         * 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:
1205         Preparing to release findutils-4.2.14
1207 2005-01-25  James Youngman  <jay@gnu.org>
1209         * NEWS, configure.in, po/da.po, po/de.po, po/es.po, po/et.po,
1210         po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po,
1211         po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po,
1212         po/sv.po, po/tr.po: Preparing to release findutils-4.2.14
1214 2005-01-24  James Youngman  <jay@gnu.org>
1216         * Makefile.am: Work around the fact that automake-1.7 actually
1217         works, and correctly distributes regex.c; hence dist-hook should
1218         only copy gnulib/lib/regex.c if this has not already been done.
1220         * find/defs.h, find/find.c, find/pred.c,
1221         find/testsuite/Makefile.am,
1222         find/testsuite/find.gnu/printf-symlink.exp,
1223         find/testsuite/find.gnu/printf-symlink.xo,
1224         find/testsuite/find.gnu/xtype-symlink.exp,
1225         find/testsuite/find.gnu/xtype-symlink.xo: Fixes for -xtype and
1226         -printf %Y, which had been the wrong way around.
1228         * NEWS: Avoid including the find.gnu subdirectory in the
1229         distributed file more than once
1231         * locate/locate.c:
1232         Move the printing of the statistics into a new function, print_stats()
1234         * find/testsuite/Makefile.am: Avoid including the find.gnu
1235         subdirectory in the distributed file more than once
1237         * import-gnulib.sh:
1238         We need the regex module anyway, to allow compilation on Solaris
1240 2005-01-23  James Youngman  <jay@gnu.org>
1242         * configure.in:
1243         Invoke gl_INCLUDED_REGEX directly to ensure successful compilation on
1244         systems like Solaris, which lacks those functions in libc (fixes GNU
1245         Savannah bug #11710).
1247         * locate/locate.1: -S is a synonym for --statistics
1249         * doc/find.texi: Documented the new -H, -L and -P options.
1251         * locate/locate.1, locate/locate.c: Implement options -L
1252         (default), -H and -P, which mean the same things as for find,
1253         except for the fact that the default is -L rather than -P
1255         * find/find.1: Corrected definition of the exit status for -quit.
1257         * find/find.c, find/pred.c: If DEBUG_STAT is set, issue a debug
1258         message when we call chdir() so that we can figure out what is
1259         actually being stat()ed
1261         * locate/updatedb.sh:
1262         Removed spurious newline from help message (bug report from Karl
1263         Berry).
1265         * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot,
1266         po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po,
1267         po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po,
1268         Makefile.am, NEWS, configure.in, find/defs.h, find/find.c,
1269         find/parser.c, find/pred.c, find/tree.c, find/util.c,
1270         import-gnulib.sh, lib/savedirinfo.c: Merged the d_type
1271         optimisation code; this is disabled by default, and can be enabled
1272         with 'configure --enable-d_type-optimisation'
1274         * NEWS:
1275         Updated optimisation NEWS item to indicate the effect on runtime.
1277 2005-01-22  James Youngman  <jay@gnu.org>
1279         * NEWS, configure.in: Prepare for release of findutils-4.2.12
1281         * ChangeLog: Brought up to date with recent changes.
1283         * Makefile.am, import-gnulib.sh, po/Makefile.in.in, po/Makevars,
1284         po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot,
1285         po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po,
1286         po/pl.po, po/pt_BR.po, po/remove-potcdate.sin, po/ru.po, po/sk.po,
1287         po/sv.po, po/tr.po: Switch to using the gnulib gettext module, to
1288         ensure that 'make distcheck' works with current xgettext,
1289         autoconf, etc.
1291         * find/testsuite/config/unix.exp:
1292         Oops, we do need to clean up after all.
1294 2005-01-21  James Youngman  <jay@gnu.org>
1296         * xargs/testsuite/Makefile.am: Added name of missing input file.
1298         * find/testsuite/Makefile.am:
1299         Distribute a few files that we had forgotten about
1301         * xargs/testsuite/Makefile.am: Added some missing files.
1303         * lib/Makefile.am: Also need buildcmd.h.
1305         * xargs/testsuite/Makefile.am: Fixed a typo.
1307         * NEWS: Indicate the d_type performance improvement
1309 2005-01-18  James Youngman  <jay@gnu.org>
1311         * lib/savedirinfo.h: Added on d_type_optimisation also
1313         * lib/savedirinfo.c: Added on branch d_type_optimisation also.
1315         * find/pred.c: Added assert that we actually know the file type by
1316         the time pred_type() is called
1318         * find/find.c: Always initialise state.have_stat = false when
1319         starting to work with a new file
1321 2005-01-17  James Youngman  <jay@gnu.org>
1323         * ChangeLog: Brought up to date with recent changes.
1325         * NEWS: Documented the changes so far.
1327         * find/testsuite/find.gnu/exec-many-rtn-success.xo:
1328         Expected output for exec-many-rtn-success.exp
1330         * find/find.1:
1331         Indicate that -quit still ensures that pending commands are invoked
1333         * doc/find.texi:
1334         Indicate that -quit still causes partial command lines to be invoked,
1335         but there are some types of fatal error which leave such commands
1336         uninvoked.
1338         * find/defs.h, find/find.c, find/pred.c, find/testsuite/Makefile.am, find/testsuite/config/unix.exp:
1339         Fixed savannah bug  #11625 Wrong return status for -exec ... \; when command fails; also execute any pending commands when doing -quit
1341         * 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:
1342         Various test cases for succeeding and failing forms of -exec \; and -exec {} +
1344         * find/pred.c: "-exec ... {} +" always returns "true".
1346         * configure.in, find/defs.h, find/find.c, find/parser.c, find/pred.c, find/tree.c, find/util.c:
1347         Implemented d_type optimisation but not working correctly, so currently disabled
1349         * lib/savedirinfo.h, lib/savedirinfo.c:
1350         Initial implementation (temporarily disabled).
1352         * lib/Makefile.am: Resolved merge conflict.
1354         * lib/Makefile.am:
1355         Make sure nextelem.h is included in the list of sources.
1357         * find/parser.c, lib/nextelem.c, lib/nextelem.h, locate/locate.c:
1358         Use prototypes for next_element() to make sure it is called correctly.
1360 2005-01-16  James Youngman  <jay@gnu.org>
1362         * find/find.c, find/pred.c:
1363         When completing incomplete multiple execs, use 'eval_tree' not 'predicates'
1365         * lib/buildcmd.c:
1366         Oops, initialise state->cmd_initial_argv_chars to zero.
1368         * find/find.1:
1369         Document the way that -execdir and -okdir will refuse to wqork if ">"
1370         is on $PATH.  Also document -okdir in the manpage.
1372         * find/parser.c:
1373         -execdir and -okdir are insecure if $PATH includes the current
1374          directory, and so they refuse to work if the user has done that.
1376         * find/pred.c:
1377         Oops; for -exec ... {} +, pass arguments to bc_push_arg() in the right
1378         order.   Problem spotted by Geoff Clare.
1380         * TODO: Removed items which have now been done.
1382         * lib/buildcmd.c: Tidied up formatting of arg list for bc_do_insert
1384 2005-01-15  James Youngman  <jay@gnu.org>
1386         * find/testsuite/find.gnu/printf.exp, find/testsuite/find.gnu/printf.xo:
1387         Added extra tests for more printf formats; patch by Andreas Metzler
1389         * locate/locate.c:
1390         Ensure that the new long options have a relevang short option too.
1391         Also bring usage message into line with the options actually
1392         supported.  Thanks to Bas van Gompel for noticing this defect.
1394         * locate/locate.1:
1395         Escape "-" in SYNOPSIS.  Thanks to Bas van Gompel for noticing this
1396         defect.
1398         * ChangeLog: Fixed typos.
1400         * doc/find.texi:
1401         Documented -execdir, and the "+" variants of -exec and -execdir.
1403         * find/find.1: Documented -execdir.
1405         * xargs/xargs.c:
1406         Updated to bring into line with bc_*() interface changes
1408         * ChangeLog: Updated with recent changes.
1410         * find/defs.h, find/parser.c, find/pred.c, lib/buildcmd.c, lib/buildcmd.h:
1411         Implemented -execdir and -okdir
1413         * find/defs.h, find/find.c, find/fstype.c, find/parser.c, find/pred.c, lib/buildcmd.c, lib/buildcmd.h, xargs/xargs.c:
1414         First working version of -exec ...+
1416 2005-01-09  James Youngman  <jay@gnu.org>
1418         * find/defs.h, find/find.c, find/parser.c, find/pred.c, lib/buildcmd.c, lib/buildcmd.h, xargs/xargs.c:
1419         Initial implementation of -exec ..{} +, but currently disabled since not yet working
1421 2005-01-08  James Youngman  <jay@gnu.org>
1423         * find/find.c: Fixed typo in comment.
1425         * find/defs.h, find/find.c, find/parser.c, find/pred.c:
1426         We now understand but do not implement -execdir (a *BSD invention, and a very useful security enhancement) and -okdir (the obvious companion to it)
1428         * locate/bigram.c, locate/code.c, locate/frcode.c, locate/locate.c, xargs/xargs.c:
1429         The GNU coding standard requires a space between the function name and
1430         its parenthesised argument list.
1432         * find/defs.h:
1433         Understand the -exec ... {} \+ construction (for multiple
1434         replacement).  No support yet.
1436         * locate/locate.1:
1437         Indicate that empty elements in the dbpath are treated as synonyms for
1438         the default database.
1440         * locate/locate.c:
1441         Support empty elements in the dbpath as synonyms for the default
1442         database.  These colons can be leading, trailing or in the middle of
1443         the string.  We no longer com,plain if the user does this.
1445         * lib/nextelem.c:
1446         If curdir_ok is 0 and an element is empty, return "" instead of NULL
1447         so that the caller knows to keep calling us.
1449         * find/find.c, find/pred.c, import-gnulib.sh, locate/bigram.c, locate/code.c, locate/frcode.c, locate/locate.c, xargs/xargs.c:
1450         Savannah bug 11517: find, xargs, locate, etc. should not hide write failures; patch from Jim Meyering
1452         * 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:
1453         changed .pot creation date
1455         * THANKS, AUTHORS: Take into account the FSF copyright-assignments list
1457         * doc/find.texi:
1458         If -quit is used, the exit value can be nonzero if errors have occurred.
1460         * find/find.1:
1461         Removed incorrect comment about -H, -P and -follow in HISTORY.
1463 2005-01-07  James Youngman  <jay@gnu.org>
1465         * lib/Makefile.am, lib/buildcmd.c, lib/buildcmd.h, xargs/xargs.c:
1466         Refactored xargs to use an external library function from the new file buildcmd.c
1468         * configure.in: no longer the same as the released 4.2.11 version
1470 2005-01-06  James Youngman  <jay@gnu.org>
1472         * xargs/testsuite/inputs/lines.xi, xargs/testsuite/xargs.posix/l2.exp, xargs/testsuite/Makefile.am:
1473         Tests for the -L option
1475         * xargs/testsuite/config/unix.exp: When a test fails, show the diffs
1477         * xargs/testsuite/xargs.posix/l2.exp, xargs/testsuite/xargs.posix/l2.xo:
1478         tests for the -l option
1480         * xargs/testsuite/Makefile.am: Added extra test files
1482         * xargs/testsuite/xargs.sysv/trace.exp, xargs/testsuite/xargs.sysv/trace.xe, xargs/testsuite/xargs.sysv/trace.xo:
1483         Added tests for the -t option
1485         * 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:
1486         Use a blanks-only input file for cases where there is supposed to be no output
1488         * xargs/testsuite/inputs/blank.xi: Initial version.
1490         * xargs/xargs.1:
1491         Corrected a typo; also indicate that it's impossible to use xargs
1492         securely due to the race condition.
1494 2005-01-05  James Youngman  <jay@gnu.org>
1496         * find/parser.c:
1497         Fixed Savannah bug 11495: fallthrough from -printf format processing
1498         from 'n' case to 'd' case.
1500 2005-01-03  James Youngman  <jay@gnu.org>
1502         * doc/find.texi:
1503         Oops.  Had duplicated an entire section.  Fortunately this was after
1504         @bye, so there was no adverse effect.
1506         * NEWS: locate -b.
1508         * doc/find.texi, locate/locate.1: document locate -S
1510         * configure.in, doc/find.texi, locate/locate.1, locate/locate.c:
1511         Support locate -b as a synonym for locate --basename
1513         * 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:
1514         distcheck
1516         * find/testsuite/config/unix.exp:
1517         Clean up (delete) find.out at at the end of the test.
1519         * NEWS, doc/find.texi, find/defs.h, find/find.1, find/find.c, find/parser.c, find/pred.c:
1520         Implemented the -samefile test for find
1522 2005-01-02  James Youngman  <jay@gnu.org>
1524         * ChangeLog: Updated with recent changes.
1526         * NEWS:
1527         Bas van Gompel: two-line patch to locate.c to make locate's -i and -w
1528         options work if -e is in use.
1530         * THANKS: Added Bas van Gompel.
1532         * locate/locate.c:
1533         Bas van Gompel: (visit_exists) when testing for the existence of the
1534         file, check the real filename [printname], not the case-converted
1535         filename [testname].  Really these argument names are badly chosen.
1537         * find/find.1, doc/find.texi:
1538         Improved the documentation for -perm, with plenty of examples,
1539         following a comment by Dan Jacobson that the comment "Symbolic modes
1540         use mode 0 as a point of departure" is baffling and unhelpful.
1542         * locate/locate.c:
1543         Suggestion and patch from Bas van Gompel: (new_locate): Fix display of
1544         negative compression ratios.
1546 2004-12-31  James Youngman  <jay@gnu.org>
1548         * NEWS: Brought up to date with recent changes
1550         * doc/find.texi:
1551         Don't need to nest the "race conditions with..." sections so deeply.
1553         * doc/find.texi: Corrected some spelling errors.
1555         * doc/find.texi: Added new "Security Considerations" chapter.
1557 2004-12-23  James Youngman  <jay@gnu.org>
1559         * locate/locate.c:
1560         Applied bugfixes from Bas van Gompel <patch-findutils.buzz@bavag.tmfweb.nl>.
1561         (lc_strcpy): Zero-terminate result.
1562         (add_visitor): Update lastinspector.
1563         (visit_substring_match_casefold): fix off-by-one error.
1564         (new_locate): Move visit_exists down to improve performance.
1565         (new_locate): Don't fold case when getting stats.
1567 2004-12-19  James Youngman  <jay@gnu.org>
1569         * doc/find.texi:
1570         Indicate that "cd /; find tmp -wholename /tmp" will never match anything.
1572         * doc/find.texi: Documented locate --statistics.
1574         * locate/locate.1: Documented the --statistics option.
1576         * locate/locate.c: Added support for the -S option.
1578 2004-12-12  James Youngman  <jay@gnu.org>
1580         * NEWS: Added a summary of the changes so far.
1582         * find/tree.c: Made some of the error messages more self-explanatory
1584         * find/pred.c: Print pointers with %p, not %x.
1586         * find/find.c: Moved option data into struct options.
1588         * find/find.1: clarifications
1590         * find/testsuite/find.gnu/comma.exp:
1591         Limit the amount of searching with maxdepth.
1593         * doc/find.texi: clearer description of how -prune works
1595         * ChangeLog: Removed duplicate entry.
1597         * configure.in, find/defs.h, find/find.c, find/fstype.c, find/parser.c, find/pred.c, find/tree.c, find/util.c:
1598         Separated ariables representing current state from variable representing option information
1600 2004-12-11  James Youngman  <jay@gnu.org>
1602         * find/parser.c: Readability improvement to the usage message.
1604         * find/find.c: Oops.  Fixed unmatched #endif.
1606         * find/testsuite/find.gnu/printf.exp, find/testsuite/find.gnu/printf.xo, THANKS, configure.in, find/testsuite/Makefile.am, find/testsuite/config/unix.exp:
1607         Fixed Savannah bug #11280
1609         * find/find.c:
1610         Remember to set path_length and curdepth in process_top_path().
1612 2004-12-07  James Youngman  <jay@gnu.org>
1614         * find/fstype.c: Use xstat() not stat() to examine things.
1616         * find/find.c: Explain why #ifdef EOVERFLOW.
1618         * find/find.c: EOVERFLOW is not defined on UNICOS.
1620         * NEWS: Corrected typo.
1622 2004-12-06  James Youngman  <jay@gnu.org>
1624         * ChangeLog: Brought up to date.
1626         * NEWS, configure.in: releasing 4.2.10
1628         * 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:
1629         distcheck
1631         * ChangeLog: Updated prior to release of finsutils-4.2.10.
1633         * import-gnulib.sh, find/fstype.c:
1634         Use gnulib's mountlist module instead of grokking it ourselves.
1636         * configure.in:
1637         Removed all the out-of-date cruft for grokking getmntent().
1639         * xargs/xargs.c:
1640         Added the -I and -L options; also -E takes an argument which is not optional.
1642 2004-12-05  James Youngman  <jay@gnu.org>
1644         * README, configure.in, find/defs.h, find/find.c, find/parser.c, find/pred.c, find/tree.c:
1645         Allow debug output to be turned on or off by saying --enable-debug on the configure command line
1647         * README:
1648         Removed disparaging (it is now, it probably wasn't then) comment about
1649         the production-readiness of Automake.
1651         * README: Qualify remarks about POSIX compliance.
1653         * NEWS, configure.in: Preparation for release 4.2.9
1655         * 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:
1656         distcheck
1658         * ChangeLog: Brought up to date.
1660         * find/find.c:
1661         Avoid duplicate error message when we cannot chdir() into a subdirectory.
1663         * THANKS: Added recent thankees.
1665         * NEWS:
1666         Brought up to date with respect to the current set of fixed bugs.
1668         * NEWS, xargs/xargs.1, xargs/xargs.c:
1669         Implemented POSIX options -L, -I and -E
1671 2004-12-03  James Youngman  <jay@gnu.org>
1673         * find/parser.c:
1674         -xdev is an option, not a test.   Fixes Savannah bug 11192.
1676         * find/find.1, xargs/xargs.1:
1677         Escape dashes with a backslash (for fix Savannah bug 11189).
1679 2004-11-27  James Youngman  <jay@gnu.org>
1681         * find/find.c:
1682         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.
1684         * find/find.1: "necessary" only has one "C".
1686         * find/find.1:
1687         If stat() fails with ELOOP, we issue a diagnostic message.
1689 2004-11-26  James Youngman  <jay@gnu.org>
1691         * find/find.c: Removed some unused code.
1693         * Makefile.am: Don't do anything in the 'intl' subdirectory
1695         * find/find.c:
1696         Enhanced safely_chdir() to the point where the test suite passes, and report infinite loops in the directory hierarchy
1698         * find/defs.h:
1699         belt and braces; ensure that SYMLINK_NEVER_DEREF has value zero
1701         * find/find.1:
1702         Describe our strategy for detecting and reporting infinite loops
1704 2004-11-24  James Youngman  <jay@gnu.org>
1706         * doc/find.texi:
1707         Updated the discussion of th error messages for findutils-4.2.8.
1709         * configure.in: Next version will be 4.2.9...
1711         * find/find.c:
1712         Don't issue a warning if we notice the mounting of a filesystem that's
1713         likely just to be an automounter.
1715         * doc/find.texi, find/find.1:
1716         Explain how rounding is performed for -atime and friends.
1718         * xargs/xargs.c:
1719         Once we collect enough arguments (for the value specified by the -n
1720         option) to do an exec(), do it immediaely instead of waiting for the
1721         next one to arrive.  This fixes Savannah bug #7340.
1723         * ChangeLog, configure.in, NEWS: Prepare to release 4.2.8.
1725         * NEWS: Updates for 4.2.8.
1727         * configure.in: check for  sys/types.h
1729         * find/find.c:
1730         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.
1732         * find/defs.h:
1733         Declarations of xmalloc() and friends belong in xalloc.h, not in defs.h
1735         * find/parser.c: avoid signed/unsigned warning, and #include xalloc.h
1737         * find/fstype.c:
1738         Changed to alloc get_mounted_devices() to compile on Solaris
1740         * README-CVS:
1741         Automake requires GNU m4, so point out that the reader needs that.
1743         * find/defs.h, find/find.c, find/fstype.c:
1744         When wd_sanity_check() fails, enumerate the mounted devices, rather than the mounted filesystem names
1746         * NEWS: prepare for 4.2.8
1748         * configure.in:
1749         Look for some Solaris headers which are used by get_mounted_devices()
1751         * lib/Makefile.am: don't build savedirtypes yet
1753         * 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:
1754         updated po files
1756         * m4/nullsort.m4:
1757         Avoid suprious output of the test data when the tests fail.
1759 2004-11-21  James Youngman  <jay@gnu.org>
1761         * 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:
1762         Messages changed again
1764         * ChangeLog, configure.in: Preparing to release 4.2.7.
1766         * NEWS: Updated for release of 4.2.7.
1768         * import-gnulib.sh: Also need canonicalize module.
1770         * find/find.c:
1771         When checking to see if a filesystem has changed state, use an
1772         absolute pathname.
1774         * configure.in:
1775         No need to pause to allow James to view his handiwork, it (allegedly)
1776         works now.
1778         * configure.in:
1779         Oops.  Check for setlocale() to re-enable the i18n support which was
1780         accidentally disabled in 4.2.5.
1782         * find/find.c:
1783         Check to see if the new directory is a transitioned mount point by
1784         using its ABSOLUTE name, if we can figure it out.
1786         * doc/find.texi:
1787         Added guidance on some of the error messages.  Not the most common
1788         ones, but the ones where the user might most benefit from some handy
1789         hints or an explanation of what is going on.
1791         * find/pred.c:
1792         Actually emit an error message if we fail to stat a symlink (for
1793         reasons other than nonexistence of the link and infinite loop).
1795         * doc/texinfo.tex: Updated texinfo.tex
1797         * NEWS, configure.in, find/find.c, find/fstype.c:
1798         Enable the 'Warning: filesystem XXX has recently been mounted' check on Solaris, which prevents it exiting fatally when traversing an automount mount point
1800         * 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:
1801         messages changed again
1803         * NEWS: Implemented xargs --arg-file.
1805         * doc/find.texi, xargs/xargs.1, xargs/xargs.c, NEWS:
1806         Implemented xargs --arg-file
1808         * find/find.c:
1809         Where a filesystem was recently (un)mounted, try togive its full name
1811         * configure.in:
1812         Try to avoid requesting -lsun if we don't seem to need it (e.g. on
1813         UNICOS where it is not present and trying to link against it produces
1814         a warning).
1816         * find/defs.h, lib/modetype.h: Guard against multiple inclusion
1818         * find/fstype.c:
1819         We now need <mntent.h> even if we are not using getmntent() to figure
1820         out the type of a filesystem, because wd_sanity_check() needs to
1821         enumerate the system mount points.
1823         * configure.in: Next release will be 4.2.7.
1825         * find/fstype.c:
1826         get_mounted_filesystems() should use getmntent() if that function is
1827         present, rather than just if configure didn't find anything better for
1828         filesystem_type_uncached() to use than that.
1830         * find/parser.c:
1831         If -delete is the only action on a file, don't assume the default
1832         -print action too.
1834         * 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:
1835         Preparation to release findutils-4.2.6.
1837         * find/Makefile.am, xargs/Makefile.am:
1838         Enable checking of support for --version and --help
1840         * locate/Makefile.am:
1841         Con't check command-line options for frcode, code or bigram
1843         * locate/code.c: Support --version and --help.
1845         * ChangeLog: *** empty log message ***
1847         * find/defs.h, find/find.c, find/fstype.c, lib/Makefile.am, lib/extendbuf.c, lib/extendbuf.h, NEWS:
1848         Avoid fatal error if automount mounts a filesystem on a directory because we chdir()ed into it
1850         * configure.in: Next release will be 4.2.6.
1852         * find/find.1:
1853         Indicate that the '-' flag does work for most fields.   Also provide
1854         an example of using the comma operator to traverse the filesystem just
1855         once but search for more than one thing.
1857         * doc/find.texi: Indicate that the '-' flag does work for most fields.
1859 2004-11-19  James Youngman <jay@gnu.org>
1861         * configure.in: releaseing findutils-4.2.5
1863         * find/testsuite/Makefile.am, locate/testsuite/Makefile.am, xargs/testsuite/Makefile.am:
1864         If a directory has no Makefile.am, omit it from the parent's DIST_SUBDIRS - automake-1.9 requires this
1866         * 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:
1867         updated by make distcheck
1869         * ChangeLog, NEWS: Updated for release 4.2.5.
1871         * find/find.1, doc/find.texi:
1872         Tell the reader that format flags may not work as they expect.
1874         * configure.in:
1875         Use the correct name for the macro gl_AC_TYPE_LONG_LONG (not
1876         jm_AC_TYPE_LONG_LONG).
1878 2004-11-15  James Youngman <jay@gnu.org>
1880         * import-gnulib.sh:
1881         Avoid test -e because not all systems are POSIX-compliant (bug
1882         #11005).  Also don't need regex module any more if we're not building
1883         in intl.
1885         * Makefile.am, configure.in:
1886         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
1888         * doc/find.texi:
1889         Use @ref not @xref for a reference at the beginning of a sentence.
1891         * intl/Makefile.in:
1892         Make sure gnulib.lib is on the #include path (Savannah bug #11002)
1894         * locate/locate.c:
1895         Use base_name instead of basename - fixes Savannah bug 11003.
1897         * configure.in, find/defs.h, find/find.c, find/parser.c, find/pred.c, locate/bigram.c, locate/locate.c:
1898         Don't need banner to emphasise the location of the call to jy_SORTZ
1900 2004-11-12  James Youngman <jay@gnu.org>
1902         * 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:
1903         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]
1905 2004-11-11  James Youngman <jay@gnu.org>
1907         * NEWS, doc/find.texi, find/defs.h, find/find.1, find/find.c, find/parser.c:
1908         Implemented -H and -L options.
1910         * find/util.c: Added in the -H and -L options on the usage message.
1912 2004-11-10  James Youngman <jay@gnu.org>
1914         * doc/find.texi, find/find.1, find/parser.c, find/pred.c:
1915         Implemented %M and %A+ format specifiers
1917         * doc/find.texi, find/find.1, find/parser.c, find/pred.c:
1918         Documented the fact that only %d and %m format specifiers honour the various formatting flags
1920         * xargs/xargs.c:
1921         Get the right number of bytes in a Kilobyte (hint: it's not 1048; that
1922         was a typo, honest :)
1924         * po/pl.po: Applied Polish translations
1926 2004-11-08  James Youngman <jay@gnu.org>
1928         * 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:
1929         distcheck changed the po files again
1931         * locate/Makefile.am:
1932         Make install-data-hook honour the setting of DESTDIR so that "make
1933         DESTDIR=/tmp/foo install" works and puts localstater in the right
1934         place.
1936         * configure.in: We're now working on findutils-4.2.5.
1938         * doc/find.texi, xargs/xargs.1:
1939         Point out that xargs -i only splits input items at newlines
1941         * ChangeLog: Indicate that we released 4.2.4.
1943         * ChangeLog: Updated for release 4.2.4
1945         * NEWS, configure.in: Prepare for release of 4.2.4.
1947         * NEWS: Brought up to date with latest changes.
1949         * 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:
1950         Turn warning messages off by default if stdin is not a tty; allow these to be controlled explicitly by options -warn and -nowarn
1952         * po/et.po, po/it.po: Updated translation files
1954         * po/sk.po: New translation file
1956         * po/fr.po, po/nl.po, po/tr.po: Updated translation files
1958         * configure.in: Added Slovak (sk) language.
1960         * xargs/xargs.c:
1961         Enforcing a lower limit on the value specified by -s makes the test
1962         suite fail.  Removed that lower limit.
1964         * locate/Makefile.am: Oops, multilocate doesn't exist yet.
1966         * NEWS: *** empty log message ***
1968         * doc/find.texi, locate/updatedb.1, locate/updatedb.sh:
1969         Added option --findoptions to updatedb
1971         * locate/Makefile.am, locate/locatedb.5, locate/updatedb.1, xargs/xargs.1:
1972         Fixed section numbers in manpage titles and cross-references
1974         * NEWS, doc/find.texi, xargs/xargs.1, xargs/xargs.c:
1975         Increased the default argument length and improved POSIX compliance of the handling of out-of-range values for the -s option
1977 2004-11-07  James Youngman <jay@gnu.org>
1979         * m4/Makefile.am:
1980         Added in the extra files we need to distribute, nullsort.m4
1981         order-bad.bin order-good.bin
1983         * doc/find.texi: Documented locate's --limit option
1985         * locate/locate.1, locate/locate.c:
1986         Implmented --limit and corrected the implementation of the -i option.
1988 2004-11-06  James Youngman <jay@gnu.org>
1990         * NEWS, doc/find.texi, locate/locate.1:
1991         Documented --wholename and --basename and updated the NEWS file
1993         * README-CVS:
1994         Give the autogen commands in a form that you can usefully cut and paste into a shell
1996         * NEWS: Options --null and --count) for locate
1998         * lib/nextelem.c:
1999         Don't return '.' for an empty path element, because the path we are splitting may not be intended to contain directories
2001         * configure.in: we're working on findutils-4.2.4 now
2003         * locate/Makefile.am: Substitute @SORT_SUPPORTS_Z@
2005         * doc/find.texi:
2006         Documented new locate option --null and newline handling
2008         * locate/locate.1, locate/locate.c:
2009         New locate options --null, --wholename, --basename, --count
2011         * locate/frcode.c, locate/updatedb.1, locate/updatedb.sh:
2012         correctly handle newlines in the file names
2014         * configure.in: Determine if sort -z works
2016         * m4/nullsort.m4, m4/order-bad.bin, m4/order-good.bin:
2017         jy_SORTZ: a macro to determine if the system has a sort command with a working -z option
2019 2004-11-01  James Youngman <jay@gnu.org>
2021         * NEWS: Fixed "find -printf '%H\n'".
2023         * find/find.c:
2024         Avoid segfault if -printf %H is used where the matched file was the default, unspecified starting point, the current directory
2026 2004-10-31  James Youngman <jay@gnu.org>
2028         * find/find.1, find/parser.c: NetBSD also supports -d.
2030         * find/find.1, doc/find.texi:
2031         Documented the behaviour of -daystart and -follow in more detail
2033         * find/parser.c: Corrected the usage message.
2035         * find/parser.c:
2036         When deciding whether to issue a warning about options following
2037         non-options, ignore any options whose position affects the tests
2038         (i.e. -daystart and -follow).
2040         * find/parser.c: -daystart is a positional option like -follow.
2042         * find/parser.c:
2043         Issue a warning message if an option is specified after a test or an
2044         action (because the user might have believed that the behaviour of the
2045         option is in some way conditional on the preceding tests).
2047         * locate/updatedb.sh:
2048         Oops; removed some test code that I shouldn't have checked in.
2050         * locate/updatedb.sh:
2051         Indicate that the old locate database format will shortly be unsupported.
2053         * doc/find.texi:
2054         Use @direntry instead of hard-coding START-INFO-DIR-ENTRY inside @ifinfo.
2056         * locate/updatedb.1: Updated default location of locatedb file.
2058         * README-alpha:
2059         Updated to give correct FTP location and to not talk about "test"
2060         versions of automake, which are no longer required.
2062         * locate/updatedb.sh:
2063         Incorporated the default list of filesystems to avoid from the Debian
2064         package.  Also added /afs and /sfs to the default pruned paths.
2066         * configure.in: Released findutils 4.2.3
2068         * 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:
2069         did make distcheck, which updates these files
2071         * find/defs.h, find/fstype.c:
2072         Use const qualifier in arguments to filesystem_type() to allow callers with const variables to use them
2074         * ChangeLog: Updated.
2076         * NEWS: Added new news.
2078         * find/find.c:
2079         Extra diagnositcs for the case where we have the error "%s changed
2080         during execution of %s" - that is when we chdir back to the parent
2081         directory only to find that it has changed.
2083 2004-10-30  James Youngman <jay@gnu.org>
2085         * .cvsignore, NEWS, doc/find.texi, find/defs.h, find/find.1, find/parser.c, find/pred.c:
2086         Implemented the -quit action
2088         * NEWS, doc/find.texi, find/find.1, find/parser.c, find/pred.c:
2089         Refactored time handling routines in preparation for support of absolute timestamp comparison predicates
2091         * locate/locate.c:
2092         Applied Savannah patch #2952 ("getline off-by-one bugfix").
2094         * NEWS, doc/find.texi, find/defs.h, find/find.1, find/parser.c, find/pred.c:
2095         Added -delete action (Savannah patch #3454 with additions)
2097         * locate/locate.c:
2098         Applied Savannah patch #2692 (allowing get_short to process negative integers).
2100         * find/find.c:
2101         If we are iossuing an error message because $FIND_BLOCK_SIZE is set,
2102         ignore the setting of errno.
2104         * find/parser.c: More fixes for pedantic compiler warnings
2106         * NEWS, find/parser.c, find/tree.c: Eliminated some compiler warnings
2108         * find/find.c, find/parser.c, find/pred.c:
2109         Various fixes for compiler warninga sbout unreachable code or unused function arguments
2111         * intl/plural.y: Silence compiler warning about unused argument.
2113         * locate/testsuite/Makefile.am:
2114         Subdirectory "inputs" does not exist, so remove it from DIST_SUBDIRS.
2116         * locate/locate.c:
2117         Corrected the explanation of why we have to use no parentheses around
2118         the String argument to the N_ macro in its expansion.
2120         * configure.in: Nextr release is 4.2.3.
2122         * configure.in: IOndicate this is no longer the pristine release.
2124         * NEWS:
2125         Oops, comments for release 4.2.0 should have said 20480 bytes, not 2480.
2127         * lib/listfile.c:
2128         The -ls predicate should not truncate usernames.  Fixes Savannah bug #10800.
2130         * find/fstype.c, locate/locate.c:
2131         Fixes for Savannah bug #3727 (Intel icc compilation errors).
2133 2004-10-25  James Youngman <jay@gnu.org>
2135         * doc/find.texi, find/find.1, find/parser.c, find/pred.c:
2136         Support -printf %D, which prints the device number of the containing filesystem
2138         * locate/updatedb.sh:
2139         Avoid confusion between James Woods and James Youngman, by using the
2140         disambiguating surname.
2142         * find/parser.c: Use RE_ICASE instead of re->translate.
2144         * configure.in, find/parser.c, find/pred.c, xargs/xargs.c:
2145         No need to #define _GNU_SOURCE if we use gl_INIT.
2147 2004-10-24  James Youngman <jay@gnu.org>
2149         * ChangeLog: Prepared to release findutils-4.2.2.
2151         * 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:
2152         Updates prior to release of 4.2.2
2154         * NEWS: Updated with news for findutils-4.2.2.
2156         * 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:
2157         Corrected typo in the address of the FSF office
2159         * lib/strspn.c: Updated FSF address.
2161         * m4/.cvsignore: 'cvs status' should ignore Makefile.in
2163         * 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:
2164         Use gnulib-tool --import to import the gnulib code, rather than the odd way we were doing it before
2166         * 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:
2167         Work round an apparent compiler bug in HP-UX 11.23 for
2168         ia64
2170         * locate/locate.c:
2171         Work around what appears to be a C compiler bug in HP-UX 11.23 for
2172         ia64.
2174         * INSTALL, depcomp, install-sh, missing, mkinstalldirs:
2175         Updated from automake
2177         * locate/bigram.c, locate/code.c, locate/frcode.c, locate/locate.c, xargs/xargs.c, find/find.c:
2178         Avoid use of exit() within main, to silence warnings about unreachable code
2180 2004-10-22  James Youngman  <jay@gnu.org>
2182         * doc/find.texi: Syntax corrections.
2184         * doc/find.texi: Indicate that "-exec {}+" is not yet supported.
2186         * find/find.1: Indicate that "{}+" is not yet supported.
2188         * find/testsuite/find.gnu/name-period.xo, find/testsuite/find.gnu/name-period.exp, find/find.1, doc/find.texi:
2189         The -name predicate must allow '*' to match '.foo' as demanded by IEEE
2190         Std 1003.2-1992 Interpretation #126.
2192         * find/pred.c:
2193         Remove use of FNM_PERIOD for -name as demanded by IEEE Std 1003.2-1992
2194         Interpretation #126
2196         * find/parser.c: Fix for compilation (on AIX 4.3) with GCC 2.x.
2198         * xargs/xargs.c:
2199         Changed the erorr message issued when there is an unmatched quote to
2200         point out that the user might have wanted to use the -0 option instead.
2202 2004-10-17  James Youngman  <jay@gnu.org>
2204         * configure.in:
2205         Define intmax_t if it is not already defined - allows parser.c to compile on AIX 4.3
2207         * configure.in:
2208         Adjust version number to indicate that this s/w has moved on since the
2209         4.2.1 release.
2211         * configure.in: preparing to release 4.2.1
2213         * ChangeLog: updated with current changes
2215         * README-CVS: Updated to go with newer version of gnulib.
2217         * 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:
2218         preparation for release
2220         * NEWS: Mention the changes to "trap".
2222         * NEWS: Brought up to date.
2224         * import-gnulib.sh:
2225         Use xalloc-die module from gnulib, since that has now been split out
2227         * find/parser.c:
2228         Check fnmatch() when other predicates that rely on fnmatch() are used.
2230         * find/parser.c: bug #10701: find needs fnmatch sanitycheck on startup
2232 2004-10-16  James Youngman <jay@gnu.org>
2234         * import-gnulib.sh:
2235         Switch to requirement for GNU fnmatch because it supports FNM_CASEFOLD.
2237         * locate/updatedb.sh:
2238         Bug #9465: use of signal numbers for 'trap' is deprecated.  Should use
2239         names instead.  See
2240         http://www.opengroup.org/onlinepubs/009695399/utilities/trap.html,
2241         which indicates that support for signal numbers is optional, while
2242         support for signal names is mandatory.
2244         * configure.in:
2245         Indicate that this is the CVS version (once again) now that findutils
2246         4.2.0 has been released.
2248         * 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:
2249         findutils 4.1.20 check-in for tagging
2251 2004-10-02  James Youngman <jay@gnu.org>
2253         * po/Makefile.in.in:
2254         Search in $(top_srcdir) for mkinstalldirs, since that's where we keep it.
2256         * NEWS: Brought up to date, organised more clearly, and tidied up.
2258         * NEWS: brought up to date with recent changes
2260         * locate/testsuite/config/unix.exp, locate/testsuite/locate.gnu/ignore_case1.exp, locate/testsuite/locate.gnu/ignore_case3.exp, locate/updatedb.sh:
2261         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
2263         * find/pred.c:
2264         Fixed usage of human_readable() in '%k' format specifier to fix a bug
2265         reported by Dmitry V. Levin (arguments to human_readable() were
2266         specified in the wrong order, which resulted in a floating-point
2267         error).
2269 2004-08-08  James Youngman <jay@gnu.org>
2271         * locate/updatedb.sh:
2272         cd to / to avoid inability to examine the current directory if we're
2273         invoked via cron (and hence in root's home directory for example).
2275         * doc/find.texi, find/find.1:
2276         Deprecate -path and -ipath in favour of -wholename and -iwholename
2278         * find/parser.c:
2279         As per RMS's suggestion, deprecate -path and -ipath in favour of
2280         -wholename and -iwholename.
2282         * locate/locate.c:
2283         Fixed Savannah bug #9923, in which get_short() returns large positive
2284         ints when it should be returning negative shorts.
2286         * xargs/xargs.1:
2287         Applied documentation improvements suggested by Dan Jacobson
2288         <jidanni@jidanni.org>.
2290         * xargs/xargs.c:
2291         Don't check size_of_environment against arg_max since that causes the
2292         test suite to fail.
2294         * xargs/xargs.1, xargs/xargs.c: Better documentation for the -i option
2296 2004-05-03  James Youngman <jay@gnu.org>
2298         * find/find.1:
2299         document the various suffixes for -size and also the new 
2300         option -ignore_readdir_race
2302         * locate/locate.c:
2303         Fixes Savannah bug #8623 (failure to check consistency of data 
2304         read from locate database)
2306         * locate/updatedb.sh:
2307         Resolves Savannah bug 4380, that updatedb generates an empty
2308         database if one of the commands fails
2310         * NEWS: Talk about -ignore_readdir_race
2312         * doc/find.texi:
2313         Documented -ignore_readdir_race and -noignore_readdir_race
2315         * find/find.c:
2316         -ignore_readdir_race should have no effect if the reason for the
2317          failure of stat(2) was anything other than ENOENT.
2319         * find/defs.h, find/find.c, find/parser.c:
2320         Fixed Savannah bug 4391 (readdir race condition leading to 
2321         spurious error messages)
2323 2004-04-24  James Youngman <jay@gnu.org>
2325         * README-CVS: Corrected the instructions for getting gnulib via CVS.
2327 2004-04-13  James Youngman <jay@gnu.org>
2329         * doc/find.texi:
2330         Actioned Savannah bug #8558 (find complains when it tries to recurse
2331         into directories that it had removed).
2333 2004-03-13  James Youngman <jay@gnu.org>
2335         * ChangeLog: Updated from checkin comments.
2337         * find/find.c:
2338         Oops, there is no access to the predicate name table if DEBUG is 
2339         not #defined.
2341         * find/parser.c:
2342         Detect arithmetic overflow (poorly) in insert_time(), which diagnoses
2343         the failure to handle large arguments to -mtime.  The existing code
2344         does careful computation and then bungs the value into a time_t, which
2345         ruins all our careful effort.  The new code is not a great
2346         improvement.  We just check the result to detect overflow, rather than
2347         actually avoiding the overflow.
2349         * find/find.c:
2350         Fixed Debian bug #185202 by checking for any trailing predicates after
2351         the top-level invocation of get_expr() has done its work.
2353         * locate/locate.1, xargs/xargs.1:
2354         Fixed Debian bug 175372, inappropriate 'L' suffixes on manual 
2355         page section indicators
2357         * find/find.1:
2358         Removed "L" suffixes from manual page section indicators, to fix
2359         Debian bug 175372.
2361         * debian/updatedb.conf:
2362         Updated with list of filesystems from current Debian release.  This
2363         includes devfs, for example.
2365         * xargs/xargs.1:
2366         Modified documentation of "-s" option to take into account the fix for
2367         Debian bug #176201.
2369         * xargs/xargs.c:
2370         Fixed Debian bug #176201, "xargs enviroment size limited to 20k", by
2371         reading a patch offered by Bob Prolux and implementing something
2372         substantially similar myself.
2374 2004-01-03  James Youngman  <jay@gnu.org>
2376         * xargs/xargs.c:
2377         Indicate that prep_child_for_exec() fixes Savannah bug #3992.
2379         * xargs/xargs.c:
2380         Attach the stdin of xargs' child process to /dev/null so that if it
2381         tries to read from its stdin it doesn't consume any of the list of
2382         files that xargs is trying to use.
2384         * find/find.1:
2385         Documented that the -regex option follows Gnulib's re_match() 
2386         implementation.
2388         * NEWS, locate/locate.c: Applied Savannah patch 2108
2390         * xargs/xargs.c: Applied Savannah patch 1500
2392         * find/find.1, doc/find.texi:
2393         Improved the documentation for the %k and %b format specifiers to
2394         -printf (Savannah bug #5034).  Also pointed out that this handling is
2395         different to that used by the "b" and "k" suffixes with "-size".
2397         * find/find.1: Improved the documentation for %k (Savannah bug #5034).
2399         * find/find.1:
2400         Improved the documentation for -print0 in the manpage, fixing Debian
2401         bug 111143.
2403         * README-CVS, find/pred.c, lib/listfile.c:
2404         Brought up-to-date with change in gnulib's human.c - we no longer 
2405         use human_readable_inexact(), because it is no longer provided.
2407 2003-08-08  James Youngman  <jay@gnu.org>
2409         * find/find.1:
2410         Documented the fact that -printf also supports the '\0' escape code.
2411         Added "STANDARDS CONFORMANCE" section.
2413 2003-08-02  James Youngman  <jay@gnu.org>
2415         * find/find.1:
2416         Explain that braces are not special when performing filename matching
2417         with -name.
2419         * find/find.1:
2420         added example of the use of -exec to the EXAMPLES section
2422         * find/fstype.c, locate/locate.c:
2423         Savannah bug #4295 - implicit declarations of ctype.h functions
2425         * locate/locate.c:
2426         Savannah bug #4279 - missing newline on locate help message
2428         * find/find.1, xargs/xargs.1:
2429         Improved discussion of the -print0 option of find and the -0 option of xargs
2431 2003-06-26  James Youngman  <jay@gnu.org>
2433         * import-gnulib.sh:
2434         Remove reference to nonexistent module "basename" ("dirname" exists
2435         and we already use that).
2437 2003-06-21  James Youngman  <jay@gnu.org>
2439         * doc/find.texi:
2440         Indicate that xargs stops immediately if a command exits with status 255
2442         * xargs/xargs.1:
2443         Document the fact that xargs exits immediately with an error message
2444         if the command it executes exits with a status of 255.
2446 2003-06-18  James Youngman  <jay@gnu.org>
2448         * find/find.1:
2449         Indicate that -fls and friends always create their output file
2451 2003-06-16  James Youngman  <jay@gnu.org>
2453         * ChangeLog, find/find.1, locate/locate.1, locate/locatedb.5, locate/updatedb.1, xargs/xargs.1:
2454         Added BUGS section to manual pages.   This section includes information about known bugs and how to report new bugs.
2456         * AUTHORS: Identify the current maintainer.
2458         * TODO: Removed the TODO items which have now been done.
2460         * THANKS: Added Bruno Haible and Bob Prolux.
2462         * xargs/xargs.c: xargs/xargs.c (DO_MULTIBYTE): New macro.
2463         (mbstrstr): New function.
2464         (do_insert): Use it instead of strstr.
2466         * config.guess, config.sub:
2467         Use config.guess and config.sub from automake
2469         * find/fstype.c:
2470         Bruno Haible: (fstype_to_string) Don't define this function if
2471         HAVE_F_FSTYPENAME_IN_STATFS is defined.
2473         * configure.in:
2474         Bruno Haible: Prefer the 4.4BSD API (if present) to the 4.3BSD API,
2475         because some 4.4BSD systems have <mntent.h> but no /etc/mtab file.
2477         * doc/find.texi, find/find.1:
2478         Applied patch 1498 (documenting the backslash escape sequence)
2480         * locate/updatedb.sh: Applied (my own version of) Savannah patch 1601.
2482         * doc/find.texi:
2483         Applied Savannah patch #1547 (document the fact that printf
2484         field-width specifiers are supported).
2486         * xargs/xargs.c:
2487         Applied Savannah patch #1499 (adds final newline to usage message).
2489 2003-06-14  James Youngman  <jay@gnu.org>
2491         * NEWS, configure.in:
2492         Updated version number to 4.2.0-CVS [not ready for release yet]
2494         * 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
2495         also need stpcpy (e.g. for Solaris)
2497         * intl/dcigettext.c:
2498         plural_lookup: don't use a variable called "index", because we may
2499         have done "#define strchr index", in which case using a variable
2500         called index will prevent us calling strchr(p, ch) in the same scope.
2502         * 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:
2503         Updated copyright years and the address of the FSF
2505         * aclocal.m4, config.h.in, configure:
2506         Removed files that are generated from other files (e.g. configure)
2508         * NEWS: Updated NEWS file for 4.1.20.
2510         * 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:
2511         Updates to the i18n files to ensure that 'make dist' succeeds
2513         * lib/posix/.cvsignore, lib/posix/Makefile.am,
2514         lib/posix/Makefile.in, lib/posix/regex.h, lib/strftime.c,
2515         lib/strncasecmp.c, lib/strspn.c, lib/strstr.c, lib/strtol.c,
2516         lib/strtoul.c, lib/strtoull.c, lib/strtoumax.c, lib/wait.h,
2517         lib/waitpid.c, lib/xalloc.h, lib/xgetcwd.c, lib/xmalloc.c,
2518         lib/xstat.in, lib/xstrdup.c, lib/xstrtol.c, lib/xstrtol.h,
2519         lib/xstrtoul.c, lib/xstrtoul.h, lib/xstrtoumax.c, lib/yesno.c,
2520         locate/Makefile.am, locate/Makefile.in, locate/locate.c,
2521         locate/testsuite/Makefile.in, m4/.cvsignore, m4/ChangeLog,
2522         m4/Makefile.am, m4/Makefile.am.in, m4/Makefile.in, m4/README,
2523         m4/afs.m4, m4/assert.m4, m4/c-bs-a.m4, m4/check-decl.m4,
2524         m4/codeset.m4, m4/d-ino.m4, m4/d-type.m4, m4/error.m4,
2525         m4/fnmatch.m4, m4/fnmatchcase.m4, m4/fstypename.m4, m4/getline.m4,
2526         m4/gettext.m4, m4/glibc.m4, m4/glibc21.m4, m4/iconv.m4,
2527         m4/inttypes_h.m4, m4/isc-posix.m4, m4/jm-glibc-io.m4,
2528         m4/jm-macros.m4, m4/jm-mktime.m4, m4/lcmessage.m4, m4/libintl.m4,
2529         m4/link-follow.m4, m4/ls-mntd-fs.m4, m4/lstat-slash.m4,
2530         m4/lstat.m4, m4/malloc.m4, m4/mbstate_t.m4, m4/memcmp.m4,
2531         m4/prereq.m4, m4/progtest.m4, m4/readdir.m4, m4/realloc.m4,
2532         m4/regex.m4, m4/st_dm_mode.m4, m4/st_mtim.m4, m4/stat.m4,
2533         m4/strerror_r.m4, m4/strftime.m4, m4/timespec.m4, m4/uintmax_t.m4,
2534         m4/ulonglong.m4, m4/xstrtoumax.m4, xargs/Makefile.am,
2535         xargs/Makefile.in, xargs/testsuite/Makefile.in,
2536         find/testsuite/Makefile.in, lib/.cvsignore, lib/Makefile.am,
2537         lib/Makefile.in, lib/alloca.c, lib/ansi2knr.1, lib/ansi2knr.c,
2538         lib/argmatch.c, lib/argmatch.h, lib/basename.c, lib/basename.h,
2539         lib/dirname.c, lib/dirname.h, lib/error.c, lib/error.h,
2540         lib/fileblocks.c, lib/filemode.c, lib/filemode.h, lib/fnmatch.c,
2541         lib/fnmatch.h, lib/getline.c, lib/getline.h, lib/getopt.c,
2542         lib/getopt.h, lib/getopt1.c, lib/human.c, lib/human.h,
2543         lib/idcache.c, lib/malloc.c, lib/memcmp.c, lib/memcpy.c,
2544         lib/memset.c, lib/mktime.c, lib/modechange.c, lib/modechange.h,
2545         lib/pathmax.h, lib/quotearg.c, lib/quotearg.h, lib/realloc.c,
2546         lib/regex.c, lib/regex.h, lib/rpmatch.c, lib/savedir.c,
2547         lib/savedir.h, lib/stpcpy.c, lib/strcasecmp.c, lib/strdup.c,
2548         find/Makefile.am, find/Makefile.in, find/find.c, find/pred.c:
2549         Updated to work with current version of gnulib
2551         * import-gnulib.sh: New file.
2553         * config.h.in, configure, configure.in, doc/Makefile.in, import-gnulib.sh:
2554         Updated to work with current version of gnulib
2556         * README-CVS: New file.
2558         * Makefile.am, Makefile.in, README-CVS, aclocal.m4:
2559         Updated to work with current version of gnulib
2561 2001-06-09  Kevin Dalley  <kevin@seti.org>
2563         * intl/plural.c:
2564         Changes the location of bison.simple after running bison on local
2565         machine
2567         * ChangeLog: *** empty log message ***
2569         * Makefile.in, aclocal.m4, config.h.in, configure,
2570         doc/Makefile.in, find/Makefile.in, find/testsuite/Makefile.in,
2571         lib/Makefile.in, lib/posix/Makefile.in, locate/Makefile.in,
2572         locate/testsuite/Makefile.in, m4/Makefile.in, xargs/Makefile.in,
2573         xargs/testsuite/Makefile.in: Updates mostly from gettext-0.10.38
2575         * ABOUT-NLS: * ABOUT-NLS: updated from gettext-0.10.38.
2577         * configure.in: * configure.in: add tr to ALL_LINGUAS.
2579         * intl/config.charset, intl/dcigettext.c, intl/dcngettext.c,
2580         intl/dngettext.c, intl/libgnuintl.h, intl/localcharset.c,
2581         intl/locale.alias, intl/ngettext.c, intl/plural.y,
2582         intl/ref-add.sin, intl/ref-del.sin: updated from gettext-0.10.38
2584         * intl/cat-compat.c, intl/linux-msg.sed, intl/po2tbl.sed.in,
2585         intl/xopen-msg.sed, m4/ChangeLog: *** empty log message ***
2587         * m4/jm-macros.m4:
2588         * jm-macros.m4 (jm_MACROS): remove jm_ICONV, which is replaced by
2589         AM_ICONV, which is imported from gettext-0.10.38.  removed
2590         jm_GLIBC21, which is required in AM_GNU_GETTEXT, which is
2591         imported from gettext-0.10.38.
2593         * po/stamp-cat-id:      * stamp-cat-id: Remove file.
2595         * po/Makefile.in.in:    * Makefile.in.in: Upgrade to gettext-0.10.38.
2597         * po/ChangeLog:         * cat-id-tbl.c: Remove file.
2599         * po/de.po, po/es.po, po/et.po, po/fr.po:
2600         * fr.po, et.po, es.po, de.po: updated translations to
2601         findutils-4.1.7.
2603         * po/tr.po: * tr.po:  New Turkish translation.
2605         * m4/ChangeLog: *** empty log message ***
2607         * intl/dgettext.c, intl/explodename.c, intl/finddomain.c,
2608         intl/gettext.c, intl/gettext.h, intl/gettextP.h,
2609         intl/hash-string.h, intl/intl-compat.c, intl/l10nflist.c,
2610         intl/libgettext.h, intl/loadinfo.h, intl/loadmsgcat.c,
2611         intl/localealias.c, intl/plural.c, intl/textdomain.c,
2612         intl/ChangeLog, intl/Makefile.in, intl/VERSION,
2613         intl/bindtextdom.c, intl/dcgettext.c: Updated from gettext-0.10.38
2615         * m4/Makefile.am:
2616         reflects addition of codeset.m4 from gettext-0.10.38, automatically
2617         generated.
2619         * m4/codeset.m4, m4/gettext.m4, m4/glibc21.m4, m4/iconv.m4,
2620                 m4/isc-posix.m4, m4/lcmessage.m4, m4/progtest.m4: *
2621                 progtest.m4, lcmessage.m4, isc-posix.m4, iconv.m4,
2622                 glibc21.m4, gettext.m4, codeset.m4: updated from
2623                 gettext-0.10.38.
2625         * ChangeLog: *** empty log message ***
2627         * THANKS: added "Gerrit P. Haase" <gerrit.haase@t-online.de>
2629         * m4/ChangeLog, locate/testsuite/.cvsignore,
2630         xargs/testsuite/.cvsignore, config.h.in, configure, aclocal.m4,
2631         doc/.cvsignore: *** empty log message ***
2633         * m4/jm-macros.m4:      * jm-macros.m4 (jm_MACROS): add jm_FSTYPENAME
2635         * doc/Makefile.in: *** empty log message ***
2637         * doc/Makefile.am:
2638         * doc/Makefile.am (MOSTLYCLEANFILES): add find.cps, which is
2639         created by dvips.  This should be taken care of by automake, but
2640         the code is commented out.
2642 2001-06-09  Kevin Dalley  <kevin@seti.org>
2644         * ABOUT-NLS: updated from gettext-0.10.38.
2646         * configure.in: add tr to ALL_LINGUAS.
2648         * doc/Makefile.am (MOSTLYCLEANFILES): add find.cps, which is
2649         created by dvips.  This should be taken care of by automake, but
2650         the code is commented out.
2652 2001-06-05  Kevin Dalley  <kevin@seti.org>
2654         * locate/updatedb.sh: replace "whoami" with "id -u" when testing
2655         for root.
2657 2001-06-04  Kevin Dalley  <kevin@seti.org>
2659         * locate/testsuite/Makefile.am (DIST_SUBDIRS): remove second
2660         instance of DIST_SUBDIRS.
2662         * locate/Makefile.am (install-data-hook): changed install target
2663         to install-data-hook, which still installs other files.
2665         * doc/Makefile.am (MOSTLYCLEANFILES): added find.cps, which should
2666         probably be handled by automake.
2668         * doc/mdate-sh: removed file in doc directory.  It now exists only
2669         in top_srcdir, but this changed required a patch to automake.
2671 2001-05-20  Kevin Dalley  <kevin@seti.org>
2673         * Version 4.1.7
2674         
2675         * lib/Makefile.am (EXTRA_DIST): add strcasecmp.c
2677         * find/testsuite/Makefile.am (EXTRA_DIST): new tests:
2678         find.gnu/name-opt.exp find.gnu/perm.exp find.gnu/perm.xo
2679         find.gnu/prune-default-print.exp find.gnu/prune-default-print.xo
2681         * configure.in: update to 4.1.7
2683         * config.sub, config.guess: upgraded to recent versions of
2684         config.sub and config.guess.
2686         * locate/updatedb.sh: Add space to "#! /bin/sh"
2688         * configure.in: Add id to ALL_LINGUAS
2690         * lib/Makefile.am (EXTRA_DIST):  getline.[ch] added
2691         (libfind_a_SOURCES): getline.[ch] removed since getline.c is not
2692         always needed.
2694 2001-05-20  Lionel CONS <lionel.cons@cern.ch>
2696         * find/find.c: Fixed security holes.  1.  There is a race
2697         condition between the lstat() to detect a symbolic link and the
2698         actual chdir().  2.  An attacker can move directories while find
2699         is _inside_ so that chdir(..) goes out of the intended file tree.
2701         * lib/modetype.h: support for Solaris door files is added.
2703         * lib/filemode.c: S_ISDOOR is undef'ed if STAT_MACROS_BROKEN
2705         * find/pred.c (pred_type): -D option (for Solaris door files) is
2706         added.
2708         * find/parser.c (insert_type):  -D option (for Solaris door files)
2709         is added. 
2711         * find/find.1: -D option (for Solaris door files) is documented
2713         * doc/find.texi (Type): -D option (for Solaris door files) is
2714         documented
2716 2001-05-02  Kevin Dalley  <kevin@seti.org>
2718         * configure.in: Change AC_CHECK_MEMBERS to conform to new
2719         autoconf.  Add Danish.
2721 2001-01-20  Kevin Dalley  <kevin@seti.org>
2723         * doc/find.texi (Adding Tests): Place space in "#! /bin/sh".
2725         * find/testsuite/find.gnu/prune-default-print.xo,
2726         find/testsuite/find.gnu/prune-default-print.exp: test for "find
2727         . -prune" which passes after changes.  Also see name-opt.exp.
2729         * find/util.c (get_new_pred):
2730         * find/tree.c (set_new_parent):
2731         * find/parser.c (various parse functions):
2732         * find/find.c (main): 
2733         (default_prints): new function 
2734         * find/defs.h (struct predicate): added no_default_print
2735         side_effects are no separated from no_default_print.  predicates
2736         which cause side effects should not be reordered (optimized).
2737         predicates which cause printing should have printing turned off.
2738         Printing statements also cause side effects.
2740 2000-10-29  Bruno Haible <haible@ilog.fr>
2742         * locate/code.c (main), doc/find.texi: improve handling of
2743         non-ASCII characters used old format.
2745 2000-10-21  Paul Eggert  <eggert@twinsun.com>
2747         If open + fchdir fails, fall back on xgetcwd + chdir.
2748         The old code tested for this at compile-time,
2749         but SunOS 4.1.4 fchdir can fail at run-time.
2751         * find/defs.h (fchdir): Define to -1 if not available.
2752         * find/defs.h (starting_dir, starting_desc):
2753         Always declare.  starting_dir now points to const.
2754         * find/find.c (starting_dir, starting_desc): Likewise.
2755         * find/find.c (starting_dir):
2756         Now "." if starting_desc is nonnegative, for benefit of diagnostics.
2757         (main, process_top_path, process_dir):
2758         If open + fchdir fails, fall back on xgetcwd + chdir.
2759         * find/pred.c (launch): Likewise.
2761 2000-10-20  Kevin Dalley  <kevin@seti.org>
2763         * xargs/xargs.c, locate/updatedb.sh, locate/locate.c (usage),
2764         find/parser.c (parse_help): add bug reporting address to help
2766 2000-10-13  Kevin Dalley  <kevin@seti.org>
2768         * depcomp, lib/depcomp: depcomp moved from lib to .
2770 2000-10-11  Kevin Dalley  <kevind@rahul.net>
2772         * Version 4.1.6
2773         
2774         * locate/testsuite/config/unix.exp: set PRUNEFS to "" for the
2775         testsuite. 
2777 2000-10-10  Bruno Haible <haible@ilog.fr>
2779         * lib/Makefile.am (libfind_a_SOURCES): added yesno.c
2781         * lib/yesno.c, lib/rpmatch.c: new files.
2783         * find/pred.c: use function yesno().
2785 2000-10-10  Kevin Dalley  <kevind@rahul.net>
2786         
2787         * locate/testsuite/Makefile.am: Added missing \ at end of
2788         EXTRA_DIST lines.
2790         * locate/testsuite/locate.gnu/ignore_case3.xo,
2791         locate/testsuite/locate.gnu/ignore_case3.exp,
2792         locate/testsuite/locate.gnu/ignore_case2.exp,
2793         locate/testsuite/locate.gnu/ignore_case1.xo,
2794         locate/testsuite/locate.gnu/ignore_case1.exp: place locatedb
2795         inside tmp directory, add subdir directory under tmp.
2797         * locate/testsuite/config/unix.exp: clean up tmp after test is
2798         finished. 
2800 2000-10-10  Kevin Dalley  <kevind@rahul.net>
2802         * locate/testsuite/config/unix.exp (Repository): 
2804 2000-10-09  Kevin Dalley  <kevind@rahul.net>
2806         * lib/fnmatch.c, lib/fnmatch.h: reverted to older version of
2807         fnmatch which works with Solaris.
2809         * locate/testsuite/config/unix.exp: dejagnu unix.exp
2811         * xargs/testsuite/config/unix.exp: remove temporary file
2813         * xargs/xargs.c: spelling correction
2815         * m4/prereq.m4: updated and changed some macros
2817         * m4/jm-macros.m4: replaced jm_FUNC_FNMATCH with
2818         kd_FUNC_FNMATCH_CASE_REPL 
2820         * m4/timespec.m4, m4/strerror_r.m4, m4/mbstate_t.m4,
2821         m4/largefile.m4, m4/gettext.m4, m4/fnmatchcase.m4, m4/d-type.m4,
2822         m4/d-ino.m4, m4/c-bs-a.m4: new m4 macros.
2824         * m4/Makefile.am: add fnmatchcase.m4 and mbstate_t.m4
2826         * locate/testsuite/locate.gnu/ignore_case3.xo,
2827         locate/testsuite/locate.gnu/ignore_case3.exp,
2828         locate/testsuite/locate.gnu/ignore_case2.xo,
2829         locate/testsuite/locate.gnu/ignore_case2.exp,
2830         locate/testsuite/locate.gnu/ignore_case1.xo,
2831         locate/testsuite/locate.gnu/ignore_case1.exp,
2832         locate/testsuite/config/unix.exp: tests related to "--ignore-case"
2833         option.
2835         * locate/testsuite/locate.gnu: testsuite directory
2837         * locate/testsuite/Makefile.am (Repository): 
2839         * locate/testsuite: add directory for locate testsuite
2841         * po/findutils.pot: updated file
2843         * po/sv.po, po/ru.po, po/pt_BR.po, po/pl.po, po/nl.po, po/ko.po,
2844         po/it.po, po/gl.po, po/fr.po, po/et.po, po/es.po, po/de.po:
2845         updated various po files.
2847         * locate/updatedb.sh: export TMPDIR, which is used by child
2848         processes.
2850         * locate/locate.1, locate/locate.c:  add "--ignore-case" option.
2852         * locate/Makefile.am: add testsuite subdirectory
2854         * find/testsuite/find.gnu/perm.xo,
2855         find/testsuite/find.gnu/perm.exp,
2856         find/testsuite/find.gnu/name-opt.xo,
2857         find/testsuite/find.gnu/name-opt.exp: added test suites
2859         * configure.in: add locate/testsuite/Makefile
2861         * doc/find.info*: removed from repository
2863         * doc/find.texi: add documentation for "-i" option.
2865         * aclocal.m4: removed from repository, as it is generated.
2867         * find/pred.c: fixes problem with "find -perm -0100".
2869         * lib/lstat.c, lib/stat.c: removed from repository.  These files
2870         are generated from lib/xstat.in.
2872 2000-08-24  Kevin Dalley  <kevind@rahul.net>
2874         * doc/find.texi (Invoking xargs): changed @var{-s} to @samp{-s}.
2876 2000-05-13  Kevin Dalley  <kevind@rahul.net>
2878         * find/tree.c (opt_expr): move iname and ipath to the front of the
2879         list of arguments.
2881         * doc/find.texi (Directories): changed wording for "-prune".
2883         * find/parser.c (parse_prune): set side_effects to true, to
2884         prevent prune from being moved in opt_expr.
2886 2000-04-12  Kevin Dalley  <kevind@rahul.net>
2888         * doc/find.texi, doc/permi.texi: fix spellings, add LocalWords.
2890         * lib/Makefile.am: put getline.c back into libfind_a_SOURCES,
2891         since getstr is needed.
2893         * Version 4.1.5
2894         
2895         * po/POTFILES.in: updated list of files, updated po files.
2898 2000-04-02  Paul Eggert  <eggert@twinsun.com>
2900         Add support for large files, and port to Solaris 8 and earlier
2901         versions.
2903         * lib/human.c (getenv): Depend on NEED_GETENV_DECL, not
2904         HAVE_DECL_GETENV.
2906         * lib/strftime.c (my_strftime): Make sure we call the system
2907         strftime, not ourselves, when invoking the underlying strftime.
2908         
2909         * m4/check-decl.m4 (jm_CHECK_DECLS): Remove memchr, nanosleep.
2911         * m4/jm-macros.m4 (jm_MACROS): Don't check for utime.h.  Do not
2912         require jm_BISON, jm_CHECK_TYPE_STRUCT_UTIMBUF, jm_FUNC_LCHOWN,
2913         jm_FUNC_CHOWN, jm_FUNC_NANOSLEEP, jm_FUNC_GROUP_MEMBER,
2914         jm_FUNC_PUTENV, jm_FUNC_GETGROUPS, AM_FUNC_GETLOADAVG,
2915         jm_SYS_PROC_UPTIME, jm_FUNC_FTRUNCATE, jm_FUNC_UTIME.  Do not
2916         replace strcasecmp, dup2, gethostname, getusershell, stime,
2917         strcspn, strpbrk, euidaccess, mkdir, rmdir, rpmatch, strndup,
2918         strverscmp, memchr, memmove.  Do not check for declaration of
2919         lchown.  Remove invocations of AM_FUNC_OBSTACK, AM_FUNC_STRTOD,
2920         POW_LIBM, jm_LANGINFO_CODESET, jm_ICONV.  Remove df tests.
2921         (jm_CHECK_ALL_TYPES): Include <sys/stat.h> when checking for
2922         struct stat.st_blksize.
2924         * m4/strftime.m4 (jm_FUNC_GNU_STRFTIME): Set environment variable
2925         in shell rather than using putenv, which isn't portable.
2926         
2927         * COPYING, lib/alloca.c, lib/dirname.c, lib/error.c,
2928         lib/savedir.c, lib/strstr.c, m4/check-decl.m4, m4/d-ino.m4,
2929         m4/d-type.m4, m4/getline.m4, m4/jm-glibc-io.m4, m4/jm-macros.m4,
2930         m4/jm-mktime.m4, m4/ls-mntd-fs.m4, m4/memcmp.m4, m4/prereq.m4,
2931         m4/readdir.m4, m4/regex.m4, m4/strftime.m4, m4/uintmax_t.m4: Sync
2932         to latest version from sh-utils-2.0g.
2934         * config.guess, config.sub, lib/argmatch.c, lib/argmatch.h,
2935         lib/human.c, lib/human.h, lib/memcpy.c, lib/quotearg.c,
2936         lib/quotearg.h, lib/strtoull.c, lib/strtoumax.c,
2937         lib/xstrtoumax.c, m4/c-bs-a.m4, m4/gettext.m4,
2938         m4/largefile.m4, m4/lcmessage.m4, m4/link-follow.m4,
2939         m4/progtest.m4, m4/strerror_r.m4, m4/timespec.m4,
2940         m4/xstrtoumax.m4: New files, taken from sh-utils-2.0g.
2942         * lib/ansi2knr.1, lib/ansi2knr.c, lib/basename.c, lib/getopt.h,
2943         lib/fnmatch.c, lib/fnmatch.h, lib/modechange.c: Sync to latest
2944         unreleased version of GNU tar (between 1.13.17 and 1.13.18).
2946         * lib/basename.h, lib/waitpid.c: New files, taken from same
2947         version of GNU tar.
2948         
2949         * lib/regex.c, lib/regex.h: Sync to GNU grep 2.4.2.
2951         * lib/posix/Makefile.am, lib/posix/regex.h: New files, taken from
2952         GNU grep 2.4.2.
2954         * lib/strftime.c: Sync to textutils 2.0e.
2955         
2956         * acconfig.h, depcomp, lib/strcasecmp.c, m4/check-type.m4,
2957         m4/const.m4, m4/decl.m4, m4/lfs.m4, m4/mktime.m4, m4/perl.m4,
2958         m4/putenv.m4, m4/uptime.m4, m4/utimbuf.m4, m4/utime.m4,
2959         m4/utimes.m4: Remove these files; no longer needed.
2961         * configure.in (AC_CANONICAL_HOST, AC_SYS_LARGEFILE,
2962         jm_AC_TYPE_UINTMAX_T): Add.
2963         (CACHE_IDS, FSTYPE_STATVFS, FSTYPE_USG_STATFS, FSTYPE_AIX_STATFS,
2964         FSTYPE_MNTENT, FSTYPE_STATFS, FSTYPE_GETMNT): Add comment, so that
2965         we don't need acconfig.h.
2966         (AC_CHECK_TYPE): Add ssize_t.
2967         (AC_REPLACE_FUNCS): Add waitpid.
2968         (AC_CHECK_FUNCS): Remove basename.
2969         (AC_FUNC_MKTIME): Remove.
2970         (LIBOBJS): Add no-ops to work around automake 1.4 bug.
2971         (AC_OUTPUT): Add lib/posix/Makefile.
2973         * find/defs.h: Include <config.h>, <sys/types.h>, <sys/stat.h>,
2974         <stdio.h>, <limits.h>, <inttypes.h>.  All includers changed to not
2975         include these files, and to include "defs.h" first (since config.h
2976         must be included first).
2977         (CHAR_BIT, S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IWUSR, S_IXUSR,
2978         S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH, MOD_WXUSR,
2979         MODE_R, MODE_RW, MODE_RWX, MODE_ALL): New macros.
2980         (enum permissions_type): New enum.
2981         (struct long_val.negative): New member.
2982         (struct long_val.l_val): Now uintmax_t, not unsigned long.
2983         (struct size_val.size): Likewise.
2984         (struct perm_val): New type.
2985         (struct predicate.perm): Now struct perm_val, not unsigned long.
2986         (struct predicate.type): Now mode_t, not unsigned long.
2987         (list_file): New parameters current_time, output_block_size.
2988         All callers changed.
2989         (savedir, basename): Remove decls.
2990         (output_block_size, start_time): New extern vars.
2992         * find/find.c: Include <human.h>, <savedir.h>.
2993         (output_block_size, start_time): New vars.
2994         (main): Initialize them.  No need to check for negative st_size,
2995         since savedir now does it for us.
2997         * find/fstype.c: Include "dirname.h".
2998         (xatoi): Remove.
2999         (filesystem_type_uncached): Use xstrtoumax instead of xatoi.
3000         
3001         * find/parser.c: Include "xstrtol.h".
3002         (get_num_days, get_num, parse_amin, parse_cmin, parse_mmin,
3003         parse_size, parse_used, insert_time, insert_num): Compute using
3004         uintmax_t, not unsigned long.
3005         (parse_amin, parse_cmin, parse_mmin, parse_used, insert_time):
3006         Keep track of whether time was negative before converting it to an
3007         unsigned type.
3008         (parse_daystart): Don't assume that localtime succeeds; e.g. it
3009         can fail with 64-bit time_t and 32-bit tm_year.
3010         (parse_perm, insert_type): Compute using mode_t, not unsigned
3011         long.
3012         (insert_type): Use symbolic constants like MODE_ALL instead of
3013         traditional ones like 07777.  Set new kind member to indicate
3014         permissions type, instead of using unportable magic numbers.
3015         (make_segment): We will use human_readable to convert most numeric
3016         values, so simplify the cases.
3017         (get_num_days): Write in terms of get_num, to avoid duplicated
3018         code.
3019         (insert_time, insert_num): When debugging, convert large values to
3020         uintmax_t and output with %ju.
3021         (get_num): Use xstrtoumax to do the real work.
3023         * find/pred.c: Include "basename.h", "human.h".
3024         (DEV_BSIZE, ST_BLKSIZE, ST_NBLOCKSIZE): New macros, taken from
3025         fileutils.
3026         (ST_NBLOCKS): Replace with fileutils defn.
3027         (MAX): New macro.
3028         (ctime_format): New function.
3029         (pred_fprintf, format_date): Use human_readable to output large
3030         numbers portably.
3031         (pred_fprintf): Use ctime_format to output ctime-style dates.  Use
3032         base_name to compute the base name of a path.  With %m, output the
3033         mode portably using traditional numbers, even if the host uses
3034         some other numbering scheme.
3035         (pred_iname, pred_name): basename -> base_name.
3036         (pred_perm): Use new kind member to deduce permissions type,
3037         instead of relying on magic numbers.
3038         (pred_size): Compute using uintmax_t, not unsigned long.  Avoid
3039         overflow if file size is near the maximum.
3040         (pred_type): Compute using mode_t, not unsigned long.
3041         (launch): Use waitpid, not wait.  Check for EINTR.
3042         (format_date): Don't assume that localtime succeeds.
3044         * find/util.c (basename): Remove; we now use base_name.
3046         * lib/Makefile.am (SUBDIRS): New macro.
3047         (libfind_a_SOURCES): Add argmatch.h, argmatch.c, basename.h,
3048         basename.c, human.c, human.h, quotearg.c, quotearg.h, xstrtoumax.c.
3049         Remove error.h, error.c, getline.c.
3050         (EXTRA_DIST): Add mktime.c, regex.c.
3052         * lib/listfile.c: Include "human.h".
3053         (alloca): Declare, or include appropriate files to declare.
3054         (DEV_BSIZE, ST_NBLKSIZE, ST_NBLOCKS, ST_NBLOCKSIZE): New macros.
3055         (convert_blocks): Remove.
3056         (list_file): New current_time and output_block_size args.
3057         Revamp quite a bit, to handle large numbers correctly
3058         and to match GNU ls behavior more closely.
3060         * m4/Makefile.am (EXTRA_DIST): Add c-bs-a.m4, gettext.m4,
3061         largefile.m4, lcmessage.m4, link-follow.m4, progtest.m4,
3062         strerror_r.m4, xstrtoumax.m4.  Remove check-type.m4, const.m4,
3063         decl.m4, lfs.m4, mktime.m4, perl.m4, putenv.m4, timespec.m4,
3064         uptime.m4, utimbuf.m4, utime.m4, utimes.m4.
3066         * xargs/xargs.c (wait_for_proc): Retry wait if it fails with
3067         errno == EINTR.
3069 2000-04-05  Kevin Dalley  <kevind@rahul.net>
3071         * xargs/Makefile.am:  add ansi2knr
3073         * xargs/xargs.c: add macros PARAMS rather than P_.  Add
3074         prototypes.
3076         * po/POTFILES: new file listing all POFILES.
3078         * m4/gl.po, m4/et.po: new files
3080         * m4/Makefile.am.in:  updated file
3082         * m4: update directory
3084         * locate/Makefile.am: create updatedb from updatedb.sh
3086         * locate/updatedb.sh, locate/updatedb.in: removed file.  Replaced
3087         by updatedb.sh
3089         * locate/frcode.c, locate/code.c, locate/bigram.c: add macros
3090         PARAMS rather than P_.  Add prototypes.
3092         * lib/xstat.in: new file
3094         * lib/Makefile.am: update to latest versions of library files.
3096         * find/testsuite/Makefile.am: add CLEANFILES
3098         * find/util.c: remove definition of basename
3099         
3100         * find/util.c, find/tree.c, find/pred.c, find/parser.c,
3101         find/fstype.c, find/find.c, find/defs.h: add macros PARAMS rather
3102         than P_, for consistency, change to prototypes
3104         * find/Makefile.am: Add prototypes and ansi2knr
3106         * configure.in: add Galition and Estonian languages.
3107         Miscellaneous other fixes.
3108         
3110 2000-03-11  Kevin Dalley  <kevind@rahul.net>
3112         * lib/basename.c: Add file from libit.
3113         * lib/Makefile.am (libfind_a_SOURCES): add basename.c since it is
3114         no longer replaceable.
3116         * find/util.c: Remove definition of basename, which is now in
3117         lib/basename.c (as base_name).
3118         * find/pred.c: Use base_name, not basename.
3119         * find/defs.h: Likewise.
3121         * configure.in : Don't replace basename.  Now we use only
3122         base_name.
3124 2000-02-26  Kevin Dalley  <kevind@rahul.net>
3126         * Version 4.1.4
3127         
3128         * lib/strtoul.c: added to distribution
3129         
3130         * configure.in: added strtoul to AC_REPLACE_FUNCS
3132         * configure.in: added jm_CHECK_ALL_TYPE
3134 2000-02-23  Kevin Dalley  <kevind@rahul.net>
3136         * po/ChangeLog: removed, merged with top-level ChangeLog.
3137         
3138         * po/de.po: new version of German file.
3139         
3140         * po/gl.po, po/et.po: new languages, Estonian and Galician.
3142         * locate/updatedb.sh (PRUNEFS): enclose paths in quotes
3144 2000-02-17  Kevin Dalley  <kevind@rahul.net>
3146         * po/it.po: new version of Italian file.
3147         
3148         * locate/updatedb.sh (prunefs_exp): have sed statement use '*'
3149         rather than the often unsupported '+'.
3151 2000-02-13  Kevin Dalley  <kevind@rahul.net>
3153         * configure.in: removed AC_ARG_PROGRAM, which is already in
3154         AM_INIT_AUTOMAKE. 
3156         * locate/Makefile.am (updatedb), locate/updatedb.sh: add
3157         transforms of find, frcode, bigram, and code back into
3158         updatedb.sh, which were accidentally removed.
3160 2000-02-12  Kevin Dalley  <kevind@rahul.net>
3162         * lib/wait.h: updated address.
3164 2000-01-26  Kevin Dalley  <kevind@rahul.net>
3166         * Version 4.1.3
3168         * acconfig.h: added internationalization.
3170         * intl/*: copied from tar-1.13.17.
3172         * locate/Makefile.am, locate/locate.c, locate/code.c:
3173         internationalized file.
3175         * locate/frcode.c, locate/bigram.c: include headers from ../lib
3176         directory.
3178         * xargs/Makefile.am, xargs/xargs.c: internationalized directory.
3180 2000-01-26  Kevin Dalley  <kevind@rahul.net>
3182         * POTFILES.in: added list of files with translatable strings.
3184         * de.po, es.po, fr.po, it.po, ko.po, nl.po, pl.po, pt_BR.po,
3185         ru.po, sv.po: New, slightly out of date, files imported from the
3186         Translation Project: http://www.iro.umontreal.ca/contrib/po/HTML/,
3187         German, Spanish, French, Italian, Korean, Dutch, Polish, Brazilian
3188         Portuguese.
3191 2000-01-24  Kevin Dalley  <kevind@rahul.net>
3193         * lib/xmalloc.c, lib/regex.c, lib/getopt.c: internationalization
3194         works with current version of gettext.
3196         * lib/getline.h : added declaration of getstr.
3197         * lib/Makefile.am (libfind_a_SOURCES): added getline.[ch] to
3198         standard compilation. Added internationalization.
3199         * find/Makefile.am (INCLUDES): corrected -I options for building
3200         in other directories.
3201         (LDADD): changes for internationalization.
3203         * configure.in (ALL_LINGUAS): added internationalization. 
3204         getline.c is always compiled and linked, because of getstr.
3205         AM_GNU_GETTEXT
3207         * Makefile.am: 
3208         (DISTCLEANFILES): added intl/libintl.h
3209         (AUTOMAKE_OPTIONS): added gnits to AUTOMAKE_OPTIONS
3210         (SUBDIRS): added intl and po
3212         * acconfig.h: added internationalization values
3214         * THANKS: added thanks file for gnits compatibility.
3216 2000-01-22  Kevin Dalley  <kevind@rahul.net>
3218         * added intl directory.
3220         * Added internationalization, only with slightly out of date po
3221         files for many locales.
3223 2000-01-18  Kevin Dalley  <kevind@rahul.net>
3225         * Version 4.1.2
3226         
3227         * locate/Makefile.am: remove creation of updatedb, since it is now
3228         made by configure
3230         * configure.in: updatedb is now created by configure.
3232         * xargs/Makefile.am: added testsuite to xargs directory
3234         * locate/updatedb.in: updatedb is now created by configure
3236         * locate/frcode.c, locate/code.c, locate/bigram.c: change return
3237         from main to int.  Replace getstr with getline, where possible.
3239         * locate/Makefile.am: place frcode, code, bigram in
3240         libexec_PROGRAMS
3242         * lib/xstrdup.c, lib/xmalloc.c, lib/xgetcwd.c, lib/xalloc.h,
3243         lib/strtol.c, lib/strstr.c, lib/strftime.c, lib/strdup.c,
3244         lib/stpcpy.c, lib/stat.c, lib/savedir.h, lib/savedir.c,
3245         lib/regex.h, lib/regex.c, lib/realloc.c, lib/pathmax.h,
3246         lib/modechange.h, lib/modechange.c, lib/mktime.c, lib/memset.c,
3247         lib/memcmp.c, lib/malloc.c, lib/lstat.c, lib/idcache.c,
3248         lib/getopt1.c, lib/getopt.c, lib/getopt.h, lib/getline.c,
3249         lib/getline.h, lib/fnmatch.c, lib/fnmatch.h, lib/filemode.c,
3250         lib/filemode.h, lib/fileblocks.c, lib/error.c, lib/error.h,
3251         lib/dirname.c, lib/alloca.c: updated to newer version of file from
3252         fileutils.
3254         * find/version.c: version number is now automatically generated by
3255         configure.
3257         * find/fstype.c (filesystem_type_uncached): fixes bug described as
3258         follows:  When 'find' looks for a fstype, it parses the /etc/mtab
3259         until it finds the good line. But, if there is, before the good
3260         line, a line whose mountpoint is unreachable, it fails.
3262         * doc/texinfo.tex: updated to newer version
3264         * doc/find.texi: added version.texi, fixed a few documentation bugs.
3266         * configure.in: new m4 features.
3268         * Makefile.am: moved testsuite to below corresponding directories
3269         find and xargs.
3271         * acconfig.h: updated to match new m4 files.
3273         * m4: added m4 directory, largely borrowed from Jim Meyering's
3274         fileutils.
3276 2000-01-17  Kevin Dalley  <kevind@rahul.net>
3278         * doc/find.texi (Multiple Files): placed missing xargs in examples
3280         * find/testsuite/find.gnu/depth.exp: added find tests to test
3281         "-depth" bug.
3283         * doc/find.texi: include version.texi for automatic determination
3284         of version number, update bug report email address to
3285         bug-findutils@gnu.org.
3286         (Combining Primaries With Operators): add indices for " ,", "()",
3287         "-a", "-o", etc.
3289 2000-01-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3291         * find/tree.c (opt_expr): Never rearrange the arguments of the
3292         comma operator, since it is not commutative.  Remove useless
3293         assignment.2
3294         
3295 2000-01-17  Jonathan R. Ferro <jferro@corwin.ece.cmu.edu>
3296         
3297         * find/find.c (process_path): fix problem with "-depth" which is
3298         tested in depth.exp test.
3300 1999-08-15  Kevin Dalley  <Kevin Dalley <kevin@seti.org>>
3302         * find/fstype.c (filesystem_type_uncached): a stat failure with
3303         EACCESS will ignore this file system keep on looking.  Patch
3304         suggested by Vincent Danjean <vdanjean@ens-lyon.fr>.
3306 1999-08-15  Mark Kettenis  <kettenis@gnu.org>
3308         * xargs/xargs.c (LONG_MAX): Define if necessary.
3309         (main): If ARG_MAX is -1 (that is sysconf
3310         (_SC_ARG_MAX) returns -1) the system does not impose a limit.  In
3311         that case, use LONG_MAX as the limit.
3312         
3313 1999-08-15  Kevin Dalley  <Kevin Dalley <kevind@rahul.net>
3315         * find/version.c: version string is now set by config.h
3317 1999-08-08  Kevin Dalley  <kevin@seti.org>
3319         * Version 4.1.1
3321         * README-alpha: added alpha README file
3323         * find/defs.h: move lstat declarations into defs.h
3325         * xargs/Makefile.am, testsuite/Makefile.am, locate/Makefile.am,
3326         lib/Makefile.am, find/Makefile.am, doc/Makefile.am, configure.in,
3327         Makefile.am: update for automake-1.4
3329 1999-08-02  Kevin Dalley  <kevind@rahul.net>
3331         * AUTHORS: added file listing AUTHORS
3333         * lib/Makefile.am: modified code for EXTRA sources
3334         
3335 1999-01-30  Kevin Dalley  <kevind@rahul.net>
3337         * added const to declaration of basename, which should satisfy
3338         Linux as well as Hurd (fixes bug #31325).
3339         
3340 1998-12-04  Kevin Dalley  <kevind@rahul.net>
3341         
3342         * lib/nextelem.c: removed declaration of strdup and free, which
3343         meets GNU coding standards and allows compilation on more
3344         platforms.
3345         
3346         * find.texi: corrected explanation of -amin option which described
3347         hours instead of minutes
3348         
3349 1998-09-26  Kevin Dalley  <kevind@rahul.net>
3350         
3351         * lib/getline.c: fix getstr so that it correctly handles long file
3352         paths
3353         
3354 1998-09-20  Kevin Dalley  <kevind@rahul.net>
3355         
3356         * removed more function declarations to meet GNU coding standards
3357         
3358 1998-08-30  Kevin Dalley  <kevind@rahul.net>
3359         
3360         * lib/nextelem.c: removed declaration of strdup and free, which
3361         meets GNU coding standards and allow compilation on sparc
3362         
3363         * corrected explanation of -amin option which described hours
3364         instead of minutes
3365         
3366 1998-02-27  Kevin Dalley  <kevind@rahul.net>
3367         
3368         * locate/locate.c: add --existing option to locate, which only
3369         prints the names of files which still exist
3370         
3371 1998-02-08  Kevin Dalley  <kevind@rahul.net>
3372         
3373         * locate/locate.c: corrected get_short so that it correctly
3374         returns negative numbers.
3375         
3376         * remove declarations of various string functions.  Removing the
3377         declarations almost matches the GNU Coding Standards.
3378         
3379 1997-03-03  Kevin Dalley  <kevind@rahul.net>
3380         
3381         * xargs/xargs.c: xargs fixed to prevent occasional core dumping.
3382         
3383 1997-01-11  Kevin Dalley  <kevind@rahul.net>
3384         
3385         * locate/updatedb.sh: add --localuser option to updatedb, which
3386         allows find to be run as nobody, while allowing database file to
3387         be created as root, change suggested by
3388         <Bernd_Eckenfels@Wittumstrasse13.76646Bruchsal.de>
3389         
3390 1996-12-28  Kevin Dalley  <kevind@rahul.net>
3391         * added PRUNEFS as variable in updatedb and --prunefs as option to
3392         updatedb
3394 1996-05-27  Kevin Dalley  <kevind@rahul.net>
3395         
3396         * updatedb.sh: when NETPATHS is used, only su to NETUSER if whoami
3397         is root
3398 1996-04-27  Kevin Dalley  <kevind@rahul.net>
3400         * lib/getline.c (getstr): verify that nchars_avail is *really*
3401         greater than 0; set *n to a large enough number, stops some core
3402         dumping
3404 Thu Nov  3 09:23:33 1994  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
3406         * Version 4.1.
3408         * locate/Makefile.am: Move updatedb from LIBSCRIPTS to SCRIPTS.
3410         * Makefile.am (distname): Change distribution name from find to
3411           findutils.
3413         * testsuite/config/unix.exp: Don't abuse xfail; simulate it correctly.
3415         * locate/Makefile.am (CLEANFILES): Fix typo.
3417 Wed Nov  2 15:11:52 1994  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
3419         * The big 4 0.
3421         * lib/listfile.c find/defs.h (list_file): Take a stream arg.
3422         * find/pred.c (pred_ls): pass it.
3423         * find/parser.c pred.c defs.h (parse_fls, pred_fls): New functions.
3425 Tue Oct 25 16:09:04 1994  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
3427         * find/pred.c (pred_fprintf): Flush output after \c.  From Chapman
3428         Flack.
3430         * find/parser.c (insert_fprintf): Warn about unrecognized \ and %
3431         sequences.
3433 Tue Oct 18 00:03:10 1994  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
3435         * find/defs.h parser.c pred.c tree.c util.c: Globally change
3436         "victim" to "primary".
3438         * find/parser.c (insert_fprintf): For 'c' format, don't lose the
3439         need_stat information.  From Chapman Flack.
3441         * doc/find.texi perm.texi: New files.
3442         * configure.in: Configure the doc directory.
3444         * find/pred.c (pred_regex): Check that the regex matched the whole
3445         file name.
3447 Wed Oct 12 17:13:47 1994  David J. MacKenzie  (djm@duality.gnu.ai.mit.edu)
3449         * find/find.c (main): Tell what the invalid arg is.
3450         From Kaveh Ghazi.
3452 Fri Oct  7 12:33:24 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
3454         * find/parser.c: Add -mount as an alias for -xdev.
3455         From Klaus.Steinberger@physik.uni-muenchen.de (Klaus Steinberger).
3457         * lib/modechange.c: Make umask_value unsigned short.
3459         * xargs/xargs.c: Use symbolic constants in longopts.
3460         From Chapman Flack.
3462 Wed Oct  5 11:23:09 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
3464         * xargs/xargs.c (main, read_line, read_string, do_exec): Pass 
3465           along the lengths of the args.
3466           (main): Calculate length of replace_pat.
3467           (push_arg, do_insert): Use those lengths instead of calculating
3468           them. 
3470 Tue Oct  4 10:02:05 1994  David MacKenzie  <djm@churchy.gnu.ai.mit.edu>
3472         * locate/updatedb.sh Makefile.in: Add substitutions to get
3473           the transformed program names.
3475         * xargs/xargs.c: Put back the global variables for now.
3476         Rename some variables.  Increase default args_per_exec.
3477         Use boolean where applicable.
3478         (main): Reduce default arg_max by 2048 for POSIX.2.
3479         (read_string): Don't check EOF string.
3480         (read_line, read_string): Take initial args size into account.
3482 Sat Oct  1 17:43:13 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
3484         * find/pred.c (launch): Use pid_t.
3486         * xargs/xargs.c (EOF_STR): Define and use.
3487         [__STDC__]: Declare xrealloc and xmalloc using void *.
3488         * find/defs.h: Likewise.
3490         * find/defs.h: Only declare stpcpy if !HAVE_STPCPY.
3492         * xargs/xargs.c: Replace most global variables with structure
3493           pointers passed as arguments.  Use pid_t.
3494         * lib/wait.h: Include sys/wait.h if HAVE_SYS_WAIT_H.
3495         * configure.in: Call AC_TYPE_MODE_T and AC_HEADER_SYS_WAIT.
3497         * xargs/xargs.c: Improve paging performance and memory
3498           fragmentation by building command arguments in a pre-allocated
3499           buffer and re-implementing the child pid list as an expandable
3500           array.  From tsi@gpu.srv.ualberta.ca (Marc Aurele La France).
3502 Thu Sep 29 11:38:07 1994  David J. MacKenzie  (djm@geech.gnu.ai.mit.edu)
3504         * xargs/xargs.c [__STDC__]: Prototype declarations.
3506 Wed Sep 28 11:25:53 1994  David J. MacKenzie  (djm@duality.gnu.ai.mit.edu)
3508         * find/fstype.c [AFS, __STDC__]: Fix definition of _VICEIOCTL.
3510 Tue Sep 27 08:14:27 1994  David MacKenzie  <djm@churchy.gnu.ai.mit.edu>
3512         * find/fstype.c (fstype_to_string): Add more cases.  Use
3513           INITMOUNTNAMES if defined.
3514         * find/defs.h: Change boolean typedef from char to int.
3515         * configure.in: Check for mktime.
3517 Tue Sep 27 01:20:28 1994  Kaveh R. Ghazi  (ghazi@noc.rutgers.edu)
3519         * configure.in: Add AC_HEADER_STAT.
3520         * lib/listfile.c, lib/modetype.h: Add STAT_MACROS_BROKEN.
3522         * find/pred.c: Move the inclusion of defs.h ahead of the first
3523           test of _POSIX_VERSION.
3525         * lib/xgetcwd.c: Remove _POSIX_VERSION, rely only on HAVE_GETCWD.
3527 Mon Sep 26 16:43:01 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
3529         * configure.in: Add AC_CONFIG_HEADER.
3530         * find/*.c locate/*.c xargs/*.c: Include config.h.
3531         * locate/updatedb.sh: Add --version; --old -> --old-format.
3533 Sun Sep 25 23:43:37 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
3535         * find/* [__STDC__]: Prototype declarations.
3537         * locate/updatedb.sh: Account for renaming code and frcode.
3539         * find/find.c (process_path): Store dev and ino of directories in
3540           current branch to avoid symlink loops.  From DJ Delorie
3541           <dj@ctron.com>.
3542           (process_dir): If following symlinks, don't cd to ..; instead,
3543           cd to the starting directory and then to the parent directory.
3544           (main) [HAVE_FCHDIR]: Save the dev, ino of the starting directory.
3545           (process_top_path) [HAVE_FCHDIR]: Use it.
3546         * find/pred.c (launch) [HAVE_FCHDIR]: Likewise.
3547         * defs.h [HAVE_FCHDIR]: Declare starting_desc instead of starting_dir.
3548         * configure.in: Check for dev_t, ino_t, fchdir, fcntl.h.
3550 Fri Sep 23 11:55:38 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
3552         * lib/listfile.c: Change #ifdef S_IFLNK to #ifdef S_ISLNK.
3553         From Andreas Luik <luik@isa.de>.
3555 Thu Sep 22 11:42:40 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
3557         * locate/locate.c (last_literal_end): Dynamically allocate enough
3558           memory for the subpattern.
3560 Wed Sep 21 06:12:56 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
3562         * locate/locate.c (locate): Warn if database is >8 days old.
3563         From Ian Lance Taylor.
3565         * xargs/xargs.c (do_exec), find/pred.c (launch): Set SIGCHLD to
3566           default.  From tsi@gpu.srv.ualberta.ca (Marc Aurele La France).
3567         * find/find.c pred.c util.c lib/listfile.c: Remove fflush(stdout)
3568           calls before error.  error does it, and doesn't trash errno.
3569           From tsi@gpu.srv.ualberta.ca (Marc Aurele La France).
3571         * find/fstype.c (filesystem_type_uncached): Don't trust mtab dev
3572           number on HPUX.  From Andreas Luik <luik@isa.de>.
3573           (filesystem_type_uncached): Don't cache unknown file system
3574           types.  From casper@fwi.uva.nl (Casper Dik).
3576         * locate/updatedb.sh: Collect results in temp file and rename it
3577           atomically.  From Andreas Luik <luik@isa.de>.
3579         * xargs/xargs.c (parse_num): Print a long using %ld.  From Jim
3580           Meyering.
3582         * find/defs.h find.c parser.c pred.c util.c, lib/nextelem.c:
3583           Emulate strchr and strrchr with index and rindex, not vice versa.
3585         Remove man directory; move man pages to the directories of the
3586         programs they document.
3588         * locate/frcode.c: Renamed from code.c.
3589         * locate/frcode.c (put_short): Renamed from puthalfword.
3590         * locate/locate.c (get_short): Renamed from gethalfword.
3591         (last_literal_end): Renamed from patprep.
3592         (locate): Recognize old-format databases too.
3593         * locate/locatedb.h: Add defines for old-format databases.
3594         * locate/bigram.c locate/code.c: Put back programs to create
3595         old-format databases.
3596         * locate/updatedb.sh: Take --old option to use them.
3598 Tue Sep 20 15:41:11 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
3600         * configure.in: Update for Autoconf v2.
3601         * find/pred.c lib/savedir.c: Use new symbols for dir header.
3602         * locate/updatedb.sh: Add --help option.
3604 Sun Feb 13 11:21:58 1994  Jim Meyering  (meyering@comco.com)
3606         * man/Makefile.in [man1ext, man5ext]: Set man5ext (not man1ext) to 5.
3608 Sun Aug  1 22:30:55 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
3610         * bigram.c: File removed.
3611         * getline.c, memcmp.c, locatedb.h, updatedb.1, locatedb.5: New files.
3612         * updatedb.sh: Take command line options.
3613         Don't do bigram compression.
3614         * code.c, locate.c: Don't do bigram compression.
3615         Write and read counts in network byte order.
3616         Handle arbitrarily long paths.
3617         Use a magic number at the start of the databases.
3619 Thu Jul 29 20:44:53 1993  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
3621         * Makefile.in (config.status): Run config.status --recheck, not
3622         configure, to get the right args passed.
3624 Thu Jul 22 12:53:12 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
3626         * listfile.c (list_file): Print inode as a long.
3628 Wed Jul 14 14:14:45 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
3630         * fstype.c [STDC_HEADERS]: Include stdlib.h.
3632         * Move unistd.h include from parser.c and pred.c to defs.h.
3634 Wed Jun 30 14:14:47 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
3636         * updatedb.sh: Construct PRUNEREGEX from PRUNEPATHS with sed.
3637         Prune /afs.  Change NFSUSER to NETUSER and NFSPATHS to NETPATHS.
3639 Tue Jun 29 12:19:58 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
3641         * pred.c (pred_fprintf): Abort in switch if `c' is not A, C, or T.
3643 Mon Jun 28 00:18:52 1993  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
3645         * fstype.c (in_afs) [AFS]: New function, derived from code by
3646         Sanjay Ramamurthy <ramams@rpi.edu>.
3647         (filesystem_type_uncached) [AFS]: Call it if the fs type is
3648         otherwise unknown.
3650         * parser.c (parse_size): Recognize b and w suffixes for dd
3651         compatibility. 
3653         * code.c (puthalfword): New function.
3654         (main): Call it.
3655         * locate.c (gethalfword): New function.
3656         (locate): Call it.
3657         From ifado!wb@germany.eu.net (Wilhelm B. Kloke).
3659         * listfile.c: Include pathmax.h.
3660         (get_link_name): Always allocate PATH_MAX + 1 bytes for
3661         readlink buffers.
3662         * pred.c (pred_fprintf, insert_lname): Call get_link_name.
3664         * fstype.c (filesystem_type, filesystem_type_uncached),
3665         listfile.c (list_file): Take an arg for the path to access.
3666         * pred.c (pred_ls, pred_fstype, pred_fprintf): Pass it.
3668         * find.c (process_dir): Renamed from scan_directory.
3670         Changes from jrs@world.std.com (Rick Sladkey) to chdir into
3671         subdirectories instead of using string concatenation, for speed:
3672         * find.c (process_top_path): New function.
3673         (main): Call it, and xgetcwd.
3674         (process_path, scan_directory): Take new arg, the pathname
3675         relative to ".".  Use it and pass it on.
3676         * pred.c (pred_and, pred_comma, pred_negate, pred_or,
3677         pred_xtype, pred_fprintf, pred_empty, insert_lname):
3678         access rel_pathname instead of pathname.
3679         (launch): chdir to starting_dir.
3680         * defs.h: Declare rel_pathname and starting_dir.
3681         * find.c: Define them.
3683         * xgetcwd.c: New file.
3685         * updatedb.sh: Recognize -fstype NFS as well as nfs.
3686         * locate.c (patprep): Skip trailing character classes correctly.
3687         From luik@pharao.stgt.sub.org (Andreas Luik).
3689         * parser.c (parse_group): Make gid a gid_t, not short or int.
3690         (parse_nogroup): Cast gid to unsigned when using it as an array index.
3691         (parse_user, parse_nouser): Similar changes for uid.
3692         * defs.h: Use uid_t and gid_t.
3694         * parser.c (parse_help): New function.
3695         (parse_table):  Add --version, -help, and --help options.
3696         Rename struct parser_table_t to struct parser_table.
3697         (parse_version): Exit after printing message, on
3698         stdout not stderr.
3700         * xargs.c, locate.c (main, usage): Add --version and --help
3701         options.
3703 Wed Mar 31 22:39:57 1993  Jim Meyering  (meyering@comco.com)
3705         * parser.c: Define isascii macro to be 1 also if STDC_HEADERS.
3706         * xargs.c: Ditto.
3708 Wed Mar 31 16:04:07 1993  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
3710         * pred.c (pred_fprintf): If curdepth is 0, don't nuke
3711         segment->text; nuke cp.
3713 Mon Mar 29 15:57:20 1993  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
3715         * Version 3.8.
3717 Fri Mar 26 16:36:59 1993  David J. MacKenzie  (djm@hal.gnu.ai.mit.edu)
3719         * pred.c (pred_ilname, pred_iname, pred_ipath): New functions.
3720         (pred_table): Add them.
3721         (insert_lname): New function.
3722         (pred_lname): Call it.
3723         * parser.c (parse_ilname, parse_iname, parse_ipath,
3724         parse_iregex): New functions.
3725         (parse_table): Add them.
3726         (insert_regex): New function.
3727         (parse_regex): Call it.
3729         * fstype.c (filesystem_type): Cache previous result.
3730         (filesystem_type_uncached): New function.
3731         pred.c (pred_fstype, pred_fprintf): Adjust callers to not cache.
3733         * parser.c: Don't define const.
3735         * fstype.c [FSTYPE_STATFS] (fstype_to_string): #ifdef
3736         MOUNT_PC for 386bsd.
3738 Thu Mar 25 18:32:24 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
3740         * parser.c (parse_regex): If ignore_case, set up a translate
3741         table for the regex.
3743         * defs.h: Include string.h or strings.h.
3744         * find.c fstype.c parser.c pred.c util.c: Don't.
3746         * nextelem.c [index]: Don't redefine.
3748 Wed Mar 24 17:47:10 1993  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
3750         * xargs.c (wait_for_proc): Exit with a nonrunnable command's exit
3751         status, not the wait status value.  From
3752         Andreas Schwab <schwab@lamothe.informatik.uni-dortmund.de>.
3754         * parser.c (make_segment, insert_fprintf), pred.c
3755         (pred_fprintf): Add '%F' to print filesystem type.
3757         * parser.c (parse_fprintf): Check if second arg is missing.
3759 Tue Mar 23 13:18:08 1993  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
3761         * pred.c (pred_fprintf): For %P, don't move past an assumed
3762         slash if the ARGV element ends with one, because in that case
3763         we didn't add one.
3765         * parser.c (parse_printf): Check for missing arg.
3766         From smj@cats.com (Steve James).
3768         * parser.c: Add #ifdef around atol decl for Linux.
3770 Fri Dec 11 08:17:07 1992  Jim Meyering  (meyering@comco.com)
3772         * defs.h: Remove dcl of process_path.
3773         * find.c: Put dcl of p
3775         * pred.c (pred_fprintf): Don't print "\n" unless it's in the
3776         format string.
3778 Mon Oct 21 22:30:35 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3780         * defs.h, parser.c, pred.c: Rename some types that conflict
3781         with reserved POSIX.1 namespace (ended in _t).
3783         
3784         
3785 Thu Oct 17 22:39:06 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3787         * xargs.c: Don't determine memory.h based on POSIX, which
3788         doesn't mention it.
3790 Sat Oct  5 16:11:05 1991  Jim Meyering (meyering at churchy.gnu.ai.mit.edu)
3792         * parser.c (parse_perm): Parse new `-perm +mode' notation.
3793         * pred.c (pred_perm): Interpret same.
3795 Fri Sep 13 14:58:27 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
3797         * xargs.c [POSIX]: Always use sysconf to get ARG_MAX.
3799 Thu Sep  5 23:57:06 1991  David J. MacKenzie  (djm at apple-gunkies)
3801         * bigram.c, code.c (main): Make path_max int, not unsigned.
3802         * locate.c (main): Check for pathconf failure.
3804 Thu Sep  5 11:54:44 1991 Jim Meyering (meyering at churchy.gnu.ai.mit.edu)
3806         * parser.c (insert_fprintf): Add `\\' escape and fixed `%%'
3807         interpretation.
3808         * pred.c (pred_fprintf): fixed off-by-one indexing problem
3809         when handling [gGuU] printf formats.
3811 Wed Aug 28 20:53:57 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3813         * Version 3.2.
3815 Mon Aug 26 18:57:32 1991  David J. MacKenzie  (djm at pogo.gnu.ai.mit.edu)
3817         * bigram.c, code.c: Fix handling of PATH_MAX.
3818         Check for anomalous input line lengths.
3819         From Bruce Evans.
3821 Fri Aug 23 11:00:18 1991  David J. MacKenzie  (djm at apple-gunkies)
3823         * pred.c (pred_fprintf): Round block number up to get K.
3825 Thu Aug 22 10:46:30 1991  David J. MacKenzie  (djm at apple-gunkies)
3827         * pred.c (pred_fprintf, pred_lname) [_AIX]: Allocate PATH_MAX
3828         byte for link object since st_size is wrong.
3830         * listfile.c (list_file): Don't convert blocks to kilobytes if
3831         env. var POSIX_ME_HARDER is defined.
3833         * fstype.c [FS_AIX_STATFS]: New case.
3835         * configure: Make sure the sys/mount.h is the 4.4BSD version
3836         with grep instead of just testing whether it exists.
3838         * listfile.c (list_file): Add 1 to number of 512-byte blocks
3839         before dividing to get 1K blocks (so we round up, not down).
3841 Wed Aug 21 13:02:46 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3843         * Version 3.1.
3845         * parser.c (parse_fprintf), pred.c (pred_fprintf): Add %k
3846         conversion to print 1K blocks.
3848         * listfile.c: Print counts of 1K blocks, for consistency with
3849         new fileutils release.  Bad timing, there.
3851         * Version 3.0.
3853         * pred.c [VOID_CLOSEDIR]: Fake a return value for closedir,
3854         which returns void on some systems, like Sequents.
3855         * configure: Check sys/dir.h for 'void closedir'.
3857 Thu Aug 15 16:07:46 1991  David J. MacKenzie  (djm at frob)
3859         * modetype.h: Define POSIX.1 stat stuff if missing.
3860         * pred.c, parser.c, find.c, fstype.c: Don't define it.
3861         * updatedb.sh: Use a variable substitution method like configure's.
3862         * Makefile.in: Add datadir variable to separate programs from
3863         data file.
3865         * parser.c, pred.c: Rename -fulldays to -daystart.
3867         * defs.h, find.c, parser.c, pred.c: Add many new predicates
3868         from Jay Plett (jay@princeton.edu).
3870 Wed Aug 14 14:37:06 1991  David J. MacKenzie  (djm at bleen)
3872         * parser.c (parse_size), pred.c (pred_size), defs.h (struct
3873         size_t): Allow `k' to follow number to measure size in Kbytes.
3874         * parser.c (parse_size, get_num, insert_num), defs.h (struct
3875         size_t): Use enum comparison_type instead of short.
3877 Fri Aug  9 00:49:32 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3879         * xargs.c (read_line): Use isblank, to support POSIX locales.
3881         * fstype [FS_STATVFS]: New code for SVR4, from slootman@dri.nl
3882         (Paul Slootman).
3883         * configure: Figure out when to use it.
3885         * configure: Check for st_blocks in struct stat.
3886         * listfile.c (ST_NBLOCKS): New macro.
3887         (list_file): Print file's block count.
3888         Use S_ISLNK instead of S_IFLNK.
3889         * fileblocks.c: New file, from fileutils.
3891 Thu Aug  8 17:20:19 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3893         * parser.c, pred.c [CACHE_IDS]: Optional code to turn uid and
3894         gid lookups into table lookups.
3896 Wed Aug  7 00:22:29 1991  David J. MacKenzie  (djm at wheat-chex)
3898         * configure, Makefile.in's: Support +srcdir option via VPATH.
3899         Clean up clean targets.
3901 Sat Jul 20 01:11:51 1991  David J. MacKenzie  (djm at apple-gunkies)
3903         * configure: Filter /etc and /usr/etc from path.
3905         * xargs.c (wait_for_proc): Fix handling of child exit status.
3906         (main): Exit with a nonzero status if any child did.
3908         * pred.c (launch): Flush stdout and stderr before forking.
3910         * fstype.c (filesystem_type) [FS_MNTENT]: Skip entries of
3911         type "ignore".
3913 Fri Jul 19 22:53:42 1991  David J. MacKenzie  (djm at bleen)
3915         * pred.c, locate.c: Use fnmatch instead of glob_match.
3916         * fnmatch.c, fnmatch.h: New files.
3918         * Many files: Use string.h if STDC_HEADERS, as well as if USG.
3920         * locate.c, code.c, bigram.c: Possibly use pathconf to get
3921         PATH_MAX.  Use malloc to allocate path arrays.
3923         * xargs.c: Possibly use sysconf to get ARG_MAX.
3924         (env_size): Make definition unconditional.
3925         (main): Do arg_max adjustment that can't be done with
3926         preprocessor now that ARG_MAX might be a function call.
3927         (do_exec): Exit with status 126 or 127 after failed exec, for
3928         POSIX.2 draft 11.1.
3930         * xargs.c, pred.c, listfile.c: Use POSIX, not UNISTD_MISSING.
3931         * wait.h: Use POSIX, not WAIT_MACROS_MISSING.
3933         * COPYING: Use version 2.  Update all files.
3935         * Replace Makefile and lib/Makefile with Makefile.in,
3936         lib/Makefile.in and configure.  Update README.
3938 Fri Apr  5 12:49:09 1991  David J. MacKenzie  (djm at apple-gunkies)
3940         * Version 2.2.
3942 Fri Mar 15 20:44:45 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
3944         * xargs.c (main): Always run the command if some args are left over.
3945         Rename some variables.
3947 Fri Jan 18 03:35:57 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
3949         * bigram.c, code.c, locate.c: Use LIMITS_MISSING, not
3950         _POSIX_SOURCE, to decide whether to include limits.h.
3952         * parser.c, pred.c, listfile.c: Use POSIX, not _POSIX_SOURCE,
3953         to decide whether to declare getpwuid and getgrgid.
3955         * xargs.c: Use POSIX, not _POSIX_SOURCE, to determine whether
3956         to include memory.h.
3958 Sat Jan 12 04:12:34 1991  David J. MacKenzie  (djm at wookumz.ai.mit.edu)
3960         * defs.h, find.c, parser.c, pred.c: Remove -permmask option.
3962 Thu Jan 10 04:32:52 1991  David J. MacKenzie  (djm at albert.ai.mit.edu)
3964         * wait.h: Include sys/types.h to get pid_t.
3966         * xargs.c [USG && !STDC_HEADERS]: Only include memory.h if not
3967         _POSIX_SOURCE.
3969 Tue Jan  1 23:53:32 1991  David J. MacKenzie  (djm at albert.ai.mit.edu)
3971         * Version 2.1.
3973 Wed Dec 26 03:25:51 1990  David J. MacKenzie  (djm at apple-gunkies)
3975         * locate.c, bigram.c, code.c: Attempt to get max. path length
3976         on more kinds of systems, incl. POSIX.
3978         * pred.c, listfile.c, xargs.c: Get some decls from unistd.h,
3979         if available. 
3981         * find.c, defs.h: Make `cur_day_start' a time_t, not long.
3983 Fri Dec 21 01:49:12 1990  David J. MacKenzie  (djm at egypt)
3985         * defs.h, parser.c: Remove unused field from `struct exec_t'.
3987         * xargs.c: Add +no-run-if-empty option to cause the command to
3988         not be run if the input is empty.
3990         * defs.h (struct exec_t): Change the array of offsets into an
3991         array of `struct path_arg'.
3992         * parser.c (insert_exec_ok): Fill in new fields, to allow "{}"
3993         to be substituted (multiple times) anywhere in an arg to -exec
3994         or -ok.
3995         * pred.c (pred_exec): Add code to substitute "{}" within args.
3996         (pred_ok): After prompting, just run pred_exec.
3998 Thu Dec 20 02:32:09 1990  David J. MacKenzie  (djm at egypt)
4000         * fstype.c (filesystem_type) [FS_MNTENT]: Allow for optional
4001         "0x" at front of "dev=" mount option, which amd puts there but
4002         Sun automounter doesn't.
4004 Sat Dec 15 19:01:12 1990  David J. MacKenzie  (djm at egypt)
4006         * find.c (main), util.c (usage): Make directory args optional,
4007         defaulting to ".".
4009 Sat Dec 15 18:36:29 1990  David J. MacKenzie  (djm at apple-gunkies)
4011         * listfile.c: Define major and minor if not defined (as in POSIX).
4013 Mon Dec  3 01:04:35 1990  David J. MacKenzie  (djm at alborz)
4015         * find.c, fstype.c, parser.c, pred.c, util.c: Flush stdout before
4016         writing to stderr, in case they have been redirected to the
4017         same file descriptor.
4019         * pred.c (launch): Use POSIX wait macros from wait.h.
4021         * xargs.c (print_xargs): Read from tty_stream, not stdin.
4023 Tue Nov 20 16:48:24 1990  David J. MacKenzie  (djm at apple-gunkies)
4025         * Version 2.0.
4027         * fstype.c [FS_USG_STATFS]: New code.
4028         [FS_STATFS]: For symlinks, statfs the directory the link is in
4029         instead of the link.
4030         * Various files: Conditionalize some declarations on
4031         STDC_HEADERS or _POSIX_SOURCE.
4033 Fri Nov 16 12:24:43 1990  David J. MacKenzie  (djm at egypt)
4035         * modetype.h: New file.
4036         parser.c, pred.c: Use it.
4038 Thu Nov 15 18:05:54 1990  David J. MacKenzie  (djm at apple-gunkies)
4040         * xmalloc.c: New file from fileutils.
4042         * fstype.c (fstype_to_string): Add case for MFS.
4043         (filesystem_type): Take a pathname as a second arg.
4044         [FS_STATFS] return "unknown" instead of exiting if statfs
4045         fails because of ENOENT.
4046         * pred.c (pred_fstype): Pass the pathname.  Set current_dev.
4047         * find.c (process_path): Make root_dev local again.
4049 Mon Nov 12 02:54:00 1990  David J. MacKenzie  (djm at apple-gunkies)
4051         * pred.c (pred_fstype): Free old fs type.
4053         * fstype.c, pred.c (pred_fstype), parser.c (parse_fstype): 
4054         Reread the file system type info. every time a filesystem
4055         mount point is crossed, to allow for automounting.
4057         * xstrdup.c: New file from fileutils.
4059         * find.c (process_path): Rename root_dev to current_dev and
4060         make it global, for -fstype.
4062         * wait.h: New file taken from xargs.c.
4064         * xargs.c: Make limits.h vs. sys/param.h conditional on
4065         LIMITS_MISSING instead of USG, to accomodate SVR2.
4067 Thu Nov  8 11:52:22 1990  David J. MacKenzie  (djm at apple-gunkies)
4069         * parser.c, pred.c, listfile.c: If not _POSIX_SOURCE, declare
4070         getpwuid and getgrgid.  Use them.
4072         * listfile.c: If not _POSIX_SOURCE, define S_ISDIR and
4073         S_ISBLK.  Use them. 
4075         * find.c: Use S_ISDIR instead of S_IFDIR, and define if not
4076         _POSIX_SOURCE. 
4078         * Makefile: Define AR and RANLIB and pass to child makes.
4079         lib/Makefile: Use them.
4081         * xargs.c (WIFSIGNALED): Redefine so it works.
4083 Mon Nov  5 00:02:01 1990  David J. MacKenzie  (djm at apple-gunkies)
4085         * find.c (process_path): For -xdev, process filesystem
4086         mountpoints (but don't descend them), instead of skipping them
4087         entirely. 
4089         * find.c, parser.c, defs.h: Add -follow predicate.
4091         * xargs.c: Change ifdefs to support STDC POSIX systems.
4093 Sat Nov  3 20:18:05 1990  David J. MacKenzie  (djm at apple-gunkies)
4095         * xargs.c (do_exec): Child process exits with status 255, not
4096         127, if command can't be run.
4098 Fri Nov  2 02:11:42 1990  David J. MacKenzie  (djm at apple-gunkies)
4100         * xargs.c: Exit with status 127 if running commmand fails, as
4101         required by POSIX.
4103         * fstype.c: Support -fstype for Ultrix (-DFS_GETMNT).
4104         Sun/BSD code is now -DFS_MNTENT.
4106 Thu Nov  1 13:06:01 1990  David J. MacKenzie  (djm at egypt)
4108         * Reorganize into subdirectories and add xargs.  Rewrite Makefiles.
4110         * find.c (process_path, main): Allow a maxdepth of 0, meaning
4111         only process command line args.
4113         * parser.c, pred.c: Add -print0 predicate.
4115         * xargs.c: Add -0 option and long options.  Move standard
4116         library functions into separate files.  Use error instead of
4117         fatal and fprintf/perror.  Use POSIX macros for examining exit
4118         status from wait.
4119         (read_string): New function.
4121 Fri Sep 21 10:21:09 1990  David J. MacKenzie  (djm at apple-gunkies)
4123         * find.c (process_path): Take DEPTH as an arg instead of ROOT,
4124         and change callers.
4126 Thu Sep 20 23:58:47 1990  David J. MacKenzie  (djm at apple-gunkies)
4128         * parser.c (parse_maxdepth): New function.
4129         * find.c (process_path): If -maxdepth was given, don't go
4130         more than that many levels deep.
4131         * defs.h: Declare maxdepth.
4133 Wed Sep 12 02:12:31 1990  David J. MacKenzie  (djm at apple-gunkies)
4135         * parser.c: Add -not as synonym for !.
4137 Sun Aug 26 06:16:08 1990  Jim Kingdon  (kingdon at pogo.ai.mit.edu)
4139         * Makefile (TAGS): New target.
4141 Sun Aug 12 00:32:01 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
4143         * xargs.c (main): Tell getopt to not permute.
4145 Sat Aug  4 21:43:45 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
4147         * parser.c (parse_perm), pred.c (pred_perm): Always compare
4148         bits 07777.
4150         * locate.c, Makefile: Rename 'fastfind' program to 'locate',
4151         following comment in POSIX.2 draft 10 rationale for find.
4153 Wed Jul 25 18:45:03 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
4155         * listfile.c (getuser, getgroup): Make uid and gid unsigned
4156         short, not int.
4158 Mon Jul 16 13:40:13 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
4160         * defs.h: Don't declare fprintf and printf, in case they have
4161         prototypes in stdio.h (important for functions that use stdarg).
4163 Sun Jul 15 23:39:39 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
4165         * parser.c (parse_and): New function, for compatibility.
4167 Wed Jul  4 00:17:57 1990  David J. MacKenzie  (djm at apple-gunkies)
4169         * find.c (main): Only enclose expressions that produce no side
4170         effects within `( ... )'.
4172 Tue Jul  3 01:59:39 1990  David J. MacKenzie  (djm at apple-gunkies)
4174         * parser.c (strspn): Stop when end of string reached.
4176         * Version 1.2.
4178         * Move version number from Makefile to new file version.c.
4179         * parser.c: Recognize new -version predicate.
4181         * find.c (main): If no predicates that produce output are
4182         given, default to -print if the entire expression is true, not
4183         just the last part of an alternation.
4184         * Print the names of predicates with invalid arguments.
4186 Mon Jul  2 23:48:17 1990  David J. MacKenzie  (djm at apple-gunkies)
4188         * pred.c: Don't check for invalid comparison types in numeric
4189         predicate functions.
4191 Thu Jun 28 00:34:57 1990  David J. MacKenzie  (djm at apple-gunkies)
4193         * parser.c (parse_regex): Set fastmap and translate before
4194         compiling regex.
4196 Mon Jun 25 18:08:59 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
4198         * fastfind.c (fastfind): Initialize count to 0.
4200         * lib/updatedb.sh: Only do regex comparison on directories,
4201         for speed.
4203         * listfile.c (list_file): Truncate user and group name to 8 chars.
4205 Sun Jun 24 13:51:27 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
4207         * Version 1.1.
4209         * Makefile [DISTFILES]: Add COPYING.
4211 Fri Jun 22 03:54:27 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
4213         * Version 1.0.
4215 Tue Jun 19 03:55:28 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
4217         * lib/updatedb.sh: Prune entries that match PRUNEREGEX.
4218         Split up finding files from computing bigrams.
4219         Use redirection instead of nonportable grep -s to detect sort
4220         failure.  Optionally search network filesystems as well as
4221         local ones.
4223         * pred.c (pred_regex): Match against full pathname instead of
4224         just last element.
4225         * util.c (basename): Return "/", not "", if given "/".
4227         * find.c (process_path): Fix error in handling "/" directory.
4229 Mon Jun 18 01:49:16 1990  David J. MacKenzie  (djm at apple-gunkies)
4231         * parser.c [STRSPN_MISSING] (strspn): New function.
4233 Sun Jun 17 13:54:09 1990  David J. MacKenzie  (djm at apple-gunkies)
4235         * listfile.c: New file.
4236         * parser.c (parse_ls): New function.
4237         * pred.c (pred_ls): New function.
4239         * find.c (main): Remove interface to fastfind, to prevent
4240         conflict with POSIX syntax.
4241         * util.c (usage): Remove fastfind syntax from message.
4242         * fastfind.c (main): New function.
4243         * Makefile: Make fastfind a separate program.
4245         * find.c (main): Print correct message if a predicate arg is
4246         missing. 
4248         * parser.c (insert_exec_ok): Make args that start with a ';' but
4249         contain other characters not terminate the command.
4251 Fri Jun 15 00:33:45 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
4253         * fstype.c: If MOUNTED isn't defined but MNT_MNTTAB is, use it
4254         instead.  True for HP/UX, at least.
4256 Thu Jun 14 10:10:25 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
4258         * savedir.c: New file; now find won't run out of file
4259         descriptors in deep trees.
4260         * find.c (process_path): Use savedir.
4262 Sat Jun  9 03:15:21 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
4264         * parser.c (parse_permmask): Allow symbolic mode masks.
4265         (parse_perm): Free 'struct change' when done with it.
4266         (get_oct): Function removed.
4268         * find.c (process_path): Allow arbitrarily-long filenames.
4269         More efficient string copying.  Initialize perm_mask to 07777
4270         instead of -1.
4272 Thu Jun  7 04:22:42 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
4274         * Makefile, find.c: Use DIRENT to control whether <dirent.h>
4275         is used.
4277 Thu May 31 04:46:11 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
4279         * parser.c (parse_regex): New function.
4280         * pred.c (pred_regex): New function.
4282         * fstype.c (read_mtab): If mtab entry has a "dev=" option
4283         (like in SunOS 4.1), use it, so there is no need to stat the
4284         special file later on.
4285         (xatoi, strstr): New functions.
4287 Mon May 21 01:04:42 1990  David J. MacKenzie  (djm at abyss)
4289         * lib/updatedb.sh: Put BINDIR in PATH.
4291         * fstype.c: Do nothing if MNTENT_MISSING is defined.
4293         * fstype.c: New file.
4294         * parser.c (parse_fstype): New function.
4295         * pred.c (pred_fstype): New function.
4297         * parser.c (parse_newer): Failure to stat -newer file is a
4298         fatal error.
4300         * pred.c (pred_ok): Flush output before reading.  Use getchar
4301         instead of scanf.
4303         * pred.c (pred_prune): Return false if -depth given.
4304         * find.c: Apply the predicates to the dir when -depth and
4305         -prune are given.
4307 Sun May 20 19:55:30 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
4309         * pred.c (pred_prune): Set new global var `stop_at_current_level'.
4310         * find.c (process_path): Test and reset it.
4312 Fri May 18 01:56:17 1990  David J. MacKenzie  (djm at abyss)
4314         * modechange.c, modechange.h: New files.
4315         * parser.c (parse_perm): Use mode_compile and mode_adjust to
4316         parse arg, to allow symbolic mode for POSIX.
4318 Thu May 17 02:07:44 1990  David J. MacKenzie  (djm at abyss)
4320         * parser.c (get_oct): Don't consider an empty string a valid number.
4322         * parser.c (parse_perm): If arg starts with '-', set flag bit
4323         for special comparison (POSIX).
4324         * pred.c (pred_perm): If flag bit set, compare s[ug]id &
4325         sticky bits as well, and return true if the given perms are
4326         set, ignoring other bits.
4328         * find.c: New global var `exit_status'.  Use it.  (POSIX)
4329         * parser.c: Set `exit_status' if lstat on -newer file fails.
4331         * fastfind.c: New file.
4332         * find.c (main): Call fastfind if given only 1 arg.
4333         * util.c (usage): Update message. 
4334         * lib/{Makefile,updatedb.sh,bigram.c,code.c}: New files.
4335         * Makefile: Add 'all' and 'install' targets.
4337 Wed May 16 23:23:35 1990  David J. MacKenzie  (djm at abyss)
4339         * parser.c (parse_nogroup, parse_nouser): Implement.
4340         * pred.c (pred_nogroup, pred_nouser): Implement.
4342 Mon May 14 00:09:35 1990  David J. MacKenzie  (djm at abyss)
4344         * find.c: Add variable `stay_on_filesystem' for -xdev.
4345         (process_path): Take an arg determining whether this call is
4346         the root of a tree.  Use lstat instead of stat.  If
4347         stay_on_filesystem, don't process a dir on a different
4348         filesystem. 
4350         * parser.c (parse_newer): Use lstat instead of stat.  Is this right?
4351         (parse_xdev): Set stay_on_filesystem.
4353         * parser.c: Add dummy parse_nogroup, parse_nouser,
4354         parse_prune, and parse_xdev; to be written later.
4355         * pred.c: Add dummy pred_nogroup, pred_nouser, pred_prune.
4357         * find.c: Support System V directory library/headers.
4359         * find.c (process_path): Don't continue with a file that stat
4360         fails on.
4362         * defs.h, parser.c, pred.c: Change 'u_long' and 'u_short' to
4363         'unsigned long' and 'unsigned short'.
4364         * find.c, defs.h: Remove 'convert_glob' variable.
4365         * parser.c (parse_fullregex): Function removed.
4366         (parse_name): Remove regular expression code.
4367         (parse_type): Recognize sockets.
4368         Add code to check for missing arguments to many parse_* functions.
4369         * pred.c (pred_name): Use glob_match instead of regex.
4371 Sun May 13 17:45:09 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
4373         * Replace fprintf, simple_error, and mem_error with error and
4374         usage. 
4376         * Fix string header includes for USG.
4378 Tue Mar 27 12:40:29 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
4380         * defs.h: Change some #defines to enums.
4382 Sun Mar 25 22:08:58 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
4384         * find.c (main): Don't take basename of argv[0].
4386         * util.c (xmalloc): New function.
4387         * find.c, parser.c, utils.c: Use xmalloc instead of malloc.
4389         * pred.c: Remove emulation of regex for BSD and use GNU
4390         library version in regcmp.c instead.
4391         * parser.c: Remove emulation of regcmp for BSD and use GNU
4392         library version in regcmp.c instead.
4393         * Makefile: Link with regex.o and regcmp.o.
4394         Add a DISTFILES macro and dist target.
4396         * Indent source code.  Move RCS logs to this file.
4398 Wed Mar 21 09:30:18 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
4400         * xargs.c: Indent.  Comment and rename some global variables.
4401         (main): Use getopt to parse options.  Open new global var
4402         `tty_stream' to /dev/tty if querying requested.
4403         (print_args): Read response from tty_stream, not stdin.
4404         (xmalloc): New function.
4405         Global: Use xmalloc instead of malloc.
4406         (usage): Revise message.
4408 87/02/22  20:01:20  20:01:20  cire (Eric B. Decker)
4410         * pred.c: added guts to pred_size
4412 87/02/22  00:59:42  00:59:42  cire (Eric B. Decker)
4414         * pred.c: added guts to perm and permmask.
4416 87/02/21  23:02:21  23:02:21  cire (Eric B. Decker)
4418         * pred.c: made pred_name only look at the last component of
4419         the path.
4421 87/02/21  22:26:47  22:26:47  cire (Eric B. Decker)
4423         * pred.c: added guts to name.  useds regex and regcmp to do
4424         regular expression handling.
4426 87/02/21  00:17:21  00:17:21  cire (Eric B. Decker)
4428         * pred.c: added predicate newer
4430 87/02/20  11:40:07  11:40:07  cire (Eric B. Decker)
4432         * pred.c: added guts to pred_ok
4434 87/02/19  23:52:37  23:52:37  cire (Eric B. Decker)
4436         * pred.c: finished exec.
4438 87/02/22  20:01:09  20:01:09  cire (Eric B. Decker)
4440         * parser.c: added guts to parse_size
4442 87/02/22  00:59:16  00:59:16  cire (Eric B. Decker)
4444         * parser.c: added guts of perm and permmask.  added getoct
4445         routine for perm and permmask
4447 87/02/21  23:32:50  23:32:50  cire (Eric B. Decker)
4449         * parser.c: added -fre, -fullregex predicate to turn off
4450         globbing conversion
4452 87/02/21  23:01:01  23:01:01  cire (Eric B. Decker)
4454         * parser.c: reworked name so the regexpr pattern includes $ at
4455         the end to force globbing to work correctly.  End of the
4456         pattern refers to the end of the filename.
4458 87/02/21  22:25:34  22:25:34  cire (Eric B. Decker)
4460         * parser.c: added guts to name.  uses a conversion from
4461         globbing to regexp format.  uses regex and regcmp to actually
4462         to the comparison.
4464 87/02/21  00:17:11  00:17:11  cire (Eric B. Decker)
4466         * parser.c: added predicate newer
4468 87/02/20  11:39:35  11:39:35  cire (Eric B. Decker)
4470         * parser.c: added ok guts.  consolidated exec and ok to using
4471         insert_exec_ok
4473 87/02/19  00:20:54  00:20:54  cire (Eric B. Decker)
4475         * parser.c: minor bug in -fulldays predicate parser.  It
4476         should have set the flag full_days to true.
4478 87/02/22  00:58:32  00:58:32  cire (Eric B. Decker)
4480         * find.c: changed where we are setting perm_mask to -1.  need
4481         to make sure that this happens before every apply_predicate.
4483 87/02/21  23:32:11  23:32:11  cire (Eric B. Decker)
4485         * find.c: added error checking for no paths.  better error
4486         message if illegal ordering.
4488 87/02/21  22:19:58  22:19:58  cire (Eric B. Decker)
4490         * find.c: added global convert_glob
4492 87/02/22  20:00:12  20:00:12  cire (Eric B. Decker)
4494         * defs.h: added definition of BLKSIZE for size
4496 87/02/21  22:19:25  22:19:25  cire (Eric B. Decker)
4498         * defs.h: added global convert_glob for name