Applied Paul Eggert's patch which corrects a POSIX non-conformance for '-perm ++r'
[findutils.git] / ChangeLog
blob52a9ba72f693824e62dd7dbae880ae52ac62fcd2
1 2005-05-23  Paul Eggert  <eggert@cs.ucla.edu>
3         Adjust to recent gnulib changes.
4         * import-gnulib.sh: Get config.rpath from gnulib/build-aux,
5         not gnulib/config.
6         * find/parser.c (parse_perm): Ignore umask when parsing
7         symbolic permissions.  Adjust to new modechange API.
9 2005-05-16  James Youngman  <jay@gnu.org>
11         * find/find.c, find/parser.c, find/pred.c, find/tree.c:
12         Trivial change: don't use i18n support for debug-only messages
14         * ChangeLog: Added ChangeLog entry crediting Dmitry
16 2005-05-09  James Youngman  <jay@gnu.org>
18         * find/parser.c:
19         The previous change fixed Savannah bug #12999.  This change doesn't do
20         anything, it's only intended to be a place to record the Savannah bug
21         ID we've just fixed.
23         * find/parser.c:
24         Oops.  Initialise the variable which indicates which regex syntax to
25         use.  We use POSIX basic regular expressions.
27         * find/parser.c:
28         Suggestion by Ed Avis: point out that "-name foo/bar" will almost
29         always evaluate to false.   Suggest to the user what alternatives they
30         might find useful.
32 2005-05-02  James Youngman  <jay@gnu.org>
34         * AUTHORS:
35         Added Dimitry (his new test suite contribution required a copyright
36         assignment).
38 2005-05-03  Dmitry V. Levin
40         * Added xargs test suite tests by Dmitry V. Levin, together with
41           bugfixes which ensure that the tests pass.
43 2005-04-18  James Youngman  <jay@gnu.org>
45         * Added test suite tests for Bas van Gompel's changes.
47 2005-04-18  Bas van Gompel  <patch-findutils.buzz@bavag.tmfweb.nl>
49         * doc/find.texi: Document locate --non-existing (-E).
50         * locate/locate.1: Ditto.
51         * locate/locate.c: Implement --non-existing (-E).
52    
53 2005-04-04  James Youngman  <jay@gnu.org>
55         * configure.in, import-gnulib.sh:
56         We no longer need gnulib/m4/Makefile.am
58         * po/vi.po: Updated Vietnamese translation
60         * locate/updatedb.sh:
61         Savannah bug #12491: Only use the "-s" option to "su" if it is
62         supported.
64 2005-04-01  James Youngman  <jay@gnu.org>
66         * locate/locate.1, locate/updatedb.1, xargs/xargs.1: Trivial
67         change from A Costa <agcosta@gis.net>, fixing typos in manual
68         pages for xargs, locate and updatedb; fixes Savannah bug #12500,
69         Debian bug #301934
71 2005-03-22  James Youngman  <jay@gnu.org>
73         * import-gnulib.sh: Include the new gnulib module stat-macros
75         * configure.in:
76         CVS code is (will shortly be) no longer identical to the 4.2.20 release
78 2005-03-17  James Youngman  <jay@gnu.org>
80         * configure.in: Preprare for release of 4.2.20.
82         * NEWS: Updated prior to release of 4.2.20.
84         * ChangeLog: Updated with recent changes.
86         * THANKS: Thank Bas van Gompel, but only once.
88         * THANKS: Thank Bas van Gompel and Aaron S. Hawley.
90         * po/vi.po: Updated Vietnamese PO file
92 2005-03-10  James Youngman  <jay@gnu.org>
94         * po/nl.po: Updated Dutch PO file
96 2005-03-08  Bas van Gompel  <patch-findutils.buzz@bavag.tmfweb.nl>
98         * import-gnulib.sh: Re-enable creation of gnulib/m4/Makefile.am.
100 2005-03-07  James Youngman  <jay@gnu.org>
102         * Released findutils-4.2.19.
104         * find/testsuite/find.posix/sizes.exp:
105         Use 2>/dev/null instead of 2>&1, because Tcl understands the former
106         but not the latter.
108         * find/testsuite/Makefile.am: Also distribute sv-bug-12181.xo.
110         * find/testsuite/Makefile.am: Distribute sv-bug-12181.
112         * find/testsuite/Makefile.am: Distribute sv-bug-12230.
114         * NEWS: Updated with new news.
116         * ChangeLog: Brought up to date.
118         * lib/buildcmd.c, find/testsuite/find.gnu/sv-bug-12230.exp: Fixed
119         Savannah bug #12230, in which '-exec echo == {} +' is always run,
120         even if there were no matched files.
122 2005-03-06  James Youngman  <jay@gnu.org>
124         * ChangeLog: Added latest changes.
126         * po/pt.po, configure.in: Added Portuguese translation
128 2005-03-04  James Youngman  <jay@gnu.org>
130         * configure.in: Modernized the way we call AC_INIT and
131         AM_INIT_AUTOMAKE
133         * locate/locate.c, find/pred.c, find/find.c:
134         Eliminated some compiler warnings
136         * find/pred.c: Clarified the meaning of a comment.
138         * find/testsuite/Makefile.am: Added sizes.exp, sizes.xo.
140         * find/testsuite/find.posix/sizes.xo,
141         find/testsuite/find.posix/sizes.exp: Added tests for -size
142         predicate
144 2005-03-03  James Youngman  <jay@gnu.org>
146         * find/find.c:
147         safely_chdir_lstat(): if we didn't end up in the right place, and then
148         fchdir() fails, we can't return to the directory we started in.
149         Therefore, issue a fatal error message and exit.
151 2005-03-01  James Youngman  <jay@gnu.org>
153         * find/find.c, find/testsuite/find.posix/sv-bug-12181.exp,
154         find/testsuite/find.posix/sv-bug-12181.xo: Fixed SourceForge bug
155         12181 (find -H symlink-to-dir reports 'Too many Symbolic links')
156         and bug 12044 (find still hangs on dead NFS filesystems on
157         Solaris)
159 2005-02-28  James Youngman  <jay@gnu.org>
161         * doc/find.texi: Typo: O_NOFOLLOW, not O_FOLLOW
163         * import-gnulib.sh:
164         Suggestion from Martin Buchholz; unset CDPATH to prevent "cd" echoing
165         the new directory.
167 2005-02-27  James Youngman  <jay@gnu.org>
169         * README: Indicate how the reader can verify the release.
171 2005-02-26  James Youngman  <jay@gnu.org>
173         * po/sk.po, po/sl.po, po/sr.po, po/sv.po, po/tr.po, po/vi.po,
174         po/zh_CN.po, po/be.po, po/ca.po, po/da.po, po/de.po, po/el.po,
175         po/eo.po, po/es.po, po/et.po, po/fi.po, po/findutils.pot,
176         po/fr.po, po/gl.po, po/hr.po, po/hu.po, po/id.po, po/it.po,
177         po/ja.po, po/ko.po, po/lg.po, po/ms.po, po/nl.po, po/pl.po,
178         po/pt_BR.po, po/ro.po, po/ru.po: Added new Vietnamese translation
180         * configure.in: Added new Vietnamese translation.
182 2005-02-25  James Youngman  <jay@gnu.org>
184         * po/ga.po: Updated Irish po file
186 2005-02-23  James Youngman  <jay@gnu.org>
188         * Makefile.am: Fix Savannah bug #12064 - 'make distclean' deletes
189         regex.c but should not.
191         * find/testsuite/Makefile.am,
192         find/testsuite/find.gnu/printf-h.exp,
193         find/testsuite/find.gnu/printf-h.xo: Added test case for Savannah
194         bug #12085 (-printf %h).
196         * NEWS, doc/find.texi, find/find.1, find/pred.c:
197         %h now expands to '.' instead of nothing.
199 2005-02-22  James Youngman  <jay@gnu.org>
201         * find/find.c:
202         Fixed Savannah bug #12099 (misinterpretation of system versions
203         leading to possible incorrect disabling of O_NOFOLLOW).  Reported by
204         Dmitry V. Levin.
206         * find/pred.c:
207         For the %h format, don't bail out early as the format might contain
208         something else too.
210 2005-02-21  James Youngman  <jay@gnu.org>
212         * find/find.c: Fixed accidental C99 dependency.
214 2005-02-20  James Youngman  <jay@gnu.org>
216         * po/be.po, po/ca.po, po/da.po, po/de.po, po/el.po, po/eo.po,
217         po/es.po, po/et.po, po/fi.po, po/findutils.pot, po/fr.po,
218         po/ga.po, po/gl.po, po/hr.po, po/hu.po, po/id.po, po/it.po,
219         po/ja.po, po/ko.po, po/lg.po, po/ms.po, po/nl.po, po/pl.po,
220         po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sl.po, po/sr.po,
221         po/sv.po, po/tr.po, po/zh_CN.po: Updated italian translation
223         * doc/find.texi: Corrected a typo.
225         * find/find.c:
226         Read the mounted device list afer parsing the command line, so that
227         for example "find --version" still works (in response to Savannah bug
228         #12044).
230         * configure.in: We've moved on from findutils-4.2.18.
232 2005-02-19  James Youngman  <jay@gnu.org>
234         * NEWS: Corrected the summary of the "find -depth" bug.
236 2005-02-16  James Youngman  <jay@gnu.org>
238         * NEWS, configure.in: Prepared for release of 4.2.18.
240         * ChangeLog: Updated prior to release of 4.2.18.
242         * find/testsuite/Makefile.am:
243         Distribute the test cases for the recent "find -depth" bug.
245         * find/testsuite/find.posix/depth1.exp, find/testsuite/find.posix/depth1.xo:
246         Added test case for find -depth bug reported by Joseph S. Myers
248         * find/find.c:
249         If -depth is in effect, processing of the subdirectories invalidates
250         the information in 'state'.  Therefore once we get around to
251         processing the predicates, restore the information that we keep in
252         'state' and in 'stat_buf'.
254 2005-02-15  James Youngman  <jay@gnu.org>
256         * ChangeLog: Updated with recent changes
258         * find/find.1:
259         Emphasise that -L causes find to recurse into subdirectories pointed
260         to by symbolic links.
262         * find/find.1:
263         Patch to find.1 from Aaron Hawley <Aaron.Hawley@uvm.edu>:
265         * Notes about -H actually apply to -L.
266         * Said paragraph is duplicated two paragraphs later.
267         * Typos: nno, ibmue, surrpounding
269 2005-02-15  Aaron Hawley  <Aaron.Hawley@uvm.edu>
271         * find/find.1: Notes about -H actually apply to -L.  Said
272         paragraph is duplicated two paragraphs later.  Also typos: nno,
273         ibmue, surrpounding
275 2005-02-13  James Youngman  <jay@gnu.org>
277         * find/find.1: Miscellaneous small clarifications and improvements.
279         * doc/find.texi: Added Info nodes and menus under "Changing the
280         Current Working Directory" so that it doesn't generate such a huge
281         Info page.
283         * find/find.c: Parenthesise #if defined(...).
285 2005-02-13  Dmitry V. Levin  <ldv@altlinux.org>
286         
287         * find/find.c: remove test code snippet (time(NULL) was used to
288         place a marker for spotting with strace(), but was not actually
289         needed).
291         * find/find.c (safely_chdir_nofollow): must not fall back on
292         safely_chdir_lstat() because that will expose it to race condition
293         exploits, making it pointless.
295         * find/find.c (safely_chdir_lstat): Move
296         complete_pending_execdirs() up into safely_chdir(), because we
297         need to do that in either case.
299 2005-02-12  James Youngman  <jay@gnu.org>
301         * configure.in, doc/find.texi, find/defs.h, find/find.c,
302         find/parser.c: Fix for Savannah bug #11879, that
303         init_mounted_dev_list() causes find to hang on systems which are
304         clients to dead NFS servers
306 2005-02-10  James Youngman  <jay@gnu.org>
308         * doc/find.texi: Talk about the problem where find will not work
309         if you have a filesystem mounted from an unresponsive NFS server.
311 2005-02-09  James Youngman  <jay@gnu.org>
313         * find/find.1: Indicate that $TZ affects from printf-format
314         results, and add extra cross-references in the SEE ALSO section.
316 2005-02-08  James Youngman  <jay@gnu.org>
318         * xargs/testsuite/Makefile.am: Distribute the .xe files also.
320         * Makefile.am: Check that we have the right number of .xe files in
321         the distribution also.
323         * ChangeLog, NEWS, configure.in
324         Preparing to release findutils-4.2.17
326 2005-02-07  James Youngman  <jay@gnu.org>
328         * find/testsuite/config/unix.exp: Re-sort the .xo file using the
329         calling user's locale, because our 'pre-sorted' .so output file
330         may not be sorted with the same collating order as 'sort' used to
331         order the output of "find.  Bug spotted by Vin Shelton and Dimitry
332         V. Levin.
334         * find/testsuite/Makefile.am:
335         New test, find/testsuite/find.gnu/follow-arg-parent-symlink.exp.
337         * find/testsuite/find.gnu/follow-arg-parent-symlink.exp,
338         find/testsuite/find.gnu/follow-arg-parent-symlink.xo, find/find.c:
339         Fix for starting point /foo/bar/baz where bar is a symlink but baz
340         is not - we should chdir into bar there even if it is a symbolic
341         link
343 2005-02-07  James Youngman  <jay@gnu.org>
345         * find/testsuite/Makefile.am:
346         New test, find/testsuite/find.gnu/follow-arg-parent-symlink.exp.
348         * find/testsuite/find.gnu/follow-arg-parent-symlink.exp,
349         find/testsuite/find.gnu/follow-arg-parent-symlink.xo, find/find.c:
350         Fix for starting point /foo/bar/baz where bar is a symlink but baz
351         is not - we should chdir into bar there even if it is a symbolic
352         link
354 2005-02-06  James Youngman  <jay@gnu.org>
356         * doc/find.texi:
357         -size: Clarification - -size gives a result consistent with 'wc -c'
358          for example.
360         * Makefile.am, find/testsuite/Makefile.am,
361         find/testsuite/find.gnu/execdir-root-only.exp,
362         find/testsuite/find.gnu/execdir-root-only.xo,
363         locate/testsuite/Makefile.am, xargs/testsuite/Makefile.am:
364         dist-hook: Ensure that we distribute all the .po files and all the
365         testsuite files
367         * po/pl.po: Updated Polish translation from TP website
369 2005-02-05  Dmitry V. Levin  <ldv@altlinux.org>
371         * find/parser.c, find/pred.c: Additional tweaks for
372         -execdir/-okdir actions.
373         
374         * find/parser.c (new_insert_exec_ok): Disable ignore_readdir_race
375         for -execdir/-okdir.
376         
377         * find/pred.c (pred_execdir, pred_okdir): Use state.rel_pathname
378         instead of basename(pathname).  Do not add "./" prefix for
379         absolute pathnames.
380         
381         * find/find.c (process_top_path): Treat "/" similarly to ".".
383         * xargs/testsuite/xargs.posix/savannah-11865.exp,
384         xargs/testsuite/xargs.posix/savannah-11865.xo, xargs/xargs.c:
385         Fixed Savannah bug #11866 (not resetting number of used chars in
386         the command buffer) - reported by Dimitry V. Levin
388 2005-02-05  James Youngman  <jay@gnu.org>
390         * THANKS:
391         Added thanks for Dimitry - has produced many patches, bugfixes and
392         suggestions.
394         * find/pred.c:
395         Fixed Savannah bug #11866: typo in pred_okdir() renders it useless
397         * find/pred.c:
398         Savannah bug #11861: undefined symbol 'basename' on IRIX 5.3
400         * NEWS, configure.in, po/be.po, po/ca.po, po/el.po, po/eo.po,
401         po/fi.po, po/ga.po, po/hr.po, po/hu.po, po/ja.po, po/lg.po,
402         po/ms.po, po/ro.po, po/sl.po, po/sr.po, po/zh_CN.po: Added new
403         translations
405         * ChangeLog: Updated from CVS prior to release of 4.2.16.
407         * po/ChangeLog: Updated from CVS.
409         * NEWS, configure.in: Preparing to release 4.2.16
411         * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot,
412         po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po,
413         po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sl.po, po/sv.po,
414         po/tr.po: make update-po prior to 'make distcheck'
416         * po/fetch-po-files: This is the first version we actually used.
418         * find/find.c: process_top_path() fixed compilation warning.
420         * find/find.c: process_top_path(): avoid processing this item if
421         we can't chdir to the basename of the named file.
423         * lib/Makefile.am: Always build forcefindlib.c
425         * locate/locate.c: Say 'base name' rather than 'basename' in comments
427         * find/pred.c, find/find.c: process_top_path(): Proper bugfix for
428         correct handling of items at depth 0 (i.e. specified on the
429         command line) - do an extra chdir to ensure that we're in the
430         directory containing the item before calling process_path().
431         Hnece also undo the previous 'quick fix' for the same problem
433         * doc/find.texi:
434         -execdir no longer has to treat anything as special, even at depth 0.
436 2005-02-03  James Youngman  <jay@gnu.org>
438         * doc/find.texi, find/pred.c: When state.curdepth is 0, our
439         working directory is not the directory containing the file we are
440         processing.
442 2005-02-02  James Youngman  <jay@gnu.org>
444         * find/pred.c:
445         To allow compilation on cygwin, use base_name(), not basename().
448 2005-02-01  James Youngman  <jay@gnu.org>
450         * ChangeLog: Updated from CVS log.
452 2005-01-31  James Youngman  <jay@gnu.org>
454         * find/find.c, lib/nextelem.c, lib/nextelem.h, locate/code.c,
455         locate/frcode.c, locate/testsuite/config/unix.exp,
456         xargs/testsuite/config/unix.exp, xargs/xargs.c: Updated/corrected
457         the email address for David MacKenzie, one of the original authors
458         of findutils
460         * doc/Makefile.am: The HTML version of the manual generated for
461         the GNU project website has each node in a separate file, not each
462         chapter in a separate file; adjust filenames accordingly
464         * find/parser.c, find/pred.c, lib/savedirinfo.c:
465         Removed some unused variables (patch from Dmitry V. Levin)
467         * find/find.c:
468         Patch from Dmitry V. Levin <ldv@altlinux.org>: Add subfs to the list
469         of filesystems which are likely to be automounted.
471         * m4/findlib.m4: Corrected typo (pointed out by Dmitry V. Levin).
473         * find/testsuite/config/unix.exp,
474         find/testsuite/find.gnu/name-period.xo,
475         find/testsuite/find.gnu/posix-dflt.xo,
476         find/testsuite/find.gnu/posix-h.xo,
477         find/testsuite/find.gnu/posix-l.xo,
478         find/testsuite/find.gnu/printf.exp,
479         find/testsuite/find.gnu/printf.xo: Systems differ in the order in
480         which filenames are returned by readdir.  Hence sort the output of
481         'find' before comparing against the expected-output file.  We
482         therefore also have the lines in the .xo files ready-sorted.
484 2005-01-30  James Youngman  <jay@gnu.org>
486         * doc/Makefile.am:
487         Added rules for extra targets that we buld to update the web site.
489 2005-01-29  James Youngman  <jay@gnu.org>
491         * configure.in: No longer version 4.2.15 - we've changed the manual.
493         * doc/find.texi:
494         Clarified the txt about adding extra tests with post-processing via
495         xargs, and recommend -execdir instead for security reasons.
497         * doc/find.texi: Patch from Karl Berry:
498         - more entries for the dir file
499         - use @copying so the copyright ends up in the HTML etc. output.
500           (This is the only really important change.)
501         - put @contents after the title page, for conventional toc location.
502         - use @ifnottex to wrap the Top node instead of @ifinfo, for the sake of
503           HTML output, etc.
505         * NEWS, configure.in, po/da.po, po/de.po, po/es.po, po/et.po,
506         po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po,
507         po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po,
508         po/sv.po, po/tr.po: Prepared to release findutils-4.2.15
510         * ChangeLog: Updated from CVS log.
512 2005-01-28  James Youngman  <jay@gnu.org>
514         * configure.in:
515         Make --enable-d_type-optimization and --enable-d_type-optimisation
516         both work.
518         * configure.in: Assume --enable-d_type-optimisation by default
520         * find/parser.c: Indicate which features are enabled/disabled
522         * locate/testsuite/config/unix.exp:
523         Clean up the files left behind by the locate_textonly test
525 2005-01-27  James Youngman  <jay@gnu.org>
527         * doc/find.texi: Documented --regex.
529         * NEWS, locate/locate.1, locate/locate.c, locate/testsuite/Makefile.am, locate/testsuite/config/unix.exp, locate/testsuite/locate.gnu/regex1.exp:
530         Implemented locate --regex - but needs documenting in Texinfo manual.
532 2005-01-25  James Youngman  <jay@gnu.org>
534         * configure.in: Bumped version no.
536         * doc/find.texi:
537         Document --mmap and --stdio as being synonyms of -m and -s.
539         * locate/locate.1:
540         Document --mmap and --stdio as synonyms of -m and -s.
542         * locate/locate.c:
543         Document -m and -s (both no-ops) in the usage message.
545         * doc/find.texi, locate/locate.1: Document -m and -s as no-ops.
547         * ChangeLog: Updated for release of findutils-4.2.14.
549         * 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:
550         Preparing to release findutils-4.2.14
552 2005-01-25  James Youngman  <jay@gnu.org>
554         * NEWS, configure.in, po/da.po, po/de.po, po/es.po, po/et.po,
555         po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po,
556         po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po,
557         po/sv.po, po/tr.po: Preparing to release findutils-4.2.14
559 2005-01-24  James Youngman  <jay@gnu.org>
561         * Makefile.am: Work around the fact that automake-1.7 actually
562         works, and correctly distributes regex.c; hence dist-hook should
563         only copy gnulib/lib/regex.c if this has not already been done.
565         * find/defs.h, find/find.c, find/pred.c,
566         find/testsuite/Makefile.am,
567         find/testsuite/find.gnu/printf-symlink.exp,
568         find/testsuite/find.gnu/printf-symlink.xo,
569         find/testsuite/find.gnu/xtype-symlink.exp,
570         find/testsuite/find.gnu/xtype-symlink.xo: Fixes for -xtype and
571         -printf %Y, which had been the wrong way around.
573         * NEWS: Avoid including the find.gnu subdirectory in the
574         distributed file more than once
576         * locate/locate.c:
577         Move the printing of the statistics into a new function, print_stats()
579         * find/testsuite/Makefile.am: Avoid including the find.gnu
580         subdirectory in the distributed file more than once
582         * import-gnulib.sh:
583         We need the regex module anyway, to allow compilation on Solaris
585 2005-01-23  James Youngman  <jay@gnu.org>
587         * configure.in:
588         Invoke gl_INCLUDED_REGEX directly to ensure successful compilation on
589         systems like Solaris, which lacks those functions in libc (fixes GNU
590         Savannah bug #11710).
592         * locate/locate.1: -S is a synonym for --statistics
594         * doc/find.texi: Documented the new -H, -L and -P options.
596         * locate/locate.1, locate/locate.c: Implement options -L
597         (default), -H and -P, which mean the same things as for find,
598         except for the fact that the default is -L rather than -P
600         * find/find.1: Corrected definition of the exit status for -quit.
602         * find/find.c, find/pred.c: If DEBUG_STAT is set, issue a debug
603         message when we call chdir() so that we can figure out what is
604         actually being stat()ed
606         * locate/updatedb.sh:
607         Removed spurious newline from help message (bug report from Karl
608         Berry).
610         * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot,
611         po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po,
612         po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po,
613         Makefile.am, NEWS, configure.in, find/defs.h, find/find.c,
614         find/parser.c, find/pred.c, find/tree.c, find/util.c,
615         import-gnulib.sh, lib/savedirinfo.c: Merged the d_type
616         optimisation code; this is disabled by default, and can be enabled
617         with 'configure --enable-d_type-optimisation'
619         * NEWS:
620         Updated optimisation NEWS item to indicate the effect on runtime.
622 2005-01-22  James Youngman  <jay@gnu.org>
624         * NEWS, configure.in: Prepare for release of findutils-4.2.12
626         * ChangeLog: Brought up to date with recent changes.
628         * Makefile.am, import-gnulib.sh, po/Makefile.in.in, po/Makevars,
629         po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot,
630         po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po,
631         po/pl.po, po/pt_BR.po, po/remove-potcdate.sin, po/ru.po, po/sk.po,
632         po/sv.po, po/tr.po: Switch to using the gnulib gettext module, to
633         ensure that 'make distcheck' works with current xgettext,
634         autoconf, etc.
636         * find/testsuite/config/unix.exp:
637         Oops, we do need to clean up after all.
639 2005-01-21  James Youngman  <jay@gnu.org>
641         * xargs/testsuite/Makefile.am: Added name of missing input file.
643         * find/testsuite/Makefile.am:
644         Distribute a few files that we had forgotten about
646         * xargs/testsuite/Makefile.am: Added some missing files.
648         * lib/Makefile.am: Also need buildcmd.h.
650         * xargs/testsuite/Makefile.am: Fixed a typo.
652         * NEWS: Indicate the d_type performance improvement
654 2005-01-18  James Youngman  <jay@gnu.org>
656         * lib/savedirinfo.h: Added on d_type_optimisation also
658         * lib/savedirinfo.c: Added on branch d_type_optimisation also.
660         * find/pred.c: Added assert that we actually know the file type by
661         the time pred_type() is called
663         * find/find.c: Always initialise state.have_stat = false when
664         starting to work with a new file
666 2005-01-17  James Youngman  <jay@gnu.org>
668         * ChangeLog: Brought up to date with recent changes.
670         * NEWS: Documented the changes so far.
672         * find/testsuite/find.gnu/exec-many-rtn-success.xo:
673         Expected output for exec-many-rtn-success.exp
675         * find/find.1:
676         Indicate that -quit still ensures that pending commands are invoked
678         * doc/find.texi:
679         Indicate that -quit still causes partial command lines to be invoked,
680         but there are some types of fatal error which leave such commands
681         uninvoked.
683         * find/defs.h, find/find.c, find/pred.c, find/testsuite/Makefile.am, find/testsuite/config/unix.exp:
684         Fixed savannah bug  #11625 Wrong return status for -exec ... \; when command fails; also execute any pending commands when doing -quit
686         * 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:
687         Various test cases for succeeding and failing forms of -exec \; and -exec {} +
689         * find/pred.c: "-exec ... {} +" always returns "true".
691         * configure.in, find/defs.h, find/find.c, find/parser.c, find/pred.c, find/tree.c, find/util.c:
692         Implemented d_type optimisation but not working correctly, so currently disabled
694         * lib/savedirinfo.h, lib/savedirinfo.c:
695         Initial implementation (temporarily disabled).
697         * lib/Makefile.am: Resolved merge conflict.
699         * lib/Makefile.am:
700         Make sure nextelem.h is included in the list of sources.
702         * find/parser.c, lib/nextelem.c, lib/nextelem.h, locate/locate.c:
703         Use prototypes for next_element() to make sure it is called correctly.
705 2005-01-16  James Youngman  <jay@gnu.org>
707         * find/find.c, find/pred.c:
708         When completing incomplete multiple execs, use 'eval_tree' not 'predicates'
710         * lib/buildcmd.c:
711         Oops, initialise state->cmd_initial_argv_chars to zero.
713         * find/find.1:
714         Document the way that -execdir and -okdir will refuse to wqork if ">"
715         is on $PATH.  Also document -okdir in the manpage.
717         * find/parser.c:
718         -execdir and -okdir are insecure if $PATH includes the current
719          directory, and so they refuse to work if the user has done that.
721         * find/pred.c:
722         Oops; for -exec ... {} +, pass arguments to bc_push_arg() in the right
723         order.   Problem spotted by Geoff Clare.
725         * TODO: Removed items which have now been done.
727         * lib/buildcmd.c: Tidied up formatting of arg list for bc_do_insert
729 2005-01-15  James Youngman  <jay@gnu.org>
731         * find/testsuite/find.gnu/printf.exp, find/testsuite/find.gnu/printf.xo:
732         Added extra tests for more printf formats; patch by Andreas Metzler
734         * locate/locate.c:
735         Ensure that the new long options have a relevang short option too.
736         Also bring usage message into line with the options actually
737         supported.  Thanks to Bas van Gompel for noticing this defect.
739         * locate/locate.1:
740         Escape "-" in SYNOPSIS.  Thanks to Bas van Gompel for noticing this
741         defect.
743         * ChangeLog: Fixed typos.
745         * doc/find.texi:
746         Documented -execdir, and the "+" variants of -exec and -execdir.
748         * find/find.1: Documented -execdir.
750         * xargs/xargs.c:
751         Updated to bring into line with bc_*() interface changes
753         * ChangeLog: Updated with recent changes.
755         * find/defs.h, find/parser.c, find/pred.c, lib/buildcmd.c, lib/buildcmd.h:
756         Implemented -execdir and -okdir
758         * find/defs.h, find/find.c, find/fstype.c, find/parser.c, find/pred.c, lib/buildcmd.c, lib/buildcmd.h, xargs/xargs.c:
759         First working version of -exec ...+
761 2005-01-09  James Youngman  <jay@gnu.org>
763         * find/defs.h, find/find.c, find/parser.c, find/pred.c, lib/buildcmd.c, lib/buildcmd.h, xargs/xargs.c:
764         Initial implementation of -exec ..{} +, but currently disabled since not yet working
766 2005-01-08  James Youngman  <jay@gnu.org>
768         * find/find.c: Fixed typo in comment.
770         * find/defs.h, find/find.c, find/parser.c, find/pred.c:
771         We now understand but do not implement -execdir (a *BSD invention, and a very useful security enhancement) and -okdir (the obvious companion to it)
773         * locate/bigram.c, locate/code.c, locate/frcode.c, locate/locate.c, xargs/xargs.c:
774         The GNU coding standard requires a space between the function name and
775         its parenthesised argument list.
777         * find/defs.h:
778         Understand the -exec ... {} \+ construction (for multiple
779         replacement).  No support yet.
781         * locate/locate.1:
782         Indicate that empty elements in the dbpath are treated as synonyms for
783         the default database.
785         * locate/locate.c:
786         Support empty elements in the dbpath as synonyms for the default
787         database.  These colons can be leading, trailing or in the middle of
788         the string.  We no longer com,plain if the user does this.
790         * lib/nextelem.c:
791         If curdir_ok is 0 and an element is empty, return "" instead of NULL
792         so that the caller knows to keep calling us.
794         * find/find.c, find/pred.c, import-gnulib.sh, locate/bigram.c, locate/code.c, locate/frcode.c, locate/locate.c, xargs/xargs.c:
795         Savannah bug 11517: find, xargs, locate, etc. should not hide write failures; patch from Jim Meyering
797         * 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:
798         changed .pot creation date
800         * THANKS, AUTHORS: Take into account the FSF copyright-assignments list
802         * doc/find.texi:
803         If -quit is used, the exit value can be nonzero if errors have occurred.
805         * find/find.1:
806         Removed incorrect comment about -H, -P and -follow in HISTORY.
808 2005-01-07  James Youngman  <jay@gnu.org>
810         * lib/Makefile.am, lib/buildcmd.c, lib/buildcmd.h, xargs/xargs.c:
811         Refactored xargs to use an external library function from the new file buildcmd.c
813         * configure.in: no longer the same as the released 4.2.11 version
815 2005-01-06  James Youngman  <jay@gnu.org>
817         * xargs/testsuite/inputs/lines.xi, xargs/testsuite/xargs.posix/l2.exp, xargs/testsuite/Makefile.am:
818         Tests for the -L option
820         * xargs/testsuite/config/unix.exp: When a test fails, show the diffs
822         * xargs/testsuite/xargs.posix/l2.exp, xargs/testsuite/xargs.posix/l2.xo:
823         tests for the -l option
825         * xargs/testsuite/Makefile.am: Added extra test files
827         * xargs/testsuite/xargs.sysv/trace.exp, xargs/testsuite/xargs.sysv/trace.xe, xargs/testsuite/xargs.sysv/trace.xo:
828         Added tests for the -t option
830         * 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:
831         Use a blanks-only input file for cases where there is supposed to be no output
833         * xargs/testsuite/inputs/blank.xi: Initial version.
835         * xargs/xargs.1:
836         Corrected a typo; also indicate that it's impossible to use xargs
837         securely due to the race condition.
839 2005-01-05  James Youngman  <jay@gnu.org>
841         * find/parser.c:
842         Fixed Savannah bug 11495: fallthrough from -printf format processing
843         from 'n' case to 'd' case.
845 2005-01-03  James Youngman  <jay@gnu.org>
847         * doc/find.texi:
848         Oops.  Had duplicated an entire section.  Fortunately this was after
849         @bye, so there was no adverse effect.
851         * NEWS: locate -b.
853         * doc/find.texi, locate/locate.1: document locate -S
855         * configure.in, doc/find.texi, locate/locate.1, locate/locate.c:
856         Support locate -b as a synonym for locate --basename
858         * 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:
859         distcheck
861         * find/testsuite/config/unix.exp:
862         Clean up (delete) find.out at at the end of the test.
864         * NEWS, doc/find.texi, find/defs.h, find/find.1, find/find.c, find/parser.c, find/pred.c:
865         Implemented the -samefile test for find
867 2005-01-02  James Youngman  <jay@gnu.org>
869         * ChangeLog: Updated with recent changes.
871         * NEWS:
872         Bas van Gompel: two-line patch to locate.c to make locate's -i and -w
873         options work if -e is in use.
875         * THANKS: Added Bas van Gompel.
877         * locate/locate.c:
878         Bas van Gompel: (visit_exists) when testing for the existence of the
879         file, check the real filename [printname], not the case-converted
880         filename [testname].  Really these argument names are badly chosen.
882         * find/find.1, doc/find.texi:
883         Improved the documentation for -perm, with plenty of examples,
884         following a comment by Dan Jacobson that the comment "Symbolic modes
885         use mode 0 as a point of departure" is baffling and unhelpful.
887         * locate/locate.c:
888         Suggestion and patch from Bas van Gompel: (new_locate): Fix display of
889         negative compression ratios.
891 2004-12-31  James Youngman  <jay@gnu.org>
893         * NEWS: Brought up to date with recent changes
895         * doc/find.texi:
896         Don't need to nest the "race conditions with..." sections so deeply.
898         * doc/find.texi: Corrected some spelling errors.
900         * doc/find.texi: Added new "Security Considerations" chapter.
902 2004-12-23  James Youngman  <jay@gnu.org>
904         * locate/locate.c:
905         Applied bugfixes from Bas van Gompel <patch-findutils.buzz@bavag.tmfweb.nl>.
906         (lc_strcpy): Zero-terminate result.
907         (add_visitor): Update lastinspector.
908         (visit_substring_match_casefold): fix off-by-one error.
909         (new_locate): Move visit_exists down to improve performance.
910         (new_locate): Don't fold case when getting stats.
912 2004-12-19  James Youngman  <jay@gnu.org>
914         * doc/find.texi:
915         Indicate that "cd /; find tmp -wholename /tmp" will never match anything.
917         * doc/find.texi: Documented locate --statistics.
919         * locate/locate.1: Documented the --statistics option.
921         * locate/locate.c: Added support for the -S option.
923 2004-12-12  James Youngman  <jay@gnu.org>
925         * NEWS: Added a summary of the changes so far.
927         * find/tree.c: Made some of the error messages more self-explanatory
929         * find/pred.c: Print pointers with %p, not %x.
931         * find/find.c: Moved option data into struct options.
933         * find/find.1: clarifications
935         * find/testsuite/find.gnu/comma.exp:
936         Limit the amount of searching with maxdepth.
938         * doc/find.texi: clearer description of how -prune works
940         * ChangeLog: Removed duplicate entry.
942         * configure.in, find/defs.h, find/find.c, find/fstype.c, find/parser.c, find/pred.c, find/tree.c, find/util.c:
943         Separated ariables representing current state from variable representing option information
945 2004-12-11  James Youngman  <jay@gnu.org>
947         * find/parser.c: Readability improvement to the usage message.
949         * find/find.c: Oops.  Fixed unmatched #endif.
951         * find/testsuite/find.gnu/printf.exp, find/testsuite/find.gnu/printf.xo, THANKS, configure.in, find/testsuite/Makefile.am, find/testsuite/config/unix.exp:
952         Fixed Savannah bug #11280
954         * find/find.c:
955         Remember to set path_length and curdepth in process_top_path().
957 2004-12-07  James Youngman  <jay@gnu.org>
959         * find/fstype.c: Use xstat() not stat() to examine things.
961         * find/find.c: Explain why #ifdef EOVERFLOW.
963         * find/find.c: EOVERFLOW is not defined on UNICOS.
965         * NEWS: Corrected typo.
967 2004-12-06  James Youngman  <jay@gnu.org>
969         * ChangeLog: Brought up to date.
971         * NEWS, configure.in: releasing 4.2.10
973         * 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:
974         distcheck
976         * ChangeLog: Updated prior to release of finsutils-4.2.10.
978         * import-gnulib.sh, find/fstype.c:
979         Use gnulib's mountlist module instead of grokking it ourselves.
981         * configure.in:
982         Removed all the out-of-date cruft for grokking getmntent().
984         * xargs/xargs.c:
985         Added the -I and -L options; also -E takes an argument which is not optional.
987 2004-12-05  James Youngman  <jay@gnu.org>
989         * README, configure.in, find/defs.h, find/find.c, find/parser.c, find/pred.c, find/tree.c:
990         Allow debug output to be turned on or off by saying --enable-debug on the configure command line
992         * README:
993         Removed disparaging (it is now, it probably wasn't then) comment about
994         the production-readiness of Automake.
996         * README: Qualify remarks about POSIX compliance.
998         * NEWS, configure.in: Preparation for release 4.2.9
1000         * 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:
1001         distcheck
1003         * ChangeLog: Brought up to date.
1005         * find/find.c:
1006         Avoid duplicate error message when we cannot chdir() into a subdirectory.
1008         * THANKS: Added recent thankees.
1010         * NEWS:
1011         Brought up to date with respect to the current set of fixed bugs.
1013         * NEWS, xargs/xargs.1, xargs/xargs.c:
1014         Implemented POSIX options -L, -I and -E
1016 2004-12-03  James Youngman  <jay@gnu.org>
1018         * find/parser.c:
1019         -xdev is an option, not a test.   Fixes Savannah bug 11192.
1021         * find/find.1, xargs/xargs.1:
1022         Escape dashes with a backslash (for fix Savannah bug 11189).
1024 2004-11-27  James Youngman  <jay@gnu.org>
1026         * find/find.c:
1027         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.
1029         * find/find.1: "necessary" only has one "C".
1031         * find/find.1:
1032         If stat() fails with ELOOP, we issue a diagnostic message.
1034 2004-11-26  James Youngman  <jay@gnu.org>
1036         * find/find.c: Removed some unused code.
1038         * Makefile.am: Don't do anything in the 'intl' subdirectory
1040         * find/find.c:
1041         Enhanced safely_chdir() to the point where the test suite passes, and report infinite loops in the directory hierarchy
1043         * find/defs.h:
1044         belt and braces; ensure that SYMLINK_NEVER_DEREF has value zero
1046         * find/find.1:
1047         Describe our strategy for detecting and reporting infinite loops
1049 2004-11-24  James Youngman  <jay@gnu.org>
1051         * doc/find.texi:
1052         Updated the discussion of th error messages for findutils-4.2.8.
1054         * configure.in: Next version will be 4.2.9...
1056         * find/find.c:
1057         Don't issue a warning if we notice the mounting of a filesystem that's
1058         likely just to be an automounter.
1060         * doc/find.texi, find/find.1:
1061         Explain how rounding is performed for -atime and friends.
1063         * xargs/xargs.c:
1064         Once we collect enough arguments (for the value specified by the -n
1065         option) to do an exec(), do it immediaely instead of waiting for the
1066         next one to arrive.  This fixes Savannah bug #7340.
1068         * ChangeLog, configure.in, NEWS: Prepare to release 4.2.8.
1070         * NEWS: Updates for 4.2.8.
1072         * configure.in: check for  sys/types.h
1074         * find/find.c:
1075         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.
1077         * find/defs.h:
1078         Declarations of xmalloc() and friends belong in xalloc.h, not in defs.h
1080         * find/parser.c: avoid signed/unsigned warning, and #include xalloc.h
1082         * find/fstype.c:
1083         Changed to alloc get_mounted_devices() to compile on Solaris
1085         * README-CVS:
1086         Automake requires GNU m4, so point out that the reader needs that.
1088         * find/defs.h, find/find.c, find/fstype.c:
1089         When wd_sanity_check() fails, enumerate the mounted devices, rather than the mounted filesystem names
1091         * NEWS: prepare for 4.2.8
1093         * configure.in:
1094         Look for some Solaris headers which are used by get_mounted_devices()
1096         * lib/Makefile.am: don't build savedirtypes yet
1098         * 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:
1099         updated po files
1101         * m4/nullsort.m4:
1102         Avoid suprious output of the test data when the tests fail.
1104 2004-11-21  James Youngman  <jay@gnu.org>
1106         * 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:
1107         Messages changed again
1109         * ChangeLog, configure.in: Preparing to release 4.2.7.
1111         * NEWS: Updated for release of 4.2.7.
1113         * import-gnulib.sh: Also need canonicalize module.
1115         * find/find.c:
1116         When checking to see if a filesystem has changed state, use an
1117         absolute pathname.
1119         * configure.in:
1120         No need to pause to allow James to view his handiwork, it (allegedly)
1121         works now.
1123         * configure.in:
1124         Oops.  Check for setlocale() to re-enable the i18n support which was
1125         accidentally disabled in 4.2.5.
1127         * find/find.c:
1128         Check to see if the new directory is a transitioned mount point by
1129         using its ABSOLUTE name, if we can figure it out.
1131         * doc/find.texi:
1132         Added guidance on some of the error messages.  Not the most common
1133         ones, but the ones where the user might most benefit from some handy
1134         hints or an explanation of what is going on.
1136         * find/pred.c:
1137         Actually emit an error message if we fail to stat a symlink (for
1138         reasons other than nonexistence of the link and infinite loop).
1140         * doc/texinfo.tex: Updated texinfo.tex
1142         * NEWS, configure.in, find/find.c, find/fstype.c:
1143         Enable the 'Warning: filesystem XXX has recently been mounted' check on Solaris, which prevents it exiting fatally when traversing an automount mount point
1145         * 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:
1146         messages changed again
1148         * NEWS: Implemented xargs --arg-file.
1150         * doc/find.texi, xargs/xargs.1, xargs/xargs.c, NEWS:
1151         Implemented xargs --arg-file
1153         * find/find.c:
1154         Where a filesystem was recently (un)mounted, try togive its full name
1156         * configure.in:
1157         Try to avoid requesting -lsun if we don't seem to need it (e.g. on
1158         UNICOS where it is not present and trying to link against it produces
1159         a warning).
1161         * find/defs.h, lib/modetype.h: Guard against multiple inclusion
1163         * find/fstype.c:
1164         We now need <mntent.h> even if we are not using getmntent() to figure
1165         out the type of a filesystem, because wd_sanity_check() needs to
1166         enumerate the system mount points.
1168         * configure.in: Next release will be 4.2.7.
1170         * find/fstype.c:
1171         get_mounted_filesystems() should use getmntent() if that function is
1172         present, rather than just if configure didn't find anything better for
1173         filesystem_type_uncached() to use than that.
1175         * find/parser.c:
1176         If -delete is the only action on a file, don't assume the default
1177         -print action too.
1179         * 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:
1180         Preparation to release findutils-4.2.6.
1182         * find/Makefile.am, xargs/Makefile.am:
1183         Enable checking of support for --version and --help
1185         * locate/Makefile.am:
1186         Con't check command-line options for frcode, code or bigram
1188         * locate/code.c: Support --version and --help.
1190         * ChangeLog: *** empty log message ***
1192         * find/defs.h, find/find.c, find/fstype.c, lib/Makefile.am, lib/extendbuf.c, lib/extendbuf.h, NEWS:
1193         Avoid fatal error if automount mounts a filesystem on a directory because we chdir()ed into it
1195         * configure.in: Next release will be 4.2.6.
1197         * find/find.1:
1198         Indicate that the '-' flag does work for most fields.   Also provide
1199         an example of using the comma operator to traverse the filesystem just
1200         once but search for more than one thing.
1202         * doc/find.texi: Indicate that the '-' flag does work for most fields.
1204 2004-11-19  James Youngman <jay@gnu.org>
1206         * configure.in: releaseing findutils-4.2.5
1208         * find/testsuite/Makefile.am, locate/testsuite/Makefile.am, xargs/testsuite/Makefile.am:
1209         If a directory has no Makefile.am, omit it from the parent's DIST_SUBDIRS - automake-1.9 requires this
1211         * 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:
1212         updated by make distcheck
1214         * ChangeLog, NEWS: Updated for release 4.2.5.
1216         * find/find.1, doc/find.texi:
1217         Tell the reader that format flags may not work as they expect.
1219         * configure.in:
1220         Use the correct name for the macro gl_AC_TYPE_LONG_LONG (not
1221         jm_AC_TYPE_LONG_LONG).
1223 2004-11-15  James Youngman <jay@gnu.org>
1225         * import-gnulib.sh:
1226         Avoid test -e because not all systems are POSIX-compliant (bug
1227         #11005).  Also don't need regex module any more if we're not building
1228         in intl.
1230         * Makefile.am, configure.in:
1231         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
1233         * doc/find.texi:
1234         Use @ref not @xref for a reference at the beginning of a sentence.
1236         * intl/Makefile.in:
1237         Make sure gnulib.lib is on the #include path (Savannah bug #11002)
1239         * locate/locate.c:
1240         Use base_name instead of basename - fixes Savannah bug 11003.
1242         * configure.in, find/defs.h, find/find.c, find/parser.c, find/pred.c, locate/bigram.c, locate/locate.c:
1243         Don't need banner to emphasise the location of the call to jy_SORTZ
1245 2004-11-12  James Youngman <jay@gnu.org>
1247         * 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:
1248         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]
1250 2004-11-11  James Youngman <jay@gnu.org>
1252         * NEWS, doc/find.texi, find/defs.h, find/find.1, find/find.c, find/parser.c:
1253         Implemented -H and -L options.
1255         * find/util.c: Added in the -H and -L options on the usage message.
1257 2004-11-10  James Youngman <jay@gnu.org>
1259         * doc/find.texi, find/find.1, find/parser.c, find/pred.c:
1260         Implemented %M and %A+ format specifiers
1262         * doc/find.texi, find/find.1, find/parser.c, find/pred.c:
1263         Documented the fact that only %d and %m format specifiers honour the various formatting flags
1265         * xargs/xargs.c:
1266         Get the right number of bytes in a Kilobyte (hint: it's not 1048; that
1267         was a typo, honest :)
1269         * po/pl.po: Applied Polish translations
1271 2004-11-08  James Youngman <jay@gnu.org>
1273         * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po:
1274         distcheck changed the po files again
1276         * locate/Makefile.am:
1277         Make install-data-hook honour the setting of DESTDIR so that "make
1278         DESTDIR=/tmp/foo install" works and puts localstater in the right
1279         place.
1281         * configure.in: We're now working on findutils-4.2.5.
1283         * doc/find.texi, xargs/xargs.1:
1284         Point out that xargs -i only splits input items at newlines
1286         * ChangeLog: Indicate that we released 4.2.4.
1288         * ChangeLog: Updated for release 4.2.4
1290         * NEWS, configure.in: Prepare for release of 4.2.4.
1292         * NEWS: Brought up to date with latest changes.
1294         * 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:
1295         Turn warning messages off by default if stdin is not a tty; allow these to be controlled explicitly by options -warn and -nowarn
1297         * po/et.po, po/it.po: Updated translation files
1299         * po/sk.po: New translation file
1301         * po/fr.po, po/nl.po, po/tr.po: Updated translation files
1303         * configure.in: Added Slovak (sk) language.
1305         * xargs/xargs.c:
1306         Enforcing a lower limit on the value specified by -s makes the test
1307         suite fail.  Removed that lower limit.
1309         * locate/Makefile.am: Oops, multilocate doesn't exist yet.
1311         * NEWS: *** empty log message ***
1313         * doc/find.texi, locate/updatedb.1, locate/updatedb.sh:
1314         Added option --findoptions to updatedb
1316         * locate/Makefile.am, locate/locatedb.5, locate/updatedb.1, xargs/xargs.1:
1317         Fixed section numbers in manpage titles and cross-references
1319         * NEWS, doc/find.texi, xargs/xargs.1, xargs/xargs.c:
1320         Increased the default argument length and improved POSIX compliance of the handling of out-of-range values for the -s option
1322 2004-11-07  James Youngman <jay@gnu.org>
1324         * m4/Makefile.am:
1325         Added in the extra files we need to distribute, nullsort.m4
1326         order-bad.bin order-good.bin
1328         * doc/find.texi: Documented locate's --limit option
1330         * locate/locate.1, locate/locate.c:
1331         Implmented --limit and corrected the implementation of the -i option.
1333 2004-11-06  James Youngman <jay@gnu.org>
1335         * NEWS, doc/find.texi, locate/locate.1:
1336         Documented --wholename and --basename and updated the NEWS file
1338         * README-CVS:
1339         Give the autogen commands in a form that you can usefully cut and paste into a shell
1341         * NEWS: Options --null and --count) for locate
1343         * lib/nextelem.c:
1344         Don't return '.' for an empty path element, because the path we are splitting may not be intended to contain directories
1346         * configure.in: we're working on findutils-4.2.4 now
1348         * locate/Makefile.am: Substitute @SORT_SUPPORTS_Z@
1350         * doc/find.texi:
1351         Documented new locate option --null and newline handling
1353         * locate/locate.1, locate/locate.c:
1354         New locate options --null, --wholename, --basename, --count
1356         * locate/frcode.c, locate/updatedb.1, locate/updatedb.sh:
1357         correctly handle newlines in the file names
1359         * configure.in: Determine if sort -z works
1361         * m4/nullsort.m4, m4/order-bad.bin, m4/order-good.bin:
1362         jy_SORTZ: a macro to determine if the system has a sort command with a working -z option
1364 2004-11-01  James Youngman <jay@gnu.org>
1366         * NEWS: Fixed "find -printf '%H\n'".
1368         * find/find.c:
1369         Avoid segfault if -printf %H is used where the matched file was the default, unspecified starting point, the current directory
1371 2004-10-31  James Youngman <jay@gnu.org>
1373         * find/find.1, find/parser.c: NetBSD also supports -d.
1375         * find/find.1, doc/find.texi:
1376         Documented the behaviour of -daystart and -follow in more detail
1378         * find/parser.c: Corrected the usage message.
1380         * find/parser.c:
1381         When deciding whether to issue a warning about options following
1382         non-options, ignore any options whose position affects the tests
1383         (i.e. -daystart and -follow).
1385         * find/parser.c: -daystart is a positional option like -follow.
1387         * find/parser.c:
1388         Issue a warning message if an option is specified after a test or an
1389         action (because the user might have believed that the behaviour of the
1390         option is in some way conditional on the preceding tests).
1392         * locate/updatedb.sh:
1393         Oops; removed some test code that I shouldn't have checked in.
1395         * locate/updatedb.sh:
1396         Indicate that the old locate database format will shortly be unsupported.
1398         * doc/find.texi:
1399         Use @direntry instead of hard-coding START-INFO-DIR-ENTRY inside @ifinfo.
1401         * locate/updatedb.1: Updated default location of locatedb file.
1403         * README-alpha:
1404         Updated to give correct FTP location and to not talk about "test"
1405         versions of automake, which are no longer required.
1407         * locate/updatedb.sh:
1408         Incorporated the default list of filesystems to avoid from the Debian
1409         package.  Also added /afs and /sfs to the default pruned paths.
1411         * configure.in: Released findutils 4.2.3
1413         * 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:
1414         did make distcheck, which updates these files
1416         * find/defs.h, find/fstype.c:
1417         Use const qualifier in arguments to filesystem_type() to allow callers with const variables to use them
1419         * ChangeLog: Updated.
1421         * NEWS: Added new news.
1423         * find/find.c:
1424         Extra diagnositcs for the case where we have the error "%s changed
1425         during execution of %s" - that is when we chdir back to the parent
1426         directory only to find that it has changed.
1428 2004-10-30  James Youngman <jay@gnu.org>
1430         * .cvsignore, NEWS, doc/find.texi, find/defs.h, find/find.1, find/parser.c, find/pred.c:
1431         Implemented the -quit action
1433         * NEWS, doc/find.texi, find/find.1, find/parser.c, find/pred.c:
1434         Refactored time handling routines in preparation for support of absolute timestamp comparison predicates
1436         * locate/locate.c:
1437         Applied Savannah patch #2952 ("getline off-by-one bugfix").
1439         * NEWS, doc/find.texi, find/defs.h, find/find.1, find/parser.c, find/pred.c:
1440         Added -delete action (Savannah patch #3454 with additions)
1442         * locate/locate.c:
1443         Applied Savannah patch #2692 (allowing get_short to process negative integers).
1445         * find/find.c:
1446         If we are iossuing an error message because $FIND_BLOCK_SIZE is set,
1447         ignore the setting of errno.
1449         * find/parser.c: More fixes for pedantic compiler warnings
1451         * NEWS, find/parser.c, find/tree.c: Eliminated some compiler warnings
1453         * find/find.c, find/parser.c, find/pred.c:
1454         Various fixes for compiler warninga sbout unreachable code or unused function arguments
1456         * intl/plural.y: Silence compiler warning about unused argument.
1458         * locate/testsuite/Makefile.am:
1459         Subdirectory "inputs" does not exist, so remove it from DIST_SUBDIRS.
1461         * locate/locate.c:
1462         Corrected the explanation of why we have to use no parentheses around
1463         the String argument to the N_ macro in its expansion.
1465         * configure.in: Nextr release is 4.2.3.
1467         * configure.in: IOndicate this is no longer the pristine release.
1469         * NEWS:
1470         Oops, comments for release 4.2.0 should have said 20480 bytes, not 2480.
1472         * lib/listfile.c:
1473         The -ls predicate should not truncate usernames.  Fixes Savannah bug #10800.
1475         * find/fstype.c, locate/locate.c:
1476         Fixes for Savannah bug #3727 (Intel icc compilation errors).
1478 2004-10-25  James Youngman <jay@gnu.org>
1480         * doc/find.texi, find/find.1, find/parser.c, find/pred.c:
1481         Support -printf %D, which prints the device number of the containing filesystem
1483         * locate/updatedb.sh:
1484         Avoid confusion between James Woods and James Youngman, by using the
1485         disambiguating surname.
1487         * find/parser.c: Use RE_ICASE instead of re->translate.
1489         * configure.in, find/parser.c, find/pred.c, xargs/xargs.c:
1490         No need to #define _GNU_SOURCE if we use gl_INIT.
1492 2004-10-24  James Youngman <jay@gnu.org>
1494         * ChangeLog: Prepared to release findutils-4.2.2.
1496         * 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:
1497         Updates prior to release of 4.2.2
1499         * NEWS: Updated with news for findutils-4.2.2.
1501         * 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:
1502         Corrected typo in the address of the FSF office
1504         * lib/strspn.c: Updated FSF address.
1506         * m4/.cvsignore: 'cvs status' should ignore Makefile.in
1508         * 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:
1509         Use gnulib-tool --import to import the gnulib code, rather than the odd way we were doing it before
1511         * 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:
1512         Work round an apparent compiler bug in HP-UX 11.23 for
1513         ia64
1515         * locate/locate.c:
1516         Work around what appears to be a C compiler bug in HP-UX 11.23 for
1517         ia64.
1519         * INSTALL, depcomp, install-sh, missing, mkinstalldirs:
1520         Updated from automake
1522         * locate/bigram.c, locate/code.c, locate/frcode.c, locate/locate.c, xargs/xargs.c, find/find.c:
1523         Avoid use of exit() within main, to silence warnings about unreachable code
1525 2004-10-22  James Youngman  <jay@gnu.org>
1527         * doc/find.texi: Syntax corrections.
1529         * doc/find.texi: Indicate that "-exec {}+" is not yet supported.
1531         * find/find.1: Indicate that "{}+" is not yet supported.
1533         * find/testsuite/find.gnu/name-period.xo, find/testsuite/find.gnu/name-period.exp, find/find.1, doc/find.texi:
1534         The -name predicate must allow '*' to match '.foo' as demanded by IEEE
1535         Std 1003.2-1992 Interpretation #126.
1537         * find/pred.c:
1538         Remove use of FNM_PERIOD for -name as demanded by IEEE Std 1003.2-1992
1539         Interpretation #126
1541         * find/parser.c: Fix for compilation (on AIX 4.3) with GCC 2.x.
1543         * xargs/xargs.c:
1544         Changed the erorr message issued when there is an unmatched quote to
1545         point out that the user might have wanted to use the -0 option instead.
1547 2004-10-17  James Youngman  <jay@gnu.org>
1549         * configure.in:
1550         Define intmax_t if it is not already defined - allows parser.c to compile on AIX 4.3
1552         * configure.in:
1553         Adjust version number to indicate that this s/w has moved on since the
1554         4.2.1 release.
1556         * configure.in: preparing to release 4.2.1
1558         * ChangeLog: updated with current changes
1560         * README-CVS: Updated to go with newer version of gnulib.
1562         * 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:
1563         preparation for release
1565         * NEWS: Mention the changes to "trap".
1567         * NEWS: Brought up to date.
1569         * import-gnulib.sh:
1570         Use xalloc-die module from gnulib, since that has now been split out
1572         * find/parser.c:
1573         Check fnmatch() when other predicates that rely on fnmatch() are used.
1575         * find/parser.c: bug #10701: find needs fnmatch sanitycheck on startup
1577 2004-10-16  James Youngman <jay@gnu.org>
1579         * import-gnulib.sh:
1580         Switch to requirement for GNU fnmatch because it supports FNM_CASEFOLD.
1582         * locate/updatedb.sh:
1583         Bug #9465: use of signal numbers for 'trap' is deprecated.  Should use
1584         names instead.  See
1585         http://www.opengroup.org/onlinepubs/009695399/utilities/trap.html,
1586         which indicates that support for signal numbers is optional, while
1587         support for signal names is mandatory.
1589         * configure.in:
1590         Indicate that this is the CVS version (once again) now that findutils
1591         4.2.0 has been released.
1593         * 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:
1594         findutils 4.1.20 check-in for tagging
1596 2004-10-02  James Youngman <jay@gnu.org>
1598         * po/Makefile.in.in:
1599         Search in $(top_srcdir) for mkinstalldirs, since that's where we keep it.
1601         * NEWS: Brought up to date, organised more clearly, and tidied up.
1603         * NEWS: brought up to date with recent changes
1605         * locate/testsuite/config/unix.exp, locate/testsuite/locate.gnu/ignore_case1.exp, locate/testsuite/locate.gnu/ignore_case3.exp, locate/updatedb.sh:
1606         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
1608         * find/pred.c:
1609         Fixed usage of human_readable() in '%k' format specifier to fix a bug
1610         reported by Dmitry V. Levin (arguments to human_readable() were
1611         specified in the wrong order, which resulted in a floating-point
1612         error).
1614 2004-08-08  James Youngman <jay@gnu.org>
1616         * locate/updatedb.sh:
1617         cd to / to avoid inability to examine the current directory if we're
1618         invoked via cron (and hence in root's home directory for example).
1620         * doc/find.texi, find/find.1:
1621         Deprecate -path and -ipath in favour of -wholename and -iwholename
1623         * find/parser.c:
1624         As per RMS's suggestion, deprecate -path and -ipath in favour of
1625         -wholename and -iwholename.
1627         * locate/locate.c:
1628         Fixed Savannah bug #9923, in which get_short() returns large positive
1629         ints when it should be returning negative shorts.
1631         * xargs/xargs.1:
1632         Applied documentation improvements suggested by Dan Jacobson
1633         <jidanni@jidanni.org>.
1635         * xargs/xargs.c:
1636         Don't check size_of_environment against arg_max since that causes the
1637         test suite to fail.
1639         * xargs/xargs.1, xargs/xargs.c: Better documentation for the -i option
1641 2004-05-03  James Youngman <jay@gnu.org>
1643         * find/find.1:
1644         document the various suffixes for -size and also the new 
1645         option -ignore_readdir_race
1647         * locate/locate.c:
1648         Fixes Savannah bug #8623 (failure to check consistency of data 
1649         read from locate database)
1651         * locate/updatedb.sh:
1652         Resolves Savannah bug 4380, that updatedb generates an empty
1653         database if one of the commands fails
1655         * NEWS: Talk about -ignore_readdir_race
1657         * doc/find.texi:
1658         Documented -ignore_readdir_race and -noignore_readdir_race
1660         * find/find.c:
1661         -ignore_readdir_race should have no effect if the reason for the
1662          failure of stat(2) was anything other than ENOENT.
1664         * find/defs.h, find/find.c, find/parser.c:
1665         Fixed Savannah bug 4391 (readdir race condition leading to 
1666         spurious error messages)
1668 2004-04-24  James Youngman <jay@gnu.org>
1670         * README-CVS: Corrected the instructions for getting gnulib via CVS.
1672 2004-04-13  James Youngman <jay@gnu.org>
1674         * doc/find.texi:
1675         Actioned Savannah bug #8558 (find complains when it tries to recurse
1676         into directories that it had removed).
1678 2004-03-13  James Youngman <jay@gnu.org>
1680         * ChangeLog: Updated from checkin comments.
1682         * find/find.c:
1683         Oops, there is no access to the predicate name table if DEBUG is 
1684         not #defined.
1686         * find/parser.c:
1687         Detect arithmetic overflow (poorly) in insert_time(), which diagnoses
1688         the failure to handle large arguments to -mtime.  The existing code
1689         does careful computation and then bungs the value into a time_t, which
1690         ruins all our careful effort.  The new code is not a great
1691         improvement.  We just check the result to detect overflow, rather than
1692         actually avoiding the overflow.
1694         * find/find.c:
1695         Fixed Debian bug #185202 by checking for any trailing predicates after
1696         the top-level invocation of get_expr() has done its work.
1698         * locate/locate.1, xargs/xargs.1:
1699         Fixed Debian bug 175372, inappropriate 'L' suffixes on manual 
1700         page section indicators
1702         * find/find.1:
1703         Removed "L" suffixes from manual page section indicators, to fix
1704         Debian bug 175372.
1706         * debian/updatedb.conf:
1707         Updated with list of filesystems from current Debian release.  This
1708         includes devfs, for example.
1710         * xargs/xargs.1:
1711         Modified documentation of "-s" option to take into account the fix for
1712         Debian bug #176201.
1714         * xargs/xargs.c:
1715         Fixed Debian bug #176201, "xargs enviroment size limited to 20k", by
1716         reading a patch offered by Bob Prolux and implementing something
1717         substantially similar myself.
1719 2004-01-03  James Youngman  <jay@gnu.org>
1721         * xargs/xargs.c:
1722         Indicate that prep_child_for_exec() fixes Savannah bug #3992.
1724         * xargs/xargs.c:
1725         Attach the stdin of xargs' child process to /dev/null so that if it
1726         tries to read from its stdin it doesn't consume any of the list of
1727         files that xargs is trying to use.
1729         * find/find.1:
1730         Documented that the -regex option follows Gnulib's re_match() 
1731         implementation.
1733         * NEWS, locate/locate.c: Applied Savannah patch 2108
1735         * xargs/xargs.c: Applied Savannah patch 1500
1737         * find/find.1, doc/find.texi:
1738         Improved the documentation for the %k and %b format specifiers to
1739         -printf (Savannah bug #5034).  Also pointed out that this handling is
1740         different to that used by the "b" and "k" suffixes with "-size".
1742         * find/find.1: Improved the documentation for %k (Savannah bug #5034).
1744         * find/find.1:
1745         Improved the documentation for -print0 in the manpage, fixing Debian
1746         bug 111143.
1748         * README-CVS, find/pred.c, lib/listfile.c:
1749         Brought up-to-date with change in gnulib's human.c - we no longer 
1750         use human_readable_inexact(), because it is no longer provided.
1752 2003-08-08  James Youngman  <jay@gnu.org>
1754         * find/find.1:
1755         Documented the fact that -printf also supports the '\0' escape code.
1756         Added "STANDARDS CONFORMANCE" section.
1758 2003-08-02  James Youngman  <jay@gnu.org>
1760         * find/find.1:
1761         Explain that braces are not special when performing filename matching
1762         with -name.
1764         * find/find.1:
1765         added example of the use of -exec to the EXAMPLES section
1767         * find/fstype.c, locate/locate.c:
1768         Savannah bug #4295 - implicit declarations of ctype.h functions
1770         * locate/locate.c:
1771         Savannah bug #4279 - missing newline on locate help message
1773         * find/find.1, xargs/xargs.1:
1774         Improved discussion of the -print0 option of find and the -0 option of xargs
1776 2003-06-26  James Youngman  <jay@gnu.org>
1778         * import-gnulib.sh:
1779         Remove reference to nonexistent module "basename" ("dirname" exists
1780         and we already use that).
1782 2003-06-21  James Youngman  <jay@gnu.org>
1784         * doc/find.texi:
1785         Indicate that xargs stops immediately if a command exits with status 255
1787         * xargs/xargs.1:
1788         Document the fact that xargs exits immediately with an error message
1789         if the command it executes exits with a status of 255.
1791 2003-06-18  James Youngman  <jay@gnu.org>
1793         * find/find.1:
1794         Indicate that -fls and friends always create their output file
1796 2003-06-16  James Youngman  <jay@gnu.org>
1798         * ChangeLog, find/find.1, locate/locate.1, locate/locatedb.5, locate/updatedb.1, xargs/xargs.1:
1799         Added BUGS section to manual pages.   This section includes information about known bugs and how to report new bugs.
1801         * AUTHORS: Identify the current maintainer.
1803         * TODO: Removed the TODO items which have now been done.
1805         * THANKS: Added Bruno Haible and Bob Prolux.
1807         * xargs/xargs.c: xargs/xargs.c (DO_MULTIBYTE): New macro.
1808         (mbstrstr): New function.
1809         (do_insert): Use it instead of strstr.
1811         * config.guess, config.sub:
1812         Use config.guess and config.sub from automake
1814         * find/fstype.c:
1815         Bruno Haible: (fstype_to_string) Don't define this function if
1816         HAVE_F_FSTYPENAME_IN_STATFS is defined.
1818         * configure.in:
1819         Bruno Haible: Prefer the 4.4BSD API (if present) to the 4.3BSD API,
1820         because some 4.4BSD systems have <mntent.h> but no /etc/mtab file.
1822         * doc/find.texi, find/find.1:
1823         Applied patch 1498 (documenting the backslash escape sequence)
1825         * locate/updatedb.sh: Applied (my own version of) Savannah patch 1601.
1827         * doc/find.texi:
1828         Applied Savannah patch #1547 (document the fact that printf
1829         field-width specifiers are supported).
1831         * xargs/xargs.c:
1832         Applied Savannah patch #1499 (adds final newline to usage message).
1834 2003-06-14  James Youngman  <jay@gnu.org>
1836         * NEWS, configure.in:
1837         Updated version number to 4.2.0-CVS [not ready for release yet]
1839         * 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, lib/Makefile.am, lib/Makefile.in, lib/alloca.c, lib/ansi2knr.1, lib/ansi2knr.c, lib/argmatch.c, lib/argmatch.h, lib/basename.c, lib/basename.h, lib/dirname.c, lib/dirname.h, lib/error.c, lib/error.h, lib/fileblocks.c, lib/filemode.c, lib/filemode.h, lib/fnmatch.c, lib/fnmatch.h, lib/getline.c, lib/getline.h, lib/getopt.c, lib/getopt.h, lib/getopt1.c, lib/human.c, lib/human.h, lib/idcache.c, lib/listfile.c, lib/malloc.c, lib/memcmp.c, lib/memcpy.c, lib/memset.c, lib/mktime.c, lib/modechange.c, lib/modechange.h, lib/modetype.h, lib/nextelem.c, lib/pathmax.h, lib/posix/.cvsignore, lib/posix/Makefile.am, lib/posix/Makefile.in, lib/posix/regex.h, lib/quotearg.c, lib/quotearg.h, lib/realloc.c, lib/regex.c, lib/regex.h, lib/rpmatch.c, lib/savedir.c, lib/savedir.h, lib/stpcpy.c, lib/strcasecmp.c, lib/strdup.c, lib/strftime.c, lib/strncasecmp.c, lib/strspn.c, lib/strstr.c, lib/strtol.c, lib/strtoul.c, lib/strtoull.c, lib/strtoumax.c, lib/waitpid.c, lib/xalloc.h, lib/xgetcwd.c, lib/xmalloc.c, lib/xstat.in, lib/xstrdup.c, lib/xstrtol.c, lib/xstrtol.h, lib/xstrtoul.c, lib/xstrtoul.h, lib/xstrtoumax.c, lib/yesno.c, locate/.cvsignore, locate/Makefile.am, locate/Makefile.in, locate/bigram.c, locate/code.c, locate/frcode.c, locate/locate.c, locate/locatedb.h, locate/testsuite/.cvsignore, locate/testsuite/Makefile.in, locate/testsuite/config/unix.exp, locate/updatedb.sh, m4/.cvsignore, m4/ChangeLog, m4/Makefile.am, m4/Makefile.am.in, m4/Makefile.in, m4/README, m4/afs.m4, m4/assert.m4, m4/c-bs-a.m4, m4/check-decl.m4, m4/codeset.m4, m4/d-ino.m4, m4/d-type.m4, m4/error.m4, m4/fnmatch.m4, m4/fnmatchcase.m4, m4/fstypename.m4, m4/getline.m4, m4/gettext.m4, m4/glibc.m4, m4/glibc21.m4, m4/iconv.m4, m4/inttypes_h.m4, m4/isc-posix.m4, m4/jm-glibc-io.m4, m4/jm-macros.m4, m4/jm-mktime.m4, m4/lcmessage.m4, m4/libintl.m4, m4/link-follow.m4, m4/ls-mntd-fs.m4, m4/lstat-slash.m4, m4/lstat.m4, m4/malloc.m4, m4/mbstate_t.m4, m4/memcmp.m4, m4/prereq.m4, m4/progtest.m4, m4/readdir.m4, m4/realloc.m4, m4/regex.m4, m4/st_dm_mode.m4, m4/st_mtim.m4, m4/stat.m4, m4/strerror_r.m4, m4/strftime.m4, m4/timespec.m4, m4/uintmax_t.m4, m4/ulonglong.m4, m4/xstrtoumax.m4, 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, xargs/.cvsignore, xargs/Makefile.am, xargs/Makefile.in, xargs/testsuite/.cvsignore, xargs/testsuite/Makefile.in, xargs/testsuite/config/unix.exp, xargs/xargs.c, .cvsignore, Makefile.am, Makefile.in, NEWS, README-CVS, aclocal.m4, config.h.in, configure:
1840         Merged changes made for version 4.1.20 onto the trunk
1842         * README-CVS, find/defs.h, find/find.c, find/pred.c, lib/listfile.c:
1843         Update code to reflect gnulib's changes to the arguments of human_readable().   Drop support for "FIND_BLOCK_SIZE" environment variable
1845 2003-05-26  James Youngman  <jay@gnu.org>
1847         * lib/wait.h: re-added wiat.h.
1849         * configure.in, lib/Makefile.am:
1850         Corrections to allow compilation on MacOS X
1852         * po/pl.po, po/pt_BR.po, po/ru.po, po/sv.po, po/tr.po, xargs/.cvsignore, xargs/Makefile.am, xargs/testsuite/.cvsignore, xargs/xargs.c, .cvsignore, doc/.cvsignore, find/.cvsignore, find/Makefile.am, find/defs.h, find/testsuite/.cvsignore, 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, lib/listfile.c, lib/nextelem.c, locate/.cvsignore, locate/Makefile.am, locate/bigram.c, locate/code.c, locate/frcode.c, locate/locate.c, locate/testsuite/.cvsignore, 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:
1853         Changes to allow compilation on non-GNU systems (i.e. for the macros that gnulib decides to #define to be effective)
1855 2003-05-24  James Youngman  <jay@gnu.org>
1857         * import-gnulib.sh, 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:
1858         also need stpcpy (e.g. for Solaris)
1860         * intl/dcigettext.c:
1861         plural_lookup: don't use a variable called "index", because we may
1862         have done "#define strchr index", in which case using a variable
1863         called index will prevent us calling strchr(p, ch) in the same scope.
1865         * 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:
1866         Updated copyright years and the address of the FSF
1868         * aclocal.m4, config.h.in, configure:
1869         Removed files that are generated from other files (e.g. configure)
1871         * NEWS: Updated NEWS file for 4.1.20.
1873         * 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:
1874         Updates to the i18n files to ensure that 'make dist' succeeds
1876         * lib/posix/.cvsignore, lib/posix/Makefile.am,
1877         lib/posix/Makefile.in, lib/posix/regex.h, lib/strftime.c,
1878         lib/strncasecmp.c, lib/strspn.c, lib/strstr.c, lib/strtol.c,
1879         lib/strtoul.c, lib/strtoull.c, lib/strtoumax.c, lib/wait.h,
1880         lib/waitpid.c, lib/xalloc.h, lib/xgetcwd.c, lib/xmalloc.c,
1881         lib/xstat.in, lib/xstrdup.c, lib/xstrtol.c, lib/xstrtol.h,
1882         lib/xstrtoul.c, lib/xstrtoul.h, lib/xstrtoumax.c, lib/yesno.c,
1883         locate/Makefile.am, locate/Makefile.in, locate/locate.c,
1884         locate/testsuite/Makefile.in, m4/.cvsignore, m4/ChangeLog,
1885         m4/Makefile.am, m4/Makefile.am.in, m4/Makefile.in, m4/README,
1886         m4/afs.m4, m4/assert.m4, m4/c-bs-a.m4, m4/check-decl.m4,
1887         m4/codeset.m4, m4/d-ino.m4, m4/d-type.m4, m4/error.m4,
1888         m4/fnmatch.m4, m4/fnmatchcase.m4, m4/fstypename.m4, m4/getline.m4,
1889         m4/gettext.m4, m4/glibc.m4, m4/glibc21.m4, m4/iconv.m4,
1890         m4/inttypes_h.m4, m4/isc-posix.m4, m4/jm-glibc-io.m4,
1891         m4/jm-macros.m4, m4/jm-mktime.m4, m4/lcmessage.m4, m4/libintl.m4,
1892         m4/link-follow.m4, m4/ls-mntd-fs.m4, m4/lstat-slash.m4,
1893         m4/lstat.m4, m4/malloc.m4, m4/mbstate_t.m4, m4/memcmp.m4,
1894         m4/prereq.m4, m4/progtest.m4, m4/readdir.m4, m4/realloc.m4,
1895         m4/regex.m4, m4/st_dm_mode.m4, m4/st_mtim.m4, m4/stat.m4,
1896         m4/strerror_r.m4, m4/strftime.m4, m4/timespec.m4, m4/uintmax_t.m4,
1897         m4/ulonglong.m4, m4/xstrtoumax.m4, xargs/Makefile.am,
1898         xargs/Makefile.in, xargs/testsuite/Makefile.in,
1899         find/testsuite/Makefile.in, lib/.cvsignore, lib/Makefile.am,
1900         lib/Makefile.in, lib/alloca.c, lib/ansi2knr.1, lib/ansi2knr.c,
1901         lib/argmatch.c, lib/argmatch.h, lib/basename.c, lib/basename.h,
1902         lib/dirname.c, lib/dirname.h, lib/error.c, lib/error.h,
1903         lib/fileblocks.c, lib/filemode.c, lib/filemode.h, lib/fnmatch.c,
1904         lib/fnmatch.h, lib/getline.c, lib/getline.h, lib/getopt.c,
1905         lib/getopt.h, lib/getopt1.c, lib/human.c, lib/human.h,
1906         lib/idcache.c, lib/malloc.c, lib/memcmp.c, lib/memcpy.c,
1907         lib/memset.c, lib/mktime.c, lib/modechange.c, lib/modechange.h,
1908         lib/pathmax.h, lib/quotearg.c, lib/quotearg.h, lib/realloc.c,
1909         lib/regex.c, lib/regex.h, lib/rpmatch.c, lib/savedir.c,
1910         lib/savedir.h, lib/stpcpy.c, lib/strcasecmp.c, lib/strdup.c,
1911         find/Makefile.am, find/Makefile.in, find/find.c, find/pred.c:
1912         Updated to work with current version of gnulib
1914         * import-gnulib.sh: New file.
1916         * config.h.in, configure, configure.in, doc/Makefile.in, import-gnulib.sh:
1917         Updated to work with current version of gnulib
1919         * README-CVS: New file.
1921         * Makefile.am, Makefile.in, README-CVS, aclocal.m4:
1922         Updated to work with current version of gnulib
1924 2001-06-09  Kevin Dalley  <kevin@seti.org>
1926         * intl/plural.c:
1927         Changes the location of bison.simple after running bison on local
1928         machine
1930         * ChangeLog: *** empty log message ***
1932         * Makefile.in, aclocal.m4, config.h.in, configure,
1933         doc/Makefile.in, find/Makefile.in, find/testsuite/Makefile.in,
1934         lib/Makefile.in, lib/posix/Makefile.in, locate/Makefile.in,
1935         locate/testsuite/Makefile.in, m4/Makefile.in, xargs/Makefile.in,
1936         xargs/testsuite/Makefile.in: Updates mostly from gettext-0.10.38
1938         * ABOUT-NLS: * ABOUT-NLS: updated from gettext-0.10.38.
1940         * configure.in: * configure.in: add tr to ALL_LINGUAS.
1942         * intl/config.charset, intl/dcigettext.c, intl/dcngettext.c,
1943         intl/dngettext.c, intl/libgnuintl.h, intl/localcharset.c,
1944         intl/locale.alias, intl/ngettext.c, intl/plural.y,
1945         intl/ref-add.sin, intl/ref-del.sin: updated from gettext-0.10.38
1947         * intl/cat-compat.c, intl/linux-msg.sed, intl/po2tbl.sed.in,
1948         intl/xopen-msg.sed, m4/ChangeLog: *** empty log message ***
1950         * m4/jm-macros.m4:
1951         * jm-macros.m4 (jm_MACROS): remove jm_ICONV, which is replaced by
1952         AM_ICONV, which is imported from gettext-0.10.38.  removed
1953         jm_GLIBC21, which is required in AM_GNU_GETTEXT, which is
1954         imported from gettext-0.10.38.
1956         * po/stamp-cat-id:      * stamp-cat-id: Remove file.
1958         * po/Makefile.in.in:    * Makefile.in.in: Upgrade to gettext-0.10.38.
1960         * po/ChangeLog:         * cat-id-tbl.c: Remove file.
1962         * po/de.po, po/es.po, po/et.po, po/fr.po:
1963         * fr.po, et.po, es.po, de.po: updated translations to
1964         findutils-4.1.7.
1966         * po/tr.po: * tr.po:  New Turkish translation.
1968         * m4/ChangeLog: *** empty log message ***
1970         * intl/dgettext.c, intl/explodename.c, intl/finddomain.c,
1971         intl/gettext.c, intl/gettext.h, intl/gettextP.h,
1972         intl/hash-string.h, intl/intl-compat.c, intl/l10nflist.c,
1973         intl/libgettext.h, intl/loadinfo.h, intl/loadmsgcat.c,
1974         intl/localealias.c, intl/plural.c, intl/textdomain.c,
1975         intl/ChangeLog, intl/Makefile.in, intl/VERSION,
1976         intl/bindtextdom.c, intl/dcgettext.c: Updated from gettext-0.10.38
1978         * m4/Makefile.am:
1979         reflects addition of codeset.m4 from gettext-0.10.38, automatically
1980         generated.
1982         * m4/codeset.m4, m4/gettext.m4, m4/glibc21.m4, m4/iconv.m4,
1983                 m4/isc-posix.m4, m4/lcmessage.m4, m4/progtest.m4: *
1984                 progtest.m4, lcmessage.m4, isc-posix.m4, iconv.m4,
1985                 glibc21.m4, gettext.m4, codeset.m4: updated from
1986                 gettext-0.10.38.
1988         * ChangeLog: *** empty log message ***
1990         * THANKS: added "Gerrit P. Haase" <gerrit.haase@t-online.de>
1992         * m4/ChangeLog, locate/testsuite/.cvsignore,
1993         xargs/testsuite/.cvsignore, config.h.in, configure, aclocal.m4,
1994         doc/.cvsignore: *** empty log message ***
1996         * m4/jm-macros.m4:      * jm-macros.m4 (jm_MACROS): add jm_FSTYPENAME
1998         * doc/Makefile.in: *** empty log message ***
2000         * doc/Makefile.am:
2001         * doc/Makefile.am (MOSTLYCLEANFILES): add find.cps, which is
2002         created by dvips.  This should be taken care of by automake, but
2003         the code is commented out.
2005 2001-06-09  Kevin Dalley  <kevin@seti.org>
2007         * ABOUT-NLS: updated from gettext-0.10.38.
2009         * configure.in: add tr to ALL_LINGUAS.
2011         * doc/Makefile.am (MOSTLYCLEANFILES): add find.cps, which is
2012         created by dvips.  This should be taken care of by automake, but
2013         the code is commented out.
2015 2001-06-05  Kevin Dalley  <kevin@seti.org>
2017         * locate/updatedb.sh: replace "whoami" with "id -u" when testing
2018         for root.
2020 2001-06-04  Kevin Dalley  <kevin@seti.org>
2022         * locate/testsuite/Makefile.am (DIST_SUBDIRS): remove second
2023         instance of DIST_SUBDIRS.
2025         * locate/Makefile.am (install-data-hook): changed install target
2026         to install-data-hook, which still installs other files.
2028         * doc/Makefile.am (MOSTLYCLEANFILES): added find.cps, which should
2029         probably be handled by automake.
2031         * doc/mdate-sh: removed file in doc directory.  It now exists only
2032         in top_srcdir, but this changed required a patch to automake.
2034 2001-05-20  Kevin Dalley  <kevin@seti.org>
2036         * Version 4.1.7
2037         
2038         * lib/Makefile.am (EXTRA_DIST): add strcasecmp.c
2040         * find/testsuite/Makefile.am (EXTRA_DIST): new tests:
2041         find.gnu/name-opt.exp find.gnu/perm.exp find.gnu/perm.xo
2042         find.gnu/prune-default-print.exp find.gnu/prune-default-print.xo
2044         * configure.in: update to 4.1.7
2046         * config.sub, config.guess: upgraded to recent versions of
2047         config.sub and config.guess.
2049         * locate/updatedb.sh: Add space to "#! /bin/sh"
2051         * configure.in: Add id to ALL_LINGUAS
2053         * lib/Makefile.am (EXTRA_DIST):  getline.[ch] added
2054         (libfind_a_SOURCES): getline.[ch] removed since getline.c is not
2055         always needed.
2057 2001-05-20  Lionel CONS <lionel.cons@cern.ch>
2059         * find/find.c: Fixed security holes.  1.  There is a race
2060         condition between the lstat() to detect a symbolic link and the
2061         actual chdir().  2.  An attacker can move directories while find
2062         is _inside_ so that chdir(..) goes out of the intended file tree.
2064         * lib/modetype.h: support for Solaris door files is added.
2066         * lib/filemode.c: S_ISDOOR is undef'ed if STAT_MACROS_BROKEN
2068         * find/pred.c (pred_type): -D option (for Solaris door files) is
2069         added.
2071         * find/parser.c (insert_type):  -D option (for Solaris door files)
2072         is added. 
2074         * find/find.1: -D option (for Solaris door files) is documented
2076         * doc/find.texi (Type): -D option (for Solaris door files) is
2077         documented
2079 2001-05-02  Kevin Dalley  <kevin@seti.org>
2081         * configure.in: Change AC_CHECK_MEMBERS to conform to new
2082         autoconf.  Add Danish.
2084 2001-01-20  Kevin Dalley  <kevin@seti.org>
2086         * doc/find.texi (Adding Tests): Place space in "#! /bin/sh".
2088         * find/testsuite/find.gnu/prune-default-print.xo,
2089         find/testsuite/find.gnu/prune-default-print.exp: test for "find
2090         . -prune" which passes after changes.  Also see name-opt.exp.
2092         * find/util.c (get_new_pred):
2093         * find/tree.c (set_new_parent):
2094         * find/parser.c (various parse functions):
2095         * find/find.c (main): 
2096         (default_prints): new function 
2097         * find/defs.h (struct predicate): added no_default_print
2098         side_effects are no separated from no_default_print.  predicates
2099         which cause side effects should not be reordered (optimized).
2100         predicates which cause printing should have printing turned off.
2101         Printing statements also cause side effects.
2103 2000-10-29  Bruno Haible <haible@ilog.fr>
2105         * locate/code.c (main), doc/find.texi: improve handling of
2106         non-ASCII characters used old format.
2108 2000-10-21  Paul Eggert  <eggert@twinsun.com>
2110         If open + fchdir fails, fall back on xgetcwd + chdir.
2111         The old code tested for this at compile-time,
2112         but SunOS 4.1.4 fchdir can fail at run-time.
2114         * find/defs.h (fchdir): Define to -1 if not available.
2115         * find/defs.h (starting_dir, starting_desc):
2116         Always declare.  starting_dir now points to const.
2117         * find/find.c (starting_dir, starting_desc): Likewise.
2118         * find/find.c (starting_dir):
2119         Now "." if starting_desc is nonnegative, for benefit of diagnostics.
2120         (main, process_top_path, process_dir):
2121         If open + fchdir fails, fall back on xgetcwd + chdir.
2122         * find/pred.c (launch): Likewise.
2124 2000-10-20  Kevin Dalley  <kevin@seti.org>
2126         * xargs/xargs.c, locate/updatedb.sh, locate/locate.c (usage),
2127         find/parser.c (parse_help): add bug reporting address to help
2129 2000-10-13  Kevin Dalley  <kevin@seti.org>
2131         * depcomp, lib/depcomp: depcomp moved from lib to .
2133 2000-10-11  Kevin Dalley  <kevind@rahul.net>
2135         * Version 4.1.6
2136         
2137         * locate/testsuite/config/unix.exp: set PRUNEFS to "" for the
2138         testsuite. 
2140 2000-10-10  Bruno Haible <haible@ilog.fr>
2142         * lib/Makefile.am (libfind_a_SOURCES): added yesno.c
2144         * lib/yesno.c, lib/rpmatch.c: new files.
2146         * find/pred.c: use function yesno().
2148 2000-10-10  Kevin Dalley  <kevind@rahul.net>
2149         
2150         * locate/testsuite/Makefile.am: Added missing \ at end of
2151         EXTRA_DIST lines.
2153         * locate/testsuite/locate.gnu/ignore_case3.xo,
2154         locate/testsuite/locate.gnu/ignore_case3.exp,
2155         locate/testsuite/locate.gnu/ignore_case2.exp,
2156         locate/testsuite/locate.gnu/ignore_case1.xo,
2157         locate/testsuite/locate.gnu/ignore_case1.exp: place locatedb
2158         inside tmp directory, add subdir directory under tmp.
2160         * locate/testsuite/config/unix.exp: clean up tmp after test is
2161         finished. 
2163 2000-10-10  Kevin Dalley  <kevind@rahul.net>
2165         * locate/testsuite/config/unix.exp (Repository): 
2167 2000-10-09  Kevin Dalley  <kevind@rahul.net>
2169         * lib/fnmatch.c, lib/fnmatch.h: reverted to older version of
2170         fnmatch which works with Solaris.
2172         * locate/testsuite/config/unix.exp: dejagnu unix.exp
2174         * xargs/testsuite/config/unix.exp: remove temporary file
2176         * xargs/xargs.c: spelling correction
2178         * m4/prereq.m4: updated and changed some macros
2180         * m4/jm-macros.m4: replaced jm_FUNC_FNMATCH with
2181         kd_FUNC_FNMATCH_CASE_REPL 
2183         * m4/timespec.m4, m4/strerror_r.m4, m4/mbstate_t.m4,
2184         m4/largefile.m4, m4/gettext.m4, m4/fnmatchcase.m4, m4/d-type.m4,
2185         m4/d-ino.m4, m4/c-bs-a.m4: new m4 macros.
2187         * m4/Makefile.am: add fnmatchcase.m4 and mbstate_t.m4
2189         * locate/testsuite/locate.gnu/ignore_case3.xo,
2190         locate/testsuite/locate.gnu/ignore_case3.exp,
2191         locate/testsuite/locate.gnu/ignore_case2.xo,
2192         locate/testsuite/locate.gnu/ignore_case2.exp,
2193         locate/testsuite/locate.gnu/ignore_case1.xo,
2194         locate/testsuite/locate.gnu/ignore_case1.exp,
2195         locate/testsuite/config/unix.exp: tests related to "--ignore-case"
2196         option.
2198         * locate/testsuite/locate.gnu: testsuite directory
2200         * locate/testsuite/Makefile.am (Repository): 
2202         * locate/testsuite: add directory for locate testsuite
2204         * po/findutils.pot: updated file
2206         * po/sv.po, po/ru.po, po/pt_BR.po, po/pl.po, po/nl.po, po/ko.po,
2207         po/it.po, po/gl.po, po/fr.po, po/et.po, po/es.po, po/de.po:
2208         updated various po files.
2210         * locate/updatedb.sh: export TMPDIR, which is used by child
2211         processes.
2213         * locate/locate.1, locate/locate.c:  add "--ignore-case" option.
2215         * locate/Makefile.am: add testsuite subdirectory
2217         * find/testsuite/find.gnu/perm.xo,
2218         find/testsuite/find.gnu/perm.exp,
2219         find/testsuite/find.gnu/name-opt.xo,
2220         find/testsuite/find.gnu/name-opt.exp: added test suites
2222         * configure.in: add locate/testsuite/Makefile
2224         * doc/find.info*: removed from repository
2226         * doc/find.texi: add documentation for "-i" option.
2228         * aclocal.m4: removed from repository, as it is generated.
2230         * find/pred.c: fixes problem with "find -perm -0100".
2232         * lib/lstat.c, lib/stat.c: removed from repository.  These files
2233         are generated from lib/xstat.in.
2235 2000-08-24  Kevin Dalley  <kevind@rahul.net>
2237         * doc/find.texi (Invoking xargs): changed @var{-s} to @samp{-s}.
2239 2000-05-13  Kevin Dalley  <kevind@rahul.net>
2241         * find/tree.c (opt_expr): move iname and ipath to the front of the
2242         list of arguments.
2244         * doc/find.texi (Directories): changed wording for "-prune".
2246         * find/parser.c (parse_prune): set side_effects to true, to
2247         prevent prune from being moved in opt_expr.
2249 2000-04-12  Kevin Dalley  <kevind@rahul.net>
2251         * doc/find.texi, doc/permi.texi: fix spellings, add LocalWords.
2253         * lib/Makefile.am: put getline.c back into libfind_a_SOURCES,
2254         since getstr is needed.
2256         * Version 4.1.5
2257         
2258         * po/POTFILES.in: updated list of files, updated po files.
2261 2000-04-02  Paul Eggert  <eggert@twinsun.com>
2263         Add support for large files, and port to Solaris 8 and earlier
2264         versions.
2266         * lib/human.c (getenv): Depend on NEED_GETENV_DECL, not
2267         HAVE_DECL_GETENV.
2269         * lib/strftime.c (my_strftime): Make sure we call the system
2270         strftime, not ourselves, when invoking the underlying strftime.
2271         
2272         * m4/check-decl.m4 (jm_CHECK_DECLS): Remove memchr, nanosleep.
2274         * m4/jm-macros.m4 (jm_MACROS): Don't check for utime.h.  Do not
2275         require jm_BISON, jm_CHECK_TYPE_STRUCT_UTIMBUF, jm_FUNC_LCHOWN,
2276         jm_FUNC_CHOWN, jm_FUNC_NANOSLEEP, jm_FUNC_GROUP_MEMBER,
2277         jm_FUNC_PUTENV, jm_FUNC_GETGROUPS, AM_FUNC_GETLOADAVG,
2278         jm_SYS_PROC_UPTIME, jm_FUNC_FTRUNCATE, jm_FUNC_UTIME.  Do not
2279         replace strcasecmp, dup2, gethostname, getusershell, stime,
2280         strcspn, strpbrk, euidaccess, mkdir, rmdir, rpmatch, strndup,
2281         strverscmp, memchr, memmove.  Do not check for declaration of
2282         lchown.  Remove invocations of AM_FUNC_OBSTACK, AM_FUNC_STRTOD,
2283         POW_LIBM, jm_LANGINFO_CODESET, jm_ICONV.  Remove df tests.
2284         (jm_CHECK_ALL_TYPES): Include <sys/stat.h> when checking for
2285         struct stat.st_blksize.
2287         * m4/strftime.m4 (jm_FUNC_GNU_STRFTIME): Set environment variable
2288         in shell rather than using putenv, which isn't portable.
2289         
2290         * COPYING, lib/alloca.c, lib/dirname.c, lib/error.c,
2291         lib/savedir.c, lib/strstr.c, m4/check-decl.m4, m4/d-ino.m4,
2292         m4/d-type.m4, m4/getline.m4, m4/jm-glibc-io.m4, m4/jm-macros.m4,
2293         m4/jm-mktime.m4, m4/ls-mntd-fs.m4, m4/memcmp.m4, m4/prereq.m4,
2294         m4/readdir.m4, m4/regex.m4, m4/strftime.m4, m4/uintmax_t.m4: Sync
2295         to latest version from sh-utils-2.0g.
2297         * config.guess, config.sub, lib/argmatch.c, lib/argmatch.h,
2298         lib/human.c, lib/human.h, lib/memcpy.c, lib/quotearg.c,
2299         lib/quotearg.h, lib/strtoull.c, lib/strtoumax.c,
2300         lib/xstrtoumax.c, m4/c-bs-a.m4, m4/gettext.m4,
2301         m4/largefile.m4, m4/lcmessage.m4, m4/link-follow.m4,
2302         m4/progtest.m4, m4/strerror_r.m4, m4/timespec.m4,
2303         m4/xstrtoumax.m4: New files, taken from sh-utils-2.0g.
2305         * lib/ansi2knr.1, lib/ansi2knr.c, lib/basename.c, lib/getopt.h,
2306         lib/fnmatch.c, lib/fnmatch.h, lib/modechange.c: Sync to latest
2307         unreleased version of GNU tar (between 1.13.17 and 1.13.18).
2309         * lib/basename.h, lib/waitpid.c: New files, taken from same
2310         version of GNU tar.
2311         
2312         * lib/regex.c, lib/regex.h: Sync to GNU grep 2.4.2.
2314         * lib/posix/Makefile.am, lib/posix/regex.h: New files, taken from
2315         GNU grep 2.4.2.
2317         * lib/strftime.c: Sync to textutils 2.0e.
2318         
2319         * acconfig.h, depcomp, lib/strcasecmp.c, m4/check-type.m4,
2320         m4/const.m4, m4/decl.m4, m4/lfs.m4, m4/mktime.m4, m4/perl.m4,
2321         m4/putenv.m4, m4/uptime.m4, m4/utimbuf.m4, m4/utime.m4,
2322         m4/utimes.m4: Remove these files; no longer needed.
2324         * configure.in (AC_CANONICAL_HOST, AC_SYS_LARGEFILE,
2325         jm_AC_TYPE_UINTMAX_T): Add.
2326         (CACHE_IDS, FSTYPE_STATVFS, FSTYPE_USG_STATFS, FSTYPE_AIX_STATFS,
2327         FSTYPE_MNTENT, FSTYPE_STATFS, FSTYPE_GETMNT): Add comment, so that
2328         we don't need acconfig.h.
2329         (AC_CHECK_TYPE): Add ssize_t.
2330         (AC_REPLACE_FUNCS): Add waitpid.
2331         (AC_CHECK_FUNCS): Remove basename.
2332         (AC_FUNC_MKTIME): Remove.
2333         (LIBOBJS): Add no-ops to work around automake 1.4 bug.
2334         (AC_OUTPUT): Add lib/posix/Makefile.
2336         * find/defs.h: Include <config.h>, <sys/types.h>, <sys/stat.h>,
2337         <stdio.h>, <limits.h>, <inttypes.h>.  All includers changed to not
2338         include these files, and to include "defs.h" first (since config.h
2339         must be included first).
2340         (CHAR_BIT, S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IWUSR, S_IXUSR,
2341         S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH, MOD_WXUSR,
2342         MODE_R, MODE_RW, MODE_RWX, MODE_ALL): New macros.
2343         (enum permissions_type): New enum.
2344         (struct long_val.negative): New member.
2345         (struct long_val.l_val): Now uintmax_t, not unsigned long.
2346         (struct size_val.size): Likewise.
2347         (struct perm_val): New type.
2348         (struct predicate.perm): Now struct perm_val, not unsigned long.
2349         (struct predicate.type): Now mode_t, not unsigned long.
2350         (list_file): New parameters current_time, output_block_size.
2351         All callers changed.
2352         (savedir, basename): Remove decls.
2353         (output_block_size, start_time): New extern vars.
2355         * find/find.c: Include <human.h>, <savedir.h>.
2356         (output_block_size, start_time): New vars.
2357         (main): Initialize them.  No need to check for negative st_size,
2358         since savedir now does it for us.
2360         * find/fstype.c: Include "dirname.h".
2361         (xatoi): Remove.
2362         (filesystem_type_uncached): Use xstrtoumax instead of xatoi.
2363         
2364         * find/parser.c: Include "xstrtol.h".
2365         (get_num_days, get_num, parse_amin, parse_cmin, parse_mmin,
2366         parse_size, parse_used, insert_time, insert_num): Compute using
2367         uintmax_t, not unsigned long.
2368         (parse_amin, parse_cmin, parse_mmin, parse_used, insert_time):
2369         Keep track of whether time was negative before converting it to an
2370         unsigned type.
2371         (parse_daystart): Don't assume that localtime succeeds; e.g. it
2372         can fail with 64-bit time_t and 32-bit tm_year.
2373         (parse_perm, insert_type): Compute using mode_t, not unsigned
2374         long.
2375         (insert_type): Use symbolic constants like MODE_ALL instead of
2376         traditional ones like 07777.  Set new kind member to indicate
2377         permissions type, instead of using unportable magic numbers.
2378         (make_segment): We will use human_readable to convert most numeric
2379         values, so simplify the cases.
2380         (get_num_days): Write in terms of get_num, to avoid duplicated
2381         code.
2382         (insert_time, insert_num): When debugging, convert large values to
2383         uintmax_t and output with %ju.
2384         (get_num): Use xstrtoumax to do the real work.
2386         * find/pred.c: Include "basename.h", "human.h".
2387         (DEV_BSIZE, ST_BLKSIZE, ST_NBLOCKSIZE): New macros, taken from
2388         fileutils.
2389         (ST_NBLOCKS): Replace with fileutils defn.
2390         (MAX): New macro.
2391         (ctime_format): New function.
2392         (pred_fprintf, format_date): Use human_readable to output large
2393         numbers portably.
2394         (pred_fprintf): Use ctime_format to output ctime-style dates.  Use
2395         base_name to compute the base name of a path.  With %m, output the
2396         mode portably using traditional numbers, even if the host uses
2397         some other numbering scheme.
2398         (pred_iname, pred_name): basename -> base_name.
2399         (pred_perm): Use new kind member to deduce permissions type,
2400         instead of relying on magic numbers.
2401         (pred_size): Compute using uintmax_t, not unsigned long.  Avoid
2402         overflow if file size is near the maximum.
2403         (pred_type): Compute using mode_t, not unsigned long.
2404         (launch): Use waitpid, not wait.  Check for EINTR.
2405         (format_date): Don't assume that localtime succeeds.
2407         * find/util.c (basename): Remove; we now use base_name.
2409         * lib/Makefile.am (SUBDIRS): New macro.
2410         (libfind_a_SOURCES): Add argmatch.h, argmatch.c, basename.h,
2411         basename.c, human.c, human.h, quotearg.c, quotearg.h, xstrtoumax.c.
2412         Remove error.h, error.c, getline.c.
2413         (EXTRA_DIST): Add mktime.c, regex.c.
2415         * lib/listfile.c: Include "human.h".
2416         (alloca): Declare, or include appropriate files to declare.
2417         (DEV_BSIZE, ST_NBLKSIZE, ST_NBLOCKS, ST_NBLOCKSIZE): New macros.
2418         (convert_blocks): Remove.
2419         (list_file): New current_time and output_block_size args.
2420         Revamp quite a bit, to handle large numbers correctly
2421         and to match GNU ls behavior more closely.
2423         * m4/Makefile.am (EXTRA_DIST): Add c-bs-a.m4, gettext.m4,
2424         largefile.m4, lcmessage.m4, link-follow.m4, progtest.m4,
2425         strerror_r.m4, xstrtoumax.m4.  Remove check-type.m4, const.m4,
2426         decl.m4, lfs.m4, mktime.m4, perl.m4, putenv.m4, timespec.m4,
2427         uptime.m4, utimbuf.m4, utime.m4, utimes.m4.
2429         * xargs/xargs.c (wait_for_proc): Retry wait if it fails with
2430         errno == EINTR.
2432 2000-04-05  Kevin Dalley  <kevind@rahul.net>
2434         * xargs/Makefile.am:  add ansi2knr
2436         * xargs/xargs.c: add macros PARAMS rather than P_.  Add
2437         prototypes.
2439         * po/POTFILES: new file listing all POFILES.
2441         * m4/gl.po, m4/et.po: new files
2443         * m4/Makefile.am.in:  updated file
2445         * m4: update directory
2447         * locate/Makefile.am: create updatedb from updatedb.sh
2449         * locate/updatedb.sh, locate/updatedb.in: removed file.  Replaced
2450         by updatedb.sh
2452         * locate/frcode.c, locate/code.c, locate/bigram.c: add macros
2453         PARAMS rather than P_.  Add prototypes.
2455         * lib/xstat.in: new file
2457         * lib/Makefile.am: update to latest versions of library files.
2459         * find/testsuite/Makefile.am: add CLEANFILES
2461         * find/util.c: remove definition of basename
2462         
2463         * find/util.c, find/tree.c, find/pred.c, find/parser.c,
2464         find/fstype.c, find/find.c, find/defs.h: add macros PARAMS rather
2465         than P_, for consistency, change to prototypes
2467         * find/Makefile.am: Add prototypes and ansi2knr
2469         * configure.in: add Galition and Estonian languages.
2470         Miscellaneous other fixes.
2471         
2473 2000-03-11  Kevin Dalley  <kevind@rahul.net>
2475         * lib/basename.c: Add file from libit.
2476         * lib/Makefile.am (libfind_a_SOURCES): add basename.c since it is
2477         no longer replaceable.
2479         * find/util.c: Remove definition of basename, which is now in
2480         lib/basename.c (as base_name).
2481         * find/pred.c: Use base_name, not basename.
2482         * find/defs.h: Likewise.
2484         * configure.in : Don't replace basename.  Now we use only
2485         base_name.
2487 2000-02-26  Kevin Dalley  <kevind@rahul.net>
2489         * Version 4.1.4
2490         
2491         * lib/strtoul.c: added to distribution
2492         
2493         * configure.in: added strtoul to AC_REPLACE_FUNCS
2495         * configure.in: added jm_CHECK_ALL_TYPE
2497 2000-02-23  Kevin Dalley  <kevind@rahul.net>
2499         * po/ChangeLog: removed, merged with top-level ChangeLog.
2500         
2501         * po/de.po: new version of German file.
2502         
2503         * po/gl.po, po/et.po: new languages, Estonian and Galician.
2505         * locate/updatedb.sh (PRUNEFS): enclose paths in quotes
2507 2000-02-17  Kevin Dalley  <kevind@rahul.net>
2509         * po/it.po: new version of Italian file.
2510         
2511         * locate/updatedb.sh (prunefs_exp): have sed statement use '*'
2512         rather than the often unsupported '+'.
2514 2000-02-13  Kevin Dalley  <kevind@rahul.net>
2516         * configure.in: removed AC_ARG_PROGRAM, which is already in
2517         AM_INIT_AUTOMAKE. 
2519         * locate/Makefile.am (updatedb), locate/updatedb.sh: add
2520         transforms of find, frcode, bigram, and code back into
2521         updatedb.sh, which were accidentally removed.
2523 2000-02-12  Kevin Dalley  <kevind@rahul.net>
2525         * lib/wait.h: updated address.
2527 2000-01-26  Kevin Dalley  <kevind@rahul.net>
2529         * Version 4.1.3
2531         * acconfig.h: added internationalization.
2533         * intl/*: copied from tar-1.13.17.
2535         * locate/Makefile.am, locate/locate.c, locate/code.c:
2536         internationalized file.
2538         * locate/frcode.c, locate/bigram.c: include headers from ../lib
2539         directory.
2541         * xargs/Makefile.am, xargs/xargs.c: internationalized directory.
2543 2000-01-26  Kevin Dalley  <kevind@rahul.net>
2545         * POTFILES.in: added list of files with translatable strings.
2547         * de.po, es.po, fr.po, it.po, ko.po, nl.po, pl.po, pt_BR.po,
2548         ru.po, sv.po: New, slightly out of date, files imported from the
2549         Translation Project: http://www.iro.umontreal.ca/contrib/po/HTML/,
2550         German, Spanish, French, Italian, Korean, Dutch, Polish, Brazilian
2551         Portuguese.
2554 2000-01-24  Kevin Dalley  <kevind@rahul.net>
2556         * lib/xmalloc.c, lib/regex.c, lib/getopt.c: internationalization
2557         works with current version of gettext.
2559         * lib/getline.h : added declaration of getstr.
2560         * lib/Makefile.am (libfind_a_SOURCES): added getline.[ch] to
2561         standard compilation. Added internationalization.
2562         * find/Makefile.am (INCLUDES): corrected -I options for building
2563         in other directories.
2564         (LDADD): changes for internationalization.
2566         * configure.in (ALL_LINGUAS): added internationalization. 
2567         getline.c is always compiled and linked, because of getstr.
2568         AM_GNU_GETTEXT
2570         * Makefile.am: 
2571         (DISTCLEANFILES): added intl/libintl.h
2572         (AUTOMAKE_OPTIONS): added gnits to AUTOMAKE_OPTIONS
2573         (SUBDIRS): added intl and po
2575         * acconfig.h: added internationalization values
2577         * THANKS: added thanks file for gnits compatibility.
2579 2000-01-22  Kevin Dalley  <kevind@rahul.net>
2581         * added intl directory.
2583         * Added internationalization, only with slightly out of date po
2584         files for many locales.
2586 2000-01-18  Kevin Dalley  <kevind@rahul.net>
2588         * Version 4.1.2
2589         
2590         * locate/Makefile.am: remove creation of updatedb, since it is now
2591         made by configure
2593         * configure.in: updatedb is now created by configure.
2595         * xargs/Makefile.am: added testsuite to xargs directory
2597         * locate/updatedb.in: updatedb is now created by configure
2599         * locate/frcode.c, locate/code.c, locate/bigram.c: change return
2600         from main to int.  Replace getstr with getline, where possible.
2602         * locate/Makefile.am: place frcode, code, bigram in
2603         libexec_PROGRAMS
2605         * lib/xstrdup.c, lib/xmalloc.c, lib/xgetcwd.c, lib/xalloc.h,
2606         lib/strtol.c, lib/strstr.c, lib/strftime.c, lib/strdup.c,
2607         lib/stpcpy.c, lib/stat.c, lib/savedir.h, lib/savedir.c,
2608         lib/regex.h, lib/regex.c, lib/realloc.c, lib/pathmax.h,
2609         lib/modechange.h, lib/modechange.c, lib/mktime.c, lib/memset.c,
2610         lib/memcmp.c, lib/malloc.c, lib/lstat.c, lib/idcache.c,
2611         lib/getopt1.c, lib/getopt.c, lib/getopt.h, lib/getline.c,
2612         lib/getline.h, lib/fnmatch.c, lib/fnmatch.h, lib/filemode.c,
2613         lib/filemode.h, lib/fileblocks.c, lib/error.c, lib/error.h,
2614         lib/dirname.c, lib/alloca.c: updated to newer version of file from
2615         fileutils.
2617         * find/version.c: version number is now automatically generated by
2618         configure.
2620         * find/fstype.c (filesystem_type_uncached): fixes bug described as
2621         follows:  When 'find' looks for a fstype, it parses the /etc/mtab
2622         until it finds the good line. But, if there is, before the good
2623         line, a line whose mountpoint is unreachable, it fails.
2625         * doc/texinfo.tex: updated to newer version
2627         * doc/find.texi: added version.texi, fixed a few documentation bugs.
2629         * configure.in: new m4 features.
2631         * Makefile.am: moved testsuite to below corresponding directories
2632         find and xargs.
2634         * acconfig.h: updated to match new m4 files.
2636         * m4: added m4 directory, largely borrowed from Jim Meyering's
2637         fileutils.
2639 2000-01-17  Kevin Dalley  <kevind@rahul.net>
2641         * doc/find.texi (Multiple Files): placed missing xargs in examples
2643         * find/testsuite/find.gnu/depth.exp: added find tests to test
2644         "-depth" bug.
2646         * doc/find.texi: include version.texi for automatic determination
2647         of version number, update bug report email address to
2648         bug-findutils@gnu.org.
2649         (Combining Primaries With Operators): add indices for " ,", "()",
2650         "-a", "-o", etc.
2652 2000-01-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2654         * find/tree.c (opt_expr): Never rearrange the arguments of the
2655         comma operator, since it is not commutative.  Remove useless
2656         assignment.2
2657         
2658 2000-01-17  Jonathan R. Ferro <jferro@corwin.ece.cmu.edu>
2659         
2660         * find/find.c (process_path): fix problem with "-depth" which is
2661         tested in depth.exp test.
2663 1999-08-15  Kevin Dalley  <Kevin Dalley <kevin@seti.org>>
2665         * find/fstype.c (filesystem_type_uncached): a stat failure with
2666         EACCESS will ignore this file system keep on looking.  Patch
2667         suggested by Vincent Danjean <vdanjean@ens-lyon.fr>.
2669 1999-08-15  Mark Kettenis  <kettenis@gnu.org>
2671         * xargs/xargs.c (LONG_MAX): Define if necessary.
2672         (main): If ARG_MAX is -1 (that is sysconf
2673         (_SC_ARG_MAX) returns -1) the system does not impose a limit.  In
2674         that case, use LONG_MAX as the limit.
2675         
2676 1999-08-15  Kevin Dalley  <Kevin Dalley <kevind@rahul.net>
2678         * find/version.c: version string is now set by config.h
2680 1999-08-08  Kevin Dalley  <kevin@seti.org>
2682         * Version 4.1.1
2684         * README-alpha: added alpha README file
2686         * find/defs.h: move lstat declarations into defs.h
2688         * xargs/Makefile.am, testsuite/Makefile.am, locate/Makefile.am,
2689         lib/Makefile.am, find/Makefile.am, doc/Makefile.am, configure.in,
2690         Makefile.am: update for automake-1.4
2692 1999-08-02  Kevin Dalley  <kevind@rahul.net>
2694         * AUTHORS: added file listing AUTHORS
2696         * lib/Makefile.am: modified code for EXTRA sources
2697         
2698 1999-01-30  Kevin Dalley  <kevind@rahul.net>
2700         * added const to declaration of basename, which should satisfy
2701         Linux as well as Hurd (fixes bug #31325).
2702         
2703 1998-12-04  Kevin Dalley  <kevind@rahul.net>
2704         
2705         * lib/nextelem.c: removed declaration of strdup and free, which
2706         meets GNU coding standards and allows compilation on more
2707         platforms.
2708         
2709         * find.texi: corrected explanation of -amin option which described
2710         hours instead of minutes
2711         
2712 1998-09-26  Kevin Dalley  <kevind@rahul.net>
2713         
2714         * lib/getline.c: fix getstr so that it correctly handles long file
2715         paths
2716         
2717 1998-09-20  Kevin Dalley  <kevind@rahul.net>
2718         
2719         * removed more function declarations to meet GNU coding standards
2720         
2721 1998-08-30  Kevin Dalley  <kevind@rahul.net>
2722         
2723         * lib/nextelem.c: removed declaration of strdup and free, which
2724         meets GNU coding standards and allow compilation on sparc
2725         
2726         * corrected explanation of -amin option which described hours
2727         instead of minutes
2728         
2729 1998-02-27  Kevin Dalley  <kevind@rahul.net>
2730         
2731         * locate/locate.c: add --existing option to locate, which only
2732         prints the names of files which still exist
2733         
2734 1998-02-08  Kevin Dalley  <kevind@rahul.net>
2735         
2736         * locate/locate.c: corrected get_short so that it correctly
2737         returns negative numbers.
2738         
2739         * remove declarations of various string functions.  Removing the
2740         declarations almost matches the GNU Coding Standards.
2741         
2742 1997-03-03  Kevin Dalley  <kevind@rahul.net>
2743         
2744         * xargs/xargs.c: xargs fixed to prevent occasional core dumping.
2745         
2746 1997-01-11  Kevin Dalley  <kevind@rahul.net>
2747         
2748         * locate/updatedb.sh: add --localuser option to updatedb, which
2749         allows find to be run as nobody, while allowing database file to
2750         be created as root, change suggested by
2751         <Bernd_Eckenfels@Wittumstrasse13.76646Bruchsal.de>
2752         
2753 1996-12-28  Kevin Dalley  <kevind@rahul.net>
2754         * added PRUNEFS as variable in updatedb and --prunefs as option to
2755         updatedb
2757 1996-05-27  Kevin Dalley  <kevind@rahul.net>
2758         
2759         * updatedb.sh: when NETPATHS is used, only su to NETUSER if whoami
2760         is root
2761 1996-04-27  Kevin Dalley  <kevind@rahul.net>
2763         * lib/getline.c (getstr): verify that nchars_avail is *really*
2764         greater than 0; set *n to a large enough number, stops some core
2765         dumping
2767 Thu Nov  3 09:23:33 1994  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
2769         * Version 4.1.
2771         * locate/Makefile.am: Move updatedb from LIBSCRIPTS to SCRIPTS.
2773         * Makefile.am (distname): Change distribution name from find to
2774           findutils.
2776         * testsuite/config/unix.exp: Don't abuse xfail; simulate it correctly.
2778         * locate/Makefile.am (CLEANFILES): Fix typo.
2780 Wed Nov  2 15:11:52 1994  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
2782         * The big 4 0.
2784         * lib/listfile.c find/defs.h (list_file): Take a stream arg.
2785         * find/pred.c (pred_ls): pass it.
2786         * find/parser.c pred.c defs.h (parse_fls, pred_fls): New functions.
2788 Tue Oct 25 16:09:04 1994  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
2790         * find/pred.c (pred_fprintf): Flush output after \c.  From Chapman
2791         Flack.
2793         * find/parser.c (insert_fprintf): Warn about unrecognized \ and %
2794         sequences.
2796 Tue Oct 18 00:03:10 1994  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
2798         * find/defs.h parser.c pred.c tree.c util.c: Globally change
2799         "victim" to "primary".
2801         * find/parser.c (insert_fprintf): For 'c' format, don't lose the
2802         need_stat information.  From Chapman Flack.
2804         * doc/find.texi perm.texi: New files.
2805         * configure.in: Configure the doc directory.
2807         * find/pred.c (pred_regex): Check that the regex matched the whole
2808         file name.
2810 Wed Oct 12 17:13:47 1994  David J. MacKenzie  (djm@duality.gnu.ai.mit.edu)
2812         * find/find.c (main): Tell what the invalid arg is.
2813         From Kaveh Ghazi.
2815 Fri Oct  7 12:33:24 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
2817         * find/parser.c: Add -mount as an alias for -xdev.
2818         From Klaus.Steinberger@physik.uni-muenchen.de (Klaus Steinberger).
2820         * lib/modechange.c: Make umask_value unsigned short.
2822         * xargs/xargs.c: Use symbolic constants in longopts.
2823         From Chapman Flack.
2825 Wed Oct  5 11:23:09 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
2827         * xargs/xargs.c (main, read_line, read_string, do_exec): Pass 
2828           along the lengths of the args.
2829           (main): Calculate length of replace_pat.
2830           (push_arg, do_insert): Use those lengths instead of calculating
2831           them. 
2833 Tue Oct  4 10:02:05 1994  David MacKenzie  <djm@churchy.gnu.ai.mit.edu>
2835         * locate/updatedb.sh Makefile.in: Add substitutions to get
2836           the transformed program names.
2838         * xargs/xargs.c: Put back the global variables for now.
2839         Rename some variables.  Increase default args_per_exec.
2840         Use boolean where applicable.
2841         (main): Reduce default arg_max by 2048 for POSIX.2.
2842         (read_string): Don't check EOF string.
2843         (read_line, read_string): Take initial args size into account.
2845 Sat Oct  1 17:43:13 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
2847         * find/pred.c (launch): Use pid_t.
2849         * xargs/xargs.c (EOF_STR): Define and use.
2850         [__STDC__]: Declare xrealloc and xmalloc using void *.
2851         * find/defs.h: Likewise.
2853         * find/defs.h: Only declare stpcpy if !HAVE_STPCPY.
2855         * xargs/xargs.c: Replace most global variables with structure
2856           pointers passed as arguments.  Use pid_t.
2857         * lib/wait.h: Include sys/wait.h if HAVE_SYS_WAIT_H.
2858         * configure.in: Call AC_TYPE_MODE_T and AC_HEADER_SYS_WAIT.
2860         * xargs/xargs.c: Improve paging performance and memory
2861           fragmentation by building command arguments in a pre-allocated
2862           buffer and re-implementing the child pid list as an expandable
2863           array.  From tsi@gpu.srv.ualberta.ca (Marc Aurele La France).
2865 Thu Sep 29 11:38:07 1994  David J. MacKenzie  (djm@geech.gnu.ai.mit.edu)
2867         * xargs/xargs.c [__STDC__]: Prototype declarations.
2869 Wed Sep 28 11:25:53 1994  David J. MacKenzie  (djm@duality.gnu.ai.mit.edu)
2871         * find/fstype.c [AFS, __STDC__]: Fix definition of _VICEIOCTL.
2873 Tue Sep 27 08:14:27 1994  David MacKenzie  <djm@churchy.gnu.ai.mit.edu>
2875         * find/fstype.c (fstype_to_string): Add more cases.  Use
2876           INITMOUNTNAMES if defined.
2877         * find/defs.h: Change boolean typedef from char to int.
2878         * configure.in: Check for mktime.
2880 Tue Sep 27 01:20:28 1994  Kaveh R. Ghazi  (ghazi@noc.rutgers.edu)
2882         * configure.in: Add AC_HEADER_STAT.
2883         * lib/listfile.c, lib/modetype.h: Add STAT_MACROS_BROKEN.
2885         * find/pred.c: Move the inclusion of defs.h ahead of the first
2886           test of _POSIX_VERSION.
2888         * lib/xgetcwd.c: Remove _POSIX_VERSION, rely only on HAVE_GETCWD.
2890 Mon Sep 26 16:43:01 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
2892         * configure.in: Add AC_CONFIG_HEADER.
2893         * find/*.c locate/*.c xargs/*.c: Include config.h.
2894         * locate/updatedb.sh: Add --version; --old -> --old-format.
2896 Sun Sep 25 23:43:37 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
2898         * find/* [__STDC__]: Prototype declarations.
2900         * locate/updatedb.sh: Account for renaming code and frcode.
2902         * find/find.c (process_path): Store dev and ino of directories in
2903           current branch to avoid symlink loops.  From DJ Delorie
2904           <dj@ctron.com>.
2905           (process_dir): If following symlinks, don't cd to ..; instead,
2906           cd to the starting directory and then to the parent directory.
2907           (main) [HAVE_FCHDIR]: Save the dev, ino of the starting directory.
2908           (process_top_path) [HAVE_FCHDIR]: Use it.
2909         * find/pred.c (launch) [HAVE_FCHDIR]: Likewise.
2910         * defs.h [HAVE_FCHDIR]: Declare starting_desc instead of starting_dir.
2911         * configure.in: Check for dev_t, ino_t, fchdir, fcntl.h.
2913 Fri Sep 23 11:55:38 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
2915         * lib/listfile.c: Change #ifdef S_IFLNK to #ifdef S_ISLNK.
2916         From Andreas Luik <luik@isa.de>.
2918 Thu Sep 22 11:42:40 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
2920         * locate/locate.c (last_literal_end): Dynamically allocate enough
2921           memory for the subpattern.
2923 Wed Sep 21 06:12:56 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
2925         * locate/locate.c (locate): Warn if database is >8 days old.
2926         From Ian Lance Taylor.
2928         * xargs/xargs.c (do_exec), find/pred.c (launch): Set SIGCHLD to
2929           default.  From tsi@gpu.srv.ualberta.ca (Marc Aurele La France).
2930         * find/find.c pred.c util.c lib/listfile.c: Remove fflush(stdout)
2931           calls before error.  error does it, and doesn't trash errno.
2932           From tsi@gpu.srv.ualberta.ca (Marc Aurele La France).
2934         * find/fstype.c (filesystem_type_uncached): Don't trust mtab dev
2935           number on HPUX.  From Andreas Luik <luik@isa.de>.
2936           (filesystem_type_uncached): Don't cache unknown file system
2937           types.  From casper@fwi.uva.nl (Casper Dik).
2939         * locate/updatedb.sh: Collect results in temp file and rename it
2940           atomically.  From Andreas Luik <luik@isa.de>.
2942         * xargs/xargs.c (parse_num): Print a long using %ld.  From Jim
2943           Meyering.
2945         * find/defs.h find.c parser.c pred.c util.c, lib/nextelem.c:
2946           Emulate strchr and strrchr with index and rindex, not vice versa.
2948         Remove man directory; move man pages to the directories of the
2949         programs they document.
2951         * locate/frcode.c: Renamed from code.c.
2952         * locate/frcode.c (put_short): Renamed from puthalfword.
2953         * locate/locate.c (get_short): Renamed from gethalfword.
2954         (last_literal_end): Renamed from patprep.
2955         (locate): Recognize old-format databases too.
2956         * locate/locatedb.h: Add defines for old-format databases.
2957         * locate/bigram.c locate/code.c: Put back programs to create
2958         old-format databases.
2959         * locate/updatedb.sh: Take --old option to use them.
2961 Tue Sep 20 15:41:11 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
2963         * configure.in: Update for Autoconf v2.
2964         * find/pred.c lib/savedir.c: Use new symbols for dir header.
2965         * locate/updatedb.sh: Add --help option.
2967 Sun Feb 13 11:21:58 1994  Jim Meyering  (meyering@comco.com)
2969         * man/Makefile.in [man1ext, man5ext]: Set man5ext (not man1ext) to 5.
2971 Sun Aug  1 22:30:55 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
2973         * bigram.c: File removed.
2974         * getline.c, memcmp.c, locatedb.h, updatedb.1, locatedb.5: New files.
2975         * updatedb.sh: Take command line options.
2976         Don't do bigram compression.
2977         * code.c, locate.c: Don't do bigram compression.
2978         Write and read counts in network byte order.
2979         Handle arbitrarily long paths.
2980         Use a magic number at the start of the databases.
2982 Thu Jul 29 20:44:53 1993  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
2984         * Makefile.in (config.status): Run config.status --recheck, not
2985         configure, to get the right args passed.
2987 Thu Jul 22 12:53:12 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
2989         * listfile.c (list_file): Print inode as a long.
2991 Wed Jul 14 14:14:45 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
2993         * fstype.c [STDC_HEADERS]: Include stdlib.h.
2995         * Move unistd.h include from parser.c and pred.c to defs.h.
2997 Wed Jun 30 14:14:47 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
2999         * updatedb.sh: Construct PRUNEREGEX from PRUNEPATHS with sed.
3000         Prune /afs.  Change NFSUSER to NETUSER and NFSPATHS to NETPATHS.
3002 Tue Jun 29 12:19:58 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
3004         * pred.c (pred_fprintf): Abort in switch if `c' is not A, C, or T.
3006 Mon Jun 28 00:18:52 1993  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
3008         * fstype.c (in_afs) [AFS]: New function, derived from code by
3009         Sanjay Ramamurthy <ramams@rpi.edu>.
3010         (filesystem_type_uncached) [AFS]: Call it if the fs type is
3011         otherwise unknown.
3013         * parser.c (parse_size): Recognize b and w suffixes for dd
3014         compatibility. 
3016         * code.c (puthalfword): New function.
3017         (main): Call it.
3018         * locate.c (gethalfword): New function.
3019         (locate): Call it.
3020         From ifado!wb@germany.eu.net (Wilhelm B. Kloke).
3022         * listfile.c: Include pathmax.h.
3023         (get_link_name): Always allocate PATH_MAX + 1 bytes for
3024         readlink buffers.
3025         * pred.c (pred_fprintf, insert_lname): Call get_link_name.
3027         * fstype.c (filesystem_type, filesystem_type_uncached),
3028         listfile.c (list_file): Take an arg for the path to access.
3029         * pred.c (pred_ls, pred_fstype, pred_fprintf): Pass it.
3031         * find.c (process_dir): Renamed from scan_directory.
3033         Changes from jrs@world.std.com (Rick Sladkey) to chdir into
3034         subdirectories instead of using string concatenation, for speed:
3035         * find.c (process_top_path): New function.
3036         (main): Call it, and xgetcwd.
3037         (process_path, scan_directory): Take new arg, the pathname
3038         relative to ".".  Use it and pass it on.
3039         * pred.c (pred_and, pred_comma, pred_negate, pred_or,
3040         pred_xtype, pred_fprintf, pred_empty, insert_lname):
3041         access rel_pathname instead of pathname.
3042         (launch): chdir to starting_dir.
3043         * defs.h: Declare rel_pathname and starting_dir.
3044         * find.c: Define them.
3046         * xgetcwd.c: New file.
3048         * updatedb.sh: Recognize -fstype NFS as well as nfs.
3049         * locate.c (patprep): Skip trailing character classes correctly.
3050         From luik@pharao.stgt.sub.org (Andreas Luik).
3052         * parser.c (parse_group): Make gid a gid_t, not short or int.
3053         (parse_nogroup): Cast gid to unsigned when using it as an array index.
3054         (parse_user, parse_nouser): Similar changes for uid.
3055         * defs.h: Use uid_t and gid_t.
3057         * parser.c (parse_help): New function.
3058         (parse_table):  Add --version, -help, and --help options.
3059         Rename struct parser_table_t to struct parser_table.
3060         (parse_version): Exit after printing message, on
3061         stdout not stderr.
3063         * xargs.c, locate.c (main, usage): Add --version and --help
3064         options.
3066 Wed Mar 31 22:39:57 1993  Jim Meyering  (meyering@comco.com)
3068         * parser.c: Define isascii macro to be 1 also if STDC_HEADERS.
3069         * xargs.c: Ditto.
3071 Wed Mar 31 16:04:07 1993  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
3073         * pred.c (pred_fprintf): If curdepth is 0, don't nuke
3074         segment->text; nuke cp.
3076 Mon Mar 29 15:57:20 1993  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
3078         * Version 3.8.
3080 Fri Mar 26 16:36:59 1993  David J. MacKenzie  (djm@hal.gnu.ai.mit.edu)
3082         * pred.c (pred_ilname, pred_iname, pred_ipath): New functions.
3083         (pred_table): Add them.
3084         (insert_lname): New function.
3085         (pred_lname): Call it.
3086         * parser.c (parse_ilname, parse_iname, parse_ipath,
3087         parse_iregex): New functions.
3088         (parse_table): Add them.
3089         (insert_regex): New function.
3090         (parse_regex): Call it.
3092         * fstype.c (filesystem_type): Cache previous result.
3093         (filesystem_type_uncached): New function.
3094         pred.c (pred_fstype, pred_fprintf): Adjust callers to not cache.
3096         * parser.c: Don't define const.
3098         * fstype.c [FSTYPE_STATFS] (fstype_to_string): #ifdef
3099         MOUNT_PC for 386bsd.
3101 Thu Mar 25 18:32:24 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
3103         * parser.c (parse_regex): If ignore_case, set up a translate
3104         table for the regex.
3106         * defs.h: Include string.h or strings.h.
3107         * find.c fstype.c parser.c pred.c util.c: Don't.
3109         * nextelem.c [index]: Don't redefine.
3111 Wed Mar 24 17:47:10 1993  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
3113         * xargs.c (wait_for_proc): Exit with a nonrunnable command's exit
3114         status, not the wait status value.  From
3115         Andreas Schwab <schwab@lamothe.informatik.uni-dortmund.de>.
3117         * parser.c (make_segment, insert_fprintf), pred.c
3118         (pred_fprintf): Add '%F' to print filesystem type.
3120         * parser.c (parse_fprintf): Check if second arg is missing.
3122 Tue Mar 23 13:18:08 1993  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
3124         * pred.c (pred_fprintf): For %P, don't move past an assumed
3125         slash if the ARGV element ends with one, because in that case
3126         we didn't add one.
3128         * parser.c (parse_printf): Check for missing arg.
3129         From smj@cats.com (Steve James).
3131         * parser.c: Add #ifdef around atol decl for Linux.
3133 Fri Dec 11 08:17:07 1992  Jim Meyering  (meyering@comco.com)
3135         * defs.h: Remove dcl of process_path.
3136         * find.c: Put dcl of process_path here.  Make a few functions
3137         and file-scope variables static.
3138         * parser.c, tree.c: Declare most functions static.
3140         * locate.c: Use `required_argument' macro in dcl of longopts.
3141         * bigram.c, code.c, locate.c, xargs.c: Make most functions and
3142         file-scope variables static.
3144         * parser.c, xargs.c: Guard ctype.h macros with isascii.
3146         * find.c: Add declarations for opt_expr and mark_stat.
3147         * tree.c (set_new_parent): Add empty default clause to enum swicth.
3148         * locate.c (main): Parenthesize for gcc -Wall.
3149         * xargs.c (push_arg): Parenthesize for gcc -Wall.
3151 Tue Nov 24 08:04:36 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
3153         * find.c, fstype.c, parser.c, pred.c, util.c, listfile.c,
3154         nextelem.c, xargs.c, bigram.c, code.c, locate.c: Use
3155         HAVE_STRING_H, not USG.
3157         * pred.c: Use SYSDIR and NDIR instead of USG.
3158         Define direct as dirent, not vice-versa.
3160 Fri Oct  9 02:15:17 1992  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
3162         * xargs.c (main): Set orig_arg_max before possibly cutting
3163         down arg_max.
3165 Thu Sep 10 19:25:35 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
3167         * parser.c: Always declare getgrent and getpwent.
3169 Mon Aug 24 12:54:16 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
3171         * xargs.c: Include sys/types.h before unistd.h.  Use ARG_MAX
3172         if it's defined.
3173         * find.c, nextelem.c: Add missing decls.
3174         From bde@runx.oz.au (Bruce Evans).
3176 Thu Jul 23 15:06:07 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
3178         * Version 3.7.
3180 Tue Jul 14 00:16:52 1992  David J. MacKenzie  (djm@apple-gunkies.gnu.ai.mit.edu)
3182         * pathmax.h: New file.
3183         * bigram.c, code.c, locate.c: Use it.  Use xmalloc instead of malloc.
3185 Sat Jul 11 22:31:46 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
3187         * nextelem.c: New file.
3188         * locate.c (main): Use it to support a database path.
3190 Fri Jul  3 02:12:09 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
3192         * listfile.c, pred.c: Change FOO_MISSING to HAVE_FOO.
3194         * parser.c [_POSIX_SOURCE]: Define endpwent and endgrent as empty.
3195         * listfile.c [!HAVE_ST_RDEV]: Print blanks.
3196         From Jeffrey Siegal (jbs@congruent.com).
3198         * locate.c (locate): Check for EOF at top of loop, not middle.
3199         * updatedb.sh: Remove duplication hack.
3200         From Jay Plett.
3202 Wed Jun 10 15:04:23 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
3204         * pred.c (pred_amin, pred_atime, pred_cmin, pred_ctime,
3205         pred_mmin, pred_mtime, pred_used): Cast l_val to time_t before
3206         comparing it to a time_t.  From fpm@crash.cts.com (Frank Maclachlan).
3208         * locate.c (locate): Take the database path as an arg.
3209         (main): Take an option to specify the database path.
3210         (usage): New function.
3212         * updatedb.sh: Don't read from and write to the file-list file
3213         in the same statement.
3215 Thu Jun  4 15:27:07 1992  David J. MacKenzie  (djm@geech.gnu.ai.mit.edu)
3217         * Version 3.6.
3219 Wed May 20 00:05:13 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
3221         * xargs.c: Include sys/param.h before limits.h, not after.
3223         * listfile.c: If we include a header file specifically to get
3224         major et al., assume we have them.
3226 Tue May 12 01:09:33 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
3228         * locate.c (locate): Don't give fnmatch FNM_PERIOD (it's useless).
3230         * parser.c (parse_path): New function.
3231         * pred.c (pred_path): New function.
3232         * tree.c (opt_expr): Move -path like -name.
3234         * updatedb.sh: Duplicate the last entry in the file list so it
3235         doesn't get ignored.
3237 Mon May 11 22:24:40 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
3239         * updatedb.sh: Allow many vars to be overridden in the environment.
3241         * locate.c, updatedb.sh: FCODES -> LOCATE_DB.
3243 Wed Apr 22 15:24:00 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
3245         * updatedb.sh: Use binprefix when calling find.
3247         * locate.c (locate): Use LOCATE_DB environ variable if set.
3249         * find.c (scan_directory): Allow for dirs having negative
3250         st_size (NFS mount points on VAX 4.3BSD+NFS).
3251         From metcalf@catfish.lcs.mit.edu (Chris Metcalf).
3253 Sat Apr 18 15:42:52 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
3255         * fstype.c: Rename FS_* to FSTYPE_*.  Support Dynix's
3256         name for the mount table.
3258 Sun Mar  8 23:21:25 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
3260         * listfile.c (list_file): Allow a slop factor for deciding what
3261         is in the future.
3263 Tue Feb 25 16:24:15 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
3265         * Version 3.5.
3267 Sat Feb 22 08:43:01 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
3269         * tree.c (set_new_parent): Initialize need_stat field.
3271         * defs.h (struct predicate): Define p_name unconditionally.
3273 Fri Feb 21 15:28:43 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
3275         * tree.c (opt_expr): Preserve expression precedence when
3276         rearranging expression tree. 
3277         (set_new_parent): New function.
3278         (mark_stat): Set need_stat whether or not it's been set
3279         earlier in the expression.
3280         All from Tim Wood.
3282 Mon Feb 17 10:20:38 1992  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3284         * updatedb.sh: Use current value of TMPDIR if already set.
3285         From Dana Jacobsen (jacobsd@cs.orst.edu).
3287         * pred.c: Include pwd.h and grp.h after unistd.h, not before.
3288         Apparently needed on ISC 2.2.  From Juha Takala <jta@piuha.sah.vtt.fi>.
3290 Thu Feb 13 10:52:31 1992  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3292         * modetype.h: Don't define S_IFMT, because doing so breaks pred_type
3293         on plain POSIX.1 systems.
3295 Sat Feb  8 00:58:13 1992  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3297         * Version 3.4.
3299 Fri Feb  7 21:35:58 1992  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3301         * defs.h: Don't declare process_path.
3302         * find.c [DEBUG_STAT] (debug_stat): New function.
3303         (main) [DEBUG_STAT]: Call it.
3304         (process_path): Return a value.
3305         (scan_directory): Count number of subdirs seen so far.
3306         * parser.c (pred_and, pred_close, pred_comma, pred_negate,
3307         pred_open, pred_or): Don't need stat.
3308         * util.c (get_new_pred_chk_op): Implicit AND doesn't need stat.
3310 Fri Jan 17 21:51:18 1992  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3312         * Version 3.3.
3314 Tue Dec 24 02:16:49 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3316         * wait.h, listfile.c, xargs.c, bigram.c, code.c, locate.c:
3317         Change POSIX ifdefs to HAVE_UNISTD_H and _POSIX_VERSION. 
3319 Wed Dec 18 16:37:17 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3321         * listfile.c: Use MAJOR_IN_MKDEV and MAJOR_IN_SYSMACROS to
3322         find major and minor.
3324         * code.c, bigram.c, locate.c, xargs.c: Use LIMITS_H_MISSING
3325         instead of LIMITS_MISSING.
3327 Sat Dec  7 06:13:26 1991  David J. MacKenzie  (djm at frob.eng.umd.edu)
3329         * parser.c (parse_prune): No stat needed for prune.
3330         (insert_fprintf, make_segment): Possibly no stat needed,
3331         depending on which information is printed.
3333         * xargs.c (usage): Document long-named options as starting
3334         with -- instead of +.
3336         * parser.c [!POSIX]: Declare getgrent and getpwent.
3338         * fstype.c (filesystem_type): Only check MNTTYPE_IGNORE if
3339         it's defined.  From Rainer Orth.
3341         * Add leaf node optimization suggested by Matthew Farwell
3342         <dylan@ibmpcug.co.uk>.  Add -noleaf option to disable it.
3343         Adapt parts of Tim Wood's work to current sources.
3344         * find.c (scan_directory): New function, from code in process_path.
3345         (process_path): Take an arg indicating whether the pathname
3346         is a leaf non-directory, instead of a redundant current level.
3347         * parser.c (parse_noleaf): New function.
3348         (parse_print, parse_name, etc.): Set need_stat = false.
3350 Wed Nov  2 13:34:32 1990  Tim Wood at home      (tim at axolotl.UUCP)
3352         * pred.c: Call stat() if an AND, OR or NOT node tells you to.
3353         * find.c: Limit calls to stat().
3355 Wed Oct  3 17:30:39 1990  Tim Wood at home      (tim at axolotl.UUCP)
3357         * tree.c (opt_expr): New function to rearrange predicates within
3358         a conjunction/disjunction so that non-inode (-name, -regex) ones
3359         are executed first.  
3360         * pred.c: Make some supporting tree structure changes for opt_expr().
3362 Sat Dec  7 00:36:06 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3364         * xargs.c (do_exec): Simplify test for which exit
3365         status to use if exec fails.
3367 Fri Dec  6 18:24:06 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3369         * listfile.c (list_file): POSIX_ME_HARDER -> POSIXLY_CORRECT.
3371 Thu 24 Oct 1991 21:33:21  Jim Meyering (meyering at churchy.gnu.ai.mit.edu)
3373         * pred.c (pred_fprintf): Don't print "\n" unless it's in the
3374         format string.
3376 Mon Oct 21 22:30:35 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3378         * defs.h, parser.c, pred.c: Rename some types that conflict
3379         with reserved POSIX.1 namespace (ended in _t).
3381         
3382         
3383 Thu Oct 17 22:39:06 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3385         * xargs.c: Don't determine memory.h based on POSIX, which
3386         doesn't mention it.
3388 Sat Oct  5 16:11:05 1991  Jim Meyering (meyering at churchy.gnu.ai.mit.edu)
3390         * parser.c (parse_perm): Parse new `-perm +mode' notation.
3391         * pred.c (pred_perm): Interpret same.
3393 Fri Sep 13 14:58:27 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
3395         * xargs.c [POSIX]: Always use sysconf to get ARG_MAX.
3397 Thu Sep  5 23:57:06 1991  David J. MacKenzie  (djm at apple-gunkies)
3399         * bigram.c, code.c (main): Make path_max int, not unsigned.
3400         * locate.c (main): Check for pathconf failure.
3402 Thu Sep  5 11:54:44 1991 Jim Meyering (meyering at churchy.gnu.ai.mit.edu)
3404         * parser.c (insert_fprintf): Add `\\' escape and fixed `%%'
3405         interpretation.
3406         * pred.c (pred_fprintf): fixed off-by-one indexing problem
3407         when handling [gGuU] printf formats.
3409 Wed Aug 28 20:53:57 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3411         * Version 3.2.
3413 Mon Aug 26 18:57:32 1991  David J. MacKenzie  (djm at pogo.gnu.ai.mit.edu)
3415         * bigram.c, code.c: Fix handling of PATH_MAX.
3416         Check for anomalous input line lengths.
3417         From Bruce Evans.
3419 Fri Aug 23 11:00:18 1991  David J. MacKenzie  (djm at apple-gunkies)
3421         * pred.c (pred_fprintf): Round block number up to get K.
3423 Thu Aug 22 10:46:30 1991  David J. MacKenzie  (djm at apple-gunkies)
3425         * pred.c (pred_fprintf, pred_lname) [_AIX]: Allocate PATH_MAX
3426         byte for link object since st_size is wrong.
3428         * listfile.c (list_file): Don't convert blocks to kilobytes if
3429         env. var POSIX_ME_HARDER is defined.
3431         * fstype.c [FS_AIX_STATFS]: New case.
3433         * configure: Make sure the sys/mount.h is the 4.4BSD version
3434         with grep instead of just testing whether it exists.
3436         * listfile.c (list_file): Add 1 to number of 512-byte blocks
3437         before dividing to get 1K blocks (so we round up, not down).
3439 Wed Aug 21 13:02:46 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3441         * Version 3.1.
3443         * parser.c (parse_fprintf), pred.c (pred_fprintf): Add %k
3444         conversion to print 1K blocks.
3446         * listfile.c: Print counts of 1K blocks, for consistency with
3447         new fileutils release.  Bad timing, there.
3449         * Version 3.0.
3451         * pred.c [VOID_CLOSEDIR]: Fake a return value for closedir,
3452         which returns void on some systems, like Sequents.
3453         * configure: Check sys/dir.h for 'void closedir'.
3455 Thu Aug 15 16:07:46 1991  David J. MacKenzie  (djm at frob)
3457         * modetype.h: Define POSIX.1 stat stuff if missing.
3458         * pred.c, parser.c, find.c, fstype.c: Don't define it.
3459         * updatedb.sh: Use a variable substitution method like configure's.
3460         * Makefile.in: Add datadir variable to separate programs from
3461         data file.
3463         * parser.c, pred.c: Rename -fulldays to -daystart.
3465         * defs.h, find.c, parser.c, pred.c: Add many new predicates
3466         from Jay Plett (jay@princeton.edu).
3468 Wed Aug 14 14:37:06 1991  David J. MacKenzie  (djm at bleen)
3470         * parser.c (parse_size), pred.c (pred_size), defs.h (struct
3471         size_t): Allow `k' to follow number to measure size in Kbytes.
3472         * parser.c (parse_size, get_num, insert_num), defs.h (struct
3473         size_t): Use enum comparison_type instead of short.
3475 Fri Aug  9 00:49:32 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3477         * xargs.c (read_line): Use isblank, to support POSIX locales.
3479         * fstype [FS_STATVFS]: New code for SVR4, from slootman@dri.nl
3480         (Paul Slootman).
3481         * configure: Figure out when to use it.
3483         * configure: Check for st_blocks in struct stat.
3484         * listfile.c (ST_NBLOCKS): New macro.
3485         (list_file): Print file's block count.
3486         Use S_ISLNK instead of S_IFLNK.
3487         * fileblocks.c: New file, from fileutils.
3489 Thu Aug  8 17:20:19 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
3491         * parser.c, pred.c [CACHE_IDS]: Optional code to turn uid and
3492         gid lookups into table lookups.
3494 Wed Aug  7 00:22:29 1991  David J. MacKenzie  (djm at wheat-chex)
3496         * configure, Makefile.in's: Support +srcdir option via VPATH.
3497         Clean up clean targets.
3499 Sat Jul 20 01:11:51 1991  David J. MacKenzie  (djm at apple-gunkies)
3501         * configure: Filter /etc and /usr/etc from path.
3503         * xargs.c (wait_for_proc): Fix handling of child exit status.
3504         (main): Exit with a nonzero status if any child did.
3506         * pred.c (launch): Flush stdout and stderr before forking.
3508         * fstype.c (filesystem_type) [FS_MNTENT]: Skip entries of
3509         type "ignore".
3511 Fri Jul 19 22:53:42 1991  David J. MacKenzie  (djm at bleen)
3513         * pred.c, locate.c: Use fnmatch instead of glob_match.
3514         * fnmatch.c, fnmatch.h: New files.
3516         * Many files: Use string.h if STDC_HEADERS, as well as if USG.
3518         * locate.c, code.c, bigram.c: Possibly use pathconf to get
3519         PATH_MAX.  Use malloc to allocate path arrays.
3521         * xargs.c: Possibly use sysconf to get ARG_MAX.
3522         (env_size): Make definition unconditional.
3523         (main): Do arg_max adjustment that can't be done with
3524         preprocessor now that ARG_MAX might be a function call.
3525         (do_exec): Exit with status 126 or 127 after failed exec, for
3526         POSIX.2 draft 11.1.
3528         * xargs.c, pred.c, listfile.c: Use POSIX, not UNISTD_MISSING.
3529         * wait.h: Use POSIX, not WAIT_MACROS_MISSING.
3531         * COPYING: Use version 2.  Update all files.
3533         * Replace Makefile and lib/Makefile with Makefile.in,
3534         lib/Makefile.in and configure.  Update README.
3536 Fri Apr  5 12:49:09 1991  David J. MacKenzie  (djm at apple-gunkies)
3538         * Version 2.2.
3540 Fri Mar 15 20:44:45 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
3542         * xargs.c (main): Always run the command if some args are left over.
3543         Rename some variables.
3545 Fri Jan 18 03:35:57 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
3547         * bigram.c, code.c, locate.c: Use LIMITS_MISSING, not
3548         _POSIX_SOURCE, to decide whether to include limits.h.
3550         * parser.c, pred.c, listfile.c: Use POSIX, not _POSIX_SOURCE,
3551         to decide whether to declare getpwuid and getgrgid.
3553         * xargs.c: Use POSIX, not _POSIX_SOURCE, to determine whether
3554         to include memory.h.
3556 Sat Jan 12 04:12:34 1991  David J. MacKenzie  (djm at wookumz.ai.mit.edu)
3558         * defs.h, find.c, parser.c, pred.c: Remove -permmask option.
3560 Thu Jan 10 04:32:52 1991  David J. MacKenzie  (djm at albert.ai.mit.edu)
3562         * wait.h: Include sys/types.h to get pid_t.
3564         * xargs.c [USG && !STDC_HEADERS]: Only include memory.h if not
3565         _POSIX_SOURCE.
3567 Tue Jan  1 23:53:32 1991  David J. MacKenzie  (djm at albert.ai.mit.edu)
3569         * Version 2.1.
3571 Wed Dec 26 03:25:51 1990  David J. MacKenzie  (djm at apple-gunkies)
3573         * locate.c, bigram.c, code.c: Attempt to get max. path length
3574         on more kinds of systems, incl. POSIX.
3576         * pred.c, listfile.c, xargs.c: Get some decls from unistd.h,
3577         if available. 
3579         * find.c, defs.h: Make `cur_day_start' a time_t, not long.
3581 Fri Dec 21 01:49:12 1990  David J. MacKenzie  (djm at egypt)
3583         * defs.h, parser.c: Remove unused field from `struct exec_t'.
3585         * xargs.c: Add +no-run-if-empty option to cause the command to
3586         not be run if the input is empty.
3588         * defs.h (struct exec_t): Change the array of offsets into an
3589         array of `struct path_arg'.
3590         * parser.c (insert_exec_ok): Fill in new fields, to allow "{}"
3591         to be substituted (multiple times) anywhere in an arg to -exec
3592         or -ok.
3593         * pred.c (pred_exec): Add code to substitute "{}" within args.
3594         (pred_ok): After prompting, just run pred_exec.
3596 Thu Dec 20 02:32:09 1990  David J. MacKenzie  (djm at egypt)
3598         * fstype.c (filesystem_type) [FS_MNTENT]: Allow for optional
3599         "0x" at front of "dev=" mount option, which amd puts there but
3600         Sun automounter doesn't.
3602 Sat Dec 15 19:01:12 1990  David J. MacKenzie  (djm at egypt)
3604         * find.c (main), util.c (usage): Make directory args optional,
3605         defaulting to ".".
3607 Sat Dec 15 18:36:29 1990  David J. MacKenzie  (djm at apple-gunkies)
3609         * listfile.c: Define major and minor if not defined (as in POSIX).
3611 Mon Dec  3 01:04:35 1990  David J. MacKenzie  (djm at alborz)
3613         * find.c, fstype.c, parser.c, pred.c, util.c: Flush stdout before
3614         writing to stderr, in case they have been redirected to the
3615         same file descriptor.
3617         * pred.c (launch): Use POSIX wait macros from wait.h.
3619         * xargs.c (print_xargs): Read from tty_stream, not stdin.
3621 Tue Nov 20 16:48:24 1990  David J. MacKenzie  (djm at apple-gunkies)
3623         * Version 2.0.
3625         * fstype.c [FS_USG_STATFS]: New code.
3626         [FS_STATFS]: For symlinks, statfs the directory the link is in
3627         instead of the link.
3628         * Various files: Conditionalize some declarations on
3629         STDC_HEADERS or _POSIX_SOURCE.
3631 Fri Nov 16 12:24:43 1990  David J. MacKenzie  (djm at egypt)
3633         * modetype.h: New file.
3634         parser.c, pred.c: Use it.
3636 Thu Nov 15 18:05:54 1990  David J. MacKenzie  (djm at apple-gunkies)
3638         * xmalloc.c: New file from fileutils.
3640         * fstype.c (fstype_to_string): Add case for MFS.
3641         (filesystem_type): Take a pathname as a second arg.
3642         [FS_STATFS] return "unknown" instead of exiting if statfs
3643         fails because of ENOENT.
3644         * pred.c (pred_fstype): Pass the pathname.  Set current_dev.
3645         * find.c (process_path): Make root_dev local again.
3647 Mon Nov 12 02:54:00 1990  David J. MacKenzie  (djm at apple-gunkies)
3649         * pred.c (pred_fstype): Free old fs type.
3651         * fstype.c, pred.c (pred_fstype), parser.c (parse_fstype): 
3652         Reread the file system type info. every time a filesystem
3653         mount point is crossed, to allow for automounting.
3655         * xstrdup.c: New file from fileutils.
3657         * find.c (process_path): Rename root_dev to current_dev and
3658         make it global, for -fstype.
3660         * wait.h: New file taken from xargs.c.
3662         * xargs.c: Make limits.h vs. sys/param.h conditional on
3663         LIMITS_MISSING instead of USG, to accomodate SVR2.
3665 Thu Nov  8 11:52:22 1990  David J. MacKenzie  (djm at apple-gunkies)
3667         * parser.c, pred.c, listfile.c: If not _POSIX_SOURCE, declare
3668         getpwuid and getgrgid.  Use them.
3670         * listfile.c: If not _POSIX_SOURCE, define S_ISDIR and
3671         S_ISBLK.  Use them. 
3673         * find.c: Use S_ISDIR instead of S_IFDIR, and define if not
3674         _POSIX_SOURCE. 
3676         * Makefile: Define AR and RANLIB and pass to child makes.
3677         lib/Makefile: Use them.
3679         * xargs.c (WIFSIGNALED): Redefine so it works.
3681 Mon Nov  5 00:02:01 1990  David J. MacKenzie  (djm at apple-gunkies)
3683         * find.c (process_path): For -xdev, process filesystem
3684         mountpoints (but don't descend them), instead of skipping them
3685         entirely. 
3687         * find.c, parser.c, defs.h: Add -follow predicate.
3689         * xargs.c: Change ifdefs to support STDC POSIX systems.
3691 Sat Nov  3 20:18:05 1990  David J. MacKenzie  (djm at apple-gunkies)
3693         * xargs.c (do_exec): Child process exits with status 255, not
3694         127, if command can't be run.
3696 Fri Nov  2 02:11:42 1990  David J. MacKenzie  (djm at apple-gunkies)
3698         * xargs.c: Exit with status 127 if running commmand fails, as
3699         required by POSIX.
3701         * fstype.c: Support -fstype for Ultrix (-DFS_GETMNT).
3702         Sun/BSD code is now -DFS_MNTENT.
3704 Thu Nov  1 13:06:01 1990  David J. MacKenzie  (djm at egypt)
3706         * Reorganize into subdirectories and add xargs.  Rewrite Makefiles.
3708         * find.c (process_path, main): Allow a maxdepth of 0, meaning
3709         only process command line args.
3711         * parser.c, pred.c: Add -print0 predicate.
3713         * xargs.c: Add -0 option and long options.  Move standard
3714         library functions into separate files.  Use error instead of
3715         fatal and fprintf/perror.  Use POSIX macros for examining exit
3716         status from wait.
3717         (read_string): New function.
3719 Fri Sep 21 10:21:09 1990  David J. MacKenzie  (djm at apple-gunkies)
3721         * find.c (process_path): Take DEPTH as an arg instead of ROOT,
3722         and change callers.
3724 Thu Sep 20 23:58:47 1990  David J. MacKenzie  (djm at apple-gunkies)
3726         * parser.c (parse_maxdepth): New function.
3727         * find.c (process_path): If -maxdepth was given, don't go
3728         more than that many levels deep.
3729         * defs.h: Declare maxdepth.
3731 Wed Sep 12 02:12:31 1990  David J. MacKenzie  (djm at apple-gunkies)
3733         * parser.c: Add -not as synonym for !.
3735 Sun Aug 26 06:16:08 1990  Jim Kingdon  (kingdon at pogo.ai.mit.edu)
3737         * Makefile (TAGS): New target.
3739 Sun Aug 12 00:32:01 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3741         * xargs.c (main): Tell getopt to not permute.
3743 Sat Aug  4 21:43:45 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
3745         * parser.c (parse_perm), pred.c (pred_perm): Always compare
3746         bits 07777.
3748         * locate.c, Makefile: Rename 'fastfind' program to 'locate',
3749         following comment in POSIX.2 draft 10 rationale for find.
3751 Wed Jul 25 18:45:03 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3753         * listfile.c (getuser, getgroup): Make uid and gid unsigned
3754         short, not int.
3756 Mon Jul 16 13:40:13 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3758         * defs.h: Don't declare fprintf and printf, in case they have
3759         prototypes in stdio.h (important for functions that use stdarg).
3761 Sun Jul 15 23:39:39 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3763         * parser.c (parse_and): New function, for compatibility.
3765 Wed Jul  4 00:17:57 1990  David J. MacKenzie  (djm at apple-gunkies)
3767         * find.c (main): Only enclose expressions that produce no side
3768         effects within `( ... )'.
3770 Tue Jul  3 01:59:39 1990  David J. MacKenzie  (djm at apple-gunkies)
3772         * parser.c (strspn): Stop when end of string reached.
3774         * Version 1.2.
3776         * Move version number from Makefile to new file version.c.
3777         * parser.c: Recognize new -version predicate.
3779         * find.c (main): If no predicates that produce output are
3780         given, default to -print if the entire expression is true, not
3781         just the last part of an alternation.
3782         * Print the names of predicates with invalid arguments.
3784 Mon Jul  2 23:48:17 1990  David J. MacKenzie  (djm at apple-gunkies)
3786         * pred.c: Don't check for invalid comparison types in numeric
3787         predicate functions.
3789 Thu Jun 28 00:34:57 1990  David J. MacKenzie  (djm at apple-gunkies)
3791         * parser.c (parse_regex): Set fastmap and translate before
3792         compiling regex.
3794 Mon Jun 25 18:08:59 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3796         * fastfind.c (fastfind): Initialize count to 0.
3798         * lib/updatedb.sh: Only do regex comparison on directories,
3799         for speed.
3801         * listfile.c (list_file): Truncate user and group name to 8 chars.
3803 Sun Jun 24 13:51:27 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3805         * Version 1.1.
3807         * Makefile [DISTFILES]: Add COPYING.
3809 Fri Jun 22 03:54:27 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3811         * Version 1.0.
3813 Tue Jun 19 03:55:28 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3815         * lib/updatedb.sh: Prune entries that match PRUNEREGEX.
3816         Split up finding files from computing bigrams.
3817         Use redirection instead of nonportable grep -s to detect sort
3818         failure.  Optionally search network filesystems as well as
3819         local ones.
3821         * pred.c (pred_regex): Match against full pathname instead of
3822         just last element.
3823         * util.c (basename): Return "/", not "", if given "/".
3825         * find.c (process_path): Fix error in handling "/" directory.
3827 Mon Jun 18 01:49:16 1990  David J. MacKenzie  (djm at apple-gunkies)
3829         * parser.c [STRSPN_MISSING] (strspn): New function.
3831 Sun Jun 17 13:54:09 1990  David J. MacKenzie  (djm at apple-gunkies)
3833         * listfile.c: New file.
3834         * parser.c (parse_ls): New function.
3835         * pred.c (pred_ls): New function.
3837         * find.c (main): Remove interface to fastfind, to prevent
3838         conflict with POSIX syntax.
3839         * util.c (usage): Remove fastfind syntax from message.
3840         * fastfind.c (main): New function.
3841         * Makefile: Make fastfind a separate program.
3843         * find.c (main): Print correct message if a predicate arg is
3844         missing. 
3846         * parser.c (insert_exec_ok): Make args that start with a ';' but
3847         contain other characters not terminate the command.
3849 Fri Jun 15 00:33:45 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3851         * fstype.c: If MOUNTED isn't defined but MNT_MNTTAB is, use it
3852         instead.  True for HP/UX, at least.
3854 Thu Jun 14 10:10:25 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3856         * savedir.c: New file; now find won't run out of file
3857         descriptors in deep trees.
3858         * find.c (process_path): Use savedir.
3860 Sat Jun  9 03:15:21 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3862         * parser.c (parse_permmask): Allow symbolic mode masks.
3863         (parse_perm): Free 'struct change' when done with it.
3864         (get_oct): Function removed.
3866         * find.c (process_path): Allow arbitrarily-long filenames.
3867         More efficient string copying.  Initialize perm_mask to 07777
3868         instead of -1.
3870 Thu Jun  7 04:22:42 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3872         * Makefile, find.c: Use DIRENT to control whether <dirent.h>
3873         is used.
3875 Thu May 31 04:46:11 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3877         * parser.c (parse_regex): New function.
3878         * pred.c (pred_regex): New function.
3880         * fstype.c (read_mtab): If mtab entry has a "dev=" option
3881         (like in SunOS 4.1), use it, so there is no need to stat the
3882         special file later on.
3883         (xatoi, strstr): New functions.
3885 Mon May 21 01:04:42 1990  David J. MacKenzie  (djm at abyss)
3887         * lib/updatedb.sh: Put BINDIR in PATH.
3889         * fstype.c: Do nothing if MNTENT_MISSING is defined.
3891         * fstype.c: New file.
3892         * parser.c (parse_fstype): New function.
3893         * pred.c (pred_fstype): New function.
3895         * parser.c (parse_newer): Failure to stat -newer file is a
3896         fatal error.
3898         * pred.c (pred_ok): Flush output before reading.  Use getchar
3899         instead of scanf.
3901         * pred.c (pred_prune): Return false if -depth given.
3902         * find.c: Apply the predicates to the dir when -depth and
3903         -prune are given.
3905 Sun May 20 19:55:30 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3907         * pred.c (pred_prune): Set new global var `stop_at_current_level'.
3908         * find.c (process_path): Test and reset it.
3910 Fri May 18 01:56:17 1990  David J. MacKenzie  (djm at abyss)
3912         * modechange.c, modechange.h: New files.
3913         * parser.c (parse_perm): Use mode_compile and mode_adjust to
3914         parse arg, to allow symbolic mode for POSIX.
3916 Thu May 17 02:07:44 1990  David J. MacKenzie  (djm at abyss)
3918         * parser.c (get_oct): Don't consider an empty string a valid number.
3920         * parser.c (parse_perm): If arg starts with '-', set flag bit
3921         for special comparison (POSIX).
3922         * pred.c (pred_perm): If flag bit set, compare s[ug]id &
3923         sticky bits as well, and return true if the given perms are
3924         set, ignoring other bits.
3926         * find.c: New global var `exit_status'.  Use it.  (POSIX)
3927         * parser.c: Set `exit_status' if lstat on -newer file fails.
3929         * fastfind.c: New file.
3930         * find.c (main): Call fastfind if given only 1 arg.
3931         * util.c (usage): Update message. 
3932         * lib/{Makefile,updatedb.sh,bigram.c,code.c}: New files.
3933         * Makefile: Add 'all' and 'install' targets.
3935 Wed May 16 23:23:35 1990  David J. MacKenzie  (djm at abyss)
3937         * parser.c (parse_nogroup, parse_nouser): Implement.
3938         * pred.c (pred_nogroup, pred_nouser): Implement.
3940 Mon May 14 00:09:35 1990  David J. MacKenzie  (djm at abyss)
3942         * find.c: Add variable `stay_on_filesystem' for -xdev.
3943         (process_path): Take an arg determining whether this call is
3944         the root of a tree.  Use lstat instead of stat.  If
3945         stay_on_filesystem, don't process a dir on a different
3946         filesystem. 
3948         * parser.c (parse_newer): Use lstat instead of stat.  Is this right?
3949         (parse_xdev): Set stay_on_filesystem.
3951         * parser.c: Add dummy parse_nogroup, parse_nouser,
3952         parse_prune, and parse_xdev; to be written later.
3953         * pred.c: Add dummy pred_nogroup, pred_nouser, pred_prune.
3955         * find.c: Support System V directory library/headers.
3957         * find.c (process_path): Don't continue with a file that stat
3958         fails on.
3960         * defs.h, parser.c, pred.c: Change 'u_long' and 'u_short' to
3961         'unsigned long' and 'unsigned short'.
3962         * find.c, defs.h: Remove 'convert_glob' variable.
3963         * parser.c (parse_fullregex): Function removed.
3964         (parse_name): Remove regular expression code.
3965         (parse_type): Recognize sockets.
3966         Add code to check for missing arguments to many parse_* functions.
3967         * pred.c (pred_name): Use glob_match instead of regex.
3969 Sun May 13 17:45:09 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3971         * Replace fprintf, simple_error, and mem_error with error and
3972         usage. 
3974         * Fix string header includes for USG.
3976 Tue Mar 27 12:40:29 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3978         * defs.h: Change some #defines to enums.
3980 Sun Mar 25 22:08:58 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
3982         * find.c (main): Don't take basename of argv[0].
3984         * util.c (xmalloc): New function.
3985         * find.c, parser.c, utils.c: Use xmalloc instead of malloc.
3987         * pred.c: Remove emulation of regex for BSD and use GNU
3988         library version in regcmp.c instead.
3989         * parser.c: Remove emulation of regcmp for BSD and use GNU
3990         library version in regcmp.c instead.
3991         * Makefile: Link with regex.o and regcmp.o.
3992         Add a DISTFILES macro and dist target.
3994         * Indent source code.  Move RCS logs to this file.
3996 Wed Mar 21 09:30:18 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
3998         * xargs.c: Indent.  Comment and rename some global variables.
3999         (main): Use getopt to parse options.  Open new global var
4000         `tty_stream' to /dev/tty if querying requested.
4001         (print_args): Read response from tty_stream, not stdin.
4002         (xmalloc): New function.
4003         Global: Use xmalloc instead of malloc.
4004         (usage): Revise message.
4006 87/02/22  20:01:20  20:01:20  cire (Eric B. Decker)
4008         * pred.c: added guts to pred_size
4010 87/02/22  00:59:42  00:59:42  cire (Eric B. Decker)
4012         * pred.c: added guts to perm and permmask.
4014 87/02/21  23:02:21  23:02:21  cire (Eric B. Decker)
4016         * pred.c: made pred_name only look at the last component of
4017         the path.
4019 87/02/21  22:26:47  22:26:47  cire (Eric B. Decker)
4021         * pred.c: added guts to name.  useds regex and regcmp to do
4022         regular expression handling.
4024 87/02/21  00:17:21  00:17:21  cire (Eric B. Decker)
4026         * pred.c: added predicate newer
4028 87/02/20  11:40:07  11:40:07  cire (Eric B. Decker)
4030         * pred.c: added guts to pred_ok
4032 87/02/19  23:52:37  23:52:37  cire (Eric B. Decker)
4034         * pred.c: finished exec.
4036 87/02/22  20:01:09  20:01:09  cire (Eric B. Decker)
4038         * parser.c: added guts to parse_size
4040 87/02/22  00:59:16  00:59:16  cire (Eric B. Decker)
4042         * parser.c: added guts of perm and permmask.  added getoct
4043         routine for perm and permmask
4045 87/02/21  23:32:50  23:32:50  cire (Eric B. Decker)
4047         * parser.c: added -fre, -fullregex predicate to turn off
4048         globbing conversion
4050 87/02/21  23:01:01  23:01:01  cire (Eric B. Decker)
4052         * parser.c: reworked name so the regexpr pattern includes $ at
4053         the end to force globbing to work correctly.  End of the
4054         pattern refers to the end of the filename.
4056 87/02/21  22:25:34  22:25:34  cire (Eric B. Decker)
4058         * parser.c: added guts to name.  uses a conversion from
4059         globbing to regexp format.  uses regex and regcmp to actually
4060         to the comparison.
4062 87/02/21  00:17:11  00:17:11  cire (Eric B. Decker)
4064         * parser.c: added predicate newer
4066 87/02/20  11:39:35  11:39:35  cire (Eric B. Decker)
4068         * parser.c: added ok guts.  consolidated exec and ok to using
4069         insert_exec_ok
4071 87/02/19  00:20:54  00:20:54  cire (Eric B. Decker)
4073         * parser.c: minor bug in -fulldays predicate parser.  It
4074         should have set the flag full_days to true.
4076 87/02/22  00:58:32  00:58:32  cire (Eric B. Decker)
4078         * find.c: changed where we are setting perm_mask to -1.  need
4079         to make sure that this happens before every apply_predicate.
4081 87/02/21  23:32:11  23:32:11  cire (Eric B. Decker)
4083         * find.c: added error checking for no paths.  better error
4084         message if illegal ordering.
4086 87/02/21  22:19:58  22:19:58  cire (Eric B. Decker)
4088         * find.c: added global convert_glob
4090 87/02/22  20:00:12  20:00:12  cire (Eric B. Decker)
4092         * defs.h: added definition of BLKSIZE for size
4094 87/02/21  22:19:25  22:19:25  cire (Eric B. Decker)
4096         * defs.h: added global convert_glob for name