Fix Savannah bug #29511: fails to build on kfreebsd-*
[findutils/ericb.git] / NEWS
blobdd02548a078527616fae67f41cd0159ddbadf308
1 GNU findutils NEWS - User visible changes.      -*- outline -*- (allout)
3 * Major changes in release 4.5.9-git, YYYY-MM-DD
5 ** Bug Fixes
7 #29511: fails to build on kfreebsd-*
9 #19593, -execdir .... {} + has suboptimal performance (see below)
11 ** Performance changes
13 The find program will once again build argument lists longer than 1
14 with "-execdir ...+".  The upper limit of 1 argument for execdir was
15 introduced as a workaround in findutils-4.3.4.   The limit is now
16 removed, but find still does not issue the maximum possible number of
17 arguments, since an exec will occur each time find encounters a
18 subdirectory (if at least one argument is pending).
20 * Major changes in release 4.5.8, 2010-04-07
22 ** Bug Fixes
24 #29460: -printf %Y fails in $CWD-dependent way
26 #27974: Use gnulib's xreadlinkat support
28 #29435: fd_is_cloexec does not work on Fedora buildhosts
30 #27221: symlink_loop check broken by FTS_CWDFD
32 #27213: avoid failed assertions for non-executable directories.
34 ** Translations
36 Updated Vietnamese, Czech, Dutch, Polish, Russian translations.
38 * Major changes in release 4.5.7, 2010-04-03
40 ** Performance changes
42 If you use the -fstype FOO predicate and specify a filsystem type FOO
43 which is not known (e.g. present in /etc/mtab) at the time find
44 starts, that predicate is now equivalent to -false.  This substitution
45 currently occurs at optimisation level 2 and above.
47 ** Translations
49 Copyright headers in the translation files have been updated.  Some
50 additional messages have been marked for translation.  However, there
51 have not been any changes to translation text.  The main purpose of
52 this release is to provide a base for updated translations.
54 * Major changes in release 4.5.6b, 2010-03-30
56 This is a replacement release for 4.5.6, which is not available by FTP
57 since it contains Makefiles which are vulnerable to CVE-2009-4029.
59 * Major changes in release 4.5.6, 2010-03-30
61 ** Functional Enhancements to find
63 patch #4848: Patch - Support for SELinux
65 ** Bug Fixes
67 #29089: SELinux --context and %Z options
69 #28872: Mistake in "#safer" example in "Problems with -exec and
70         filenames" section of the Texinfo manual.
72 #28824: Corrected error message for "-ctime x".
73         Likewise for -gid, -inum, -links, -mmin, -cmin, -amin,
74         -uid, -used, -atime, -mtime, -ctime.
76 #27975: Infinite loop for -exec [..] {} +.
78 #27846: Assertion failure in xargs.c on AIX.
80 #27375: Open file descriptors leak into child processes.
82 #27017: find -D opt / -fstype ext3 -print , -quit coredumps
84 #27328: segfault if the initial exec for "find -exec" fails.
86 #27017: find -D opt / -fstype ext3 -print , -quit coredumps.
88 #26868: compilation error in pred.c on Solaris x86_64
90 #24873: Duplicate fprint option corrupts output
92 #23920: warn about un-matchable -path arguments ending in /.
94 #19120: Patch to fix single quotes in man page find(1)
96 ** Documentation Changes
98 #26327: xargs man page is vague about the number of times command is executed.
100 * Major changes in release 4.5.5, 2009-07-06
102 xargs now handles the case where the system's actual exec limits are
103 smaller than the value of ARG_MAX at compile time.  Very few platforms
104 normally have this property, but it is possible to configure some Unix
105 systems this way.
107 ** Bug Fixes
109 #25359: files/testsuite/find.gnu/posix-h.exp tests fail
111 #26587: Fix a typo in -execdir documentation (it says -exec by mistake
112 in the text).
114 #26537: find -prune now makes sure it has valid stat() information.
116 #22708: Exit status 126 and 127 from the utility invoked from xargs
117 now makes xargs return 123, meaning that exit status values 126 and
118 127 now unambigously mean that the utility could not be run or could
119 not be found, respectively.
121 ** Documentation Changes
123 The -wholename option to find is no longer preferred over -ipath.
126 * Major changes in release 4.5.4, 2009-03-10
128 ** Performance changes
130 The ftsfind executable (which is built by default as "find") now calls
131 fts() in such a way that it avoids calling stat() on directory
132 entries, if it doesn't need the information.  This can produce a
133 significant speedup on filesystems which don't populate the d_type
134 element of struct dirent, for example reiserfs.  Anecdotal evidence
135 suggests this can speed updatedb up from about 30 minutes to 3-4
136 minutes.
138 The ftsfind executable also now avoids calling stat() functions to
139 discover the inode number of a file, if we already read this
140 information from the directory.  This does provide a speed-up, but
141 only for a restricted set of commands such as "find . -inum 4001".
142 This fix is listed below as bug #24342.
144 ** Bug Fixes
146 #25764: remove duplicate entry for 'proc' in updatedb's $PRUNEFS.
148 #25359: find -H wrongly behaves like -L sometimes; this bug affects
149 only filesystems which populate d_type and affects -type and -printf
150 %y.   This does not affect the default behaviour of find or find -P.
152 #25144: Misleading error message when argument to find -user is an
153 unknown user or is missing.
155 #25154: Allow compilation with C compilers that don't allow
156 declarations to follow statements.
158 #24342: -inum predicate shoud use dirent.d_ino instead of stat.st_ino
159 (this is a performance bug).
161 ** Translations
163 Updated translations for Bulgarian, German, Irish, Hungarian,
164 Lithuanian, Dutch, Polish, Slovenian, Swedish, Turkish, Ukranian,
165 Vietnamese.
167 ** Documentation Changes
169 The file README-CVS has been renamed to README-hacking and improved.
171 * Major changes in release 4.5.3, 2008-12-07
173 ** Bug Fixes
175 #24283: find-4.5.2 -printf %TY causes NULL pointer dereference
177 ** Performance changes
179 Changes to gnulib's fts code should provide performance improvements
180 in find when processing very large directories (for example
181 directories containing significantly more than 10000 filenames).
182 Performance imporvements may only exist for some find command lines
183 (performance testing was done for the fts implementation itself but
184 we haven't done the analogous performance tests in find).
186 File type information is also passed back from fts to find, saving
187 calls to the stat system call for find command lines which don't need
188 the stat information.  This provides a performance improvement for
189 common cases like "find . -type d".
191 * Major changes in release 4.5.2, 2008-09-07
193 ** Bug Fixes
195 #24169: find would segfault if the -newerXY test was not followed by
196 any argument.
198 #23996: integer overflow on some platforms when parsing "-used 3".
200 ** Documentation Enhancements
202 #23070: Corrected manpage description of find -perm /000 (the change
203 was already made but the manpage indicated the change would happen
204 "soon").
206 ** Translations
208 Updated translation: French, Indonesian.
209 New translation: Czech.
211 * Major changes in release 4.5.1, 2008-06-21
213 ** Bug Fixes
215 #22662: find -printf %AX appends nanoseconds in the right place now.
217 #23663: crash in some locales for -printf %AX (this problem seems to
218 have affected only the CVS code, and not any public releases).
220 ** Translations
222 New translation: Lithuanian.
224 Updated translations: Chinese (simplified).
226 ** Documentation Enhancements
228 Added a worked example describing how to find the shallowest instances
229 of a given directory name (or names) in a directory hierarchy.
231 * Major changes in release 4.5.0, 2008-05-21
233 ** Functional Enhancements to find
235 If the POSIXLY_CORRECT environment variable is set, the system's
236 definition of "yes" and "no" responses are used to interpret the
237 response to questions from -ok and -okdir.  The default is still to
238 use information from the findutils message translations.
240 ** Enhancements
242 If xargs find that exec fails because the argument size limit it
243 calculated is larger than the system's actual maximum, it now adapts
244 by passing fewer arguments (as opposed to failing).
246 ** Performance changes
248 The default optimisation level for find is now -O2 instead of -O0,
249 meaning that a number of additional optimisations are performed by
250 default.   Current optimisations at each level are:
252 0:      Perform -name, -path, -iname, -ipath before other checks.
253 1:      Expressions containing only cost-free tests are evaluated
254         before expressions which contain more costly tests.
255 2:      Bring forward all tests that need to know the type of a file
256         but don't need to stat it.
257 3:      All tests are ordered by their estimated cost.
259 Cost here is simply an estimate of how time consuming the I/O
260 operations needed to make a test are.
262 ** Bug Fixes
265 #22662: nanoseconds wrongly appended after "PM" for find -printf %AX
266 in locale en_US.UTF-8.
268 #15472: Error messages that print ino_t values are no longer truncated
269 on platforms with 64-bit ino_t.
271 On some systems without support for a boolean type (for example some
272 versions of the AIX C compiler), find's regular expression
273 implementation fails to support case-insensitive regular expression
274 matching, causing -iregex to behave like -regex.  This is now fixed.
276 ** Documentation Changes
278 #20873: Indicate that * matches / and leading dot in filenames for
279 "find -path".
281 Both the Texinfo manual and the find manual page now include a more
282 precise description of how your locale configuration affects the
283 interpretation of regular expressions and how your response to prompts
284 from the -ok action are interpreted.
286 * Major changes in release 4.3.13, 2008-02-14
288 ** Bug Fixes
290 #22057: Actually rename the old locate database to the new one
291 atomically, instead of just claiming the rename is atomic in a
292 comment.
294 #22056: -Xtime tests are off by one second (e.g. rm -f x; touch x;
295 find x -mtime 0 should print x).
297 #21960: xargs should collect the exit status of child processes even if
298 the total count of unreaped children has not yet reached the maximum
299 allowed.
301 ** Documentation Fixes
303 Documented various useful techniques with invoking "sh -c" from
304 xargs in the Texinfo documentation.
306 ** Translations
308 Updated the German, Irish, Dutch, Polish and Vietnamese translations.
311 * Major changes in release 4.3.12, 2007-12-19
313 ** Bug Fixes
315 #15384: Find misbehaves when parent directory is not readable.
317 ** Documentation Fixes
319 More examples in the xargs manual page, including a portable analogue
320 for BSD's "xargs -o".
322 ** Translations
324 Updated translations: Polish, Dutch, Portuguese, Swedish, Vietnamese.
327 * Major changes in release 4.3.11, 2007-12-02
329 ** Functional changes
331 When the POSIXLY_CORRECT environment variable is set, "find -perm
332 +a+w" is rejected as invalid.  Some other similar mode strings
333 starting with '+' which are not valid in POSIX are also rejected.
335 The -prune action now always evaluates as true (this is also a
336 bugfix).
339 ** Bug Fixes
341 #21568: Switch to checking the gnulib code out with native git, not
342 CVS.  This affects mainly those who check findutils code out of CVS.
343 This is not the first time this bug has been fixed (the previous fix
344 used "cvs update -D", which git-cvspserver silently does not
345 support).
347 #21039: Setting the POSIXLY_CORRECT environment variable now turns off
348 warnings by default, because POSIX requires that only diagnostic
349 messages (and -ok prompts) are printed on STDERR, and diagnostic
350 messages must also result in a nonzero exit status.
352 #20970: Trailing slash on directory arguments breaks -name.  "find
353 foo/ -name foo" now correctly matches foo and printf foo/.  See POSIX
354 interp http://www.opengroup.org/austin/interps/uploads/40/14959/AI-186.txt
356 #20865: Using both -delete and -prune without explicitly using -depth
357 is now an error.  Traditionally, -delete has always turned -depth on
358 anyway, so this is not a functional change.   However, using -depth
359 (implicitly or explicitly) makes -prune a no-op.  This change is
360 intended to avoid nasty surprises for people who test with
361 "-print" and then change it to "-delete" when they are happy.
363 #20803: POSIX requires that -prune always returns true.  Previously it
364 returned false when -depth was in effect and true otherwise.
366 #20802: If -delete fails, find's exit status will now be non-zero.
367 However, find still skips trying to delete ".".
369 ** Documentation Fixes
370 #21635: Some of the documentation files had missing copying
371 conditions.   The missing files now have copying headers, and these
372 are compatible with each other (GNU FDL 1.2).
374 #21634: No copy of FDL 1.2 included with the source code
376 #21633: Missing copyright/license header in some documentation.
378 #21628: find -perm /000 matches all files rather than none, since
379 findutils-4.3.3.  The Texinfo documentation is now consistent with the
380 manual page on this point.
382 #21270: Formatting fixes to the xargs.1 manual page, including making
383 options bold instead of italic and making OPTIONS a section header
384 rather than a subsection.
386 * Major changes in release 4.3.10, 2007-11-13
388 ** Bug Fixes
390 #21568: findutils gnulib code does not match the date in
391 import-gnulib.config.  We now check out the gnulib code via
392 git-cvs-pserver.
394 * Major changes in release 4.3.9, 2007-11-11
396 ** Licensing
398 Findutils version 4.3.9 is released under version 3 of the GNU General
399 Public License.
401 ** Bug Fixes
403 #20834: Avoid segmentation violation for -execdir when $PATH is
404 unset.  Assume that the PATH is safe in this situation.
406 #20310: configure uses hosts's support status for "sort -z" when
407 generating the updatedb script for use on the target.  This is
408 inappropriate when cross-compiling, so avoid doing that.
410 #20263: Compilation fix for DEC Alpha OSF/1 cc, which forbids the
411 ordering comparison of function pointers.
413 #20139: find -[acm]time -N (wrongly) includes files from N days ago,
414 as well as (correctly) from less than N days ago.
416 #20273: When xargs is successful without consuming all of stdin (for
417 example, with the -E option), and stdin is seekable, xargs now
418 correctly restores the file position, even on platforms where exit()
419 does not follow the POSIX rules of doing likewise.  Likewise for find
420 (for example, with the -ok action).
422 #20547: The version information printed by find, xargs, locate,
423 updatedb, frcode and code now complies with the GNU Project's coding
424 standards.
426 #20662: Avoid memory leak in find -name and other places affected by
427 gnulib dirname module.  The leak had been present since 4.3.1.
429 #20751: Avoid memory corruption in find -ls that has been present
430 since 4.3.1.
432 #20871: Assertion failure introduced in 4.3.3, when oldfind is invoked
433 in a directory where the parent directory lacks search permission.
435 ** Enhancements
437 #20594: Allow fine-tuning of the default argument size used by xargs
438 and find at ./configure time.
440 #20688: The warning printed by -name or -iname when the pattern to
441 match contains a slash can now be silenced by -nowarn.  This warning
442 was originally introduced unconditionally in 4.2.21.
444 Translation of locate --limit problems is improved.
446 POSIX will standardise -path, so the documentation no longer claims
447 that -wholename is the 'canonical' test, and -ipath no longer
448 generates a warning.
450 ** Documentation Fixes
452 Point out more explicitly that the subsecond timestamp support
453 introduced by findutils-4.3.3 introduces a change in the format of
454 several fields.
456 Also explain that when reporting a bug, you should check the most
457 recent findutils release first.
459 Introduced doc/find-maint.texi, a maintenance manual for findutils.
461 Added an extra worked example for find (copying a subset of files).
463 The locate command's manual page now has a HISTORY section.
465 #20951: Very bad/unclear/confusing documentation of security checks in
466 find -execdir
468 #20865: Better documentation on the fact that -delete implies -depth
469 and that -delete interacts badly with -prune.
471 #20552: Fixed typos, formatting and section ordering issues in the
472 find manual page.
474 #20529: removed spurious 'o' in description of "xargs -a" in
475 doc/find.texi.
477 #20232: The --max-database-age option of locate was added in release
478 4.3.3, but this file (NEWS) did not previously mention this fact.
480 ** Translations
482 Updated Dutch translation.
485 * Major changes in release 4.3.8, 2007-06-12
487 ** Bug Fixes
489 #20157: Avoid segfault in locate when run as root.  This is caused by
490 a buffer overrun, but at this time no exploit mechanism is known.
492 * Major changes in release 4.3.7, 2007-06-09
494 ** Functional changes
496 Locate can now read old-format locate databases generated on machines
497 with a different byte order.  It does this by guessing the byte order,
498 so the result is not completely reliable.  If you need to share
499 databases between machines of different architectures, you should use
500 the LOCATE02 format (which has other advantages, as explained in the
501 documentation).
503 ** Security Fixes
505 #20014: Findutils-4.3.7 includes a patch for a potential security
506 problem in locate.  When locate read an old-format database, it read
507 file names into a fixed-length buffer allocated on the heap without
508 checking for overflow.  Although overflowing a heap buffer is often
509 somewhat safer than overflowing a buffer on the stack, this bug still
510 has potential security implications.
512 This bug also affected the following previous findutils releases:
514  - All releases prior to 4.2.31
515  - Findutils 4.3.0 to 4.3.6.
517 This bug has been assigned CVE number CVE-2007-2452.
519 ** Bug Fixes
521 #20128: Fix compilation error of find/tree.c on AIX with GCC.
523 #20005: Tests -mtime -n and -mtime +n incorrectly treated like -mtime n.
525 #19983: include_next causes compilation failure in findutils 4.3.6 on
526 non-GCC compilers
528 #19981: Don't call setgroups if the function isn't available.  This
529 fixes Savannah bug# 19981.
531 #19980: Don't use the functions putw() or getw() since these are not
532 in current POSIX.  Use the gnulib version of wcwidth() where the
533 system does not provide it.
535 #19979: Compilation errors on BeOS
537 #19970: Cannot cast from pointer to bool using gnulib's <stdbool.h>
539 #19967: Use of __attribute((__noreturn__)) makes compilation fail with
540 some non-GCC compilers
542 #19966: find should link against -lm for modf() and fabs()
544 #19965: Compilation failure on OSF/1 4.0; non-declaration of uintmax_t
546 #19948: Assertion failure O_NOFOLLOW != 0 on IRIX 6.5
548 #19871: Typos in find.1
550 #19596: Fixed this bug again, this time in the Texinfo manual (the
551 discussion should compare %b with %s/512, not %s/1024).
553 #19416: _FORTIFY_SOURCE warn_unused_result warnings
555 * Major changes in release 4.3.6, 2007-05-21
557 ** Bug Fixes
559 #19948: Fixed an assertion failure on IRIX 6.5 (O_NOFOLLOW is defined
560 to 0 there).
562 #19923: Fixed an array overrun in groups[] array of 'locate' when run by
563 or as root.  This bug appears not to be exploitable.  If locate is not
564 installed setuid, the bug is not exploitable.  For setuid
565 installations, it is concievable that there could be an information
566 leak if the user uses the -d option or the -e option, though the
567 maintainer has been unable to provoke this on an x86 system.
569 #19871: Spurious .R directives in manpage produced error messages from
570 GNU troff.  This is now fixed (they are corrected to .B).
572 #19416: The result of I/O operations in print-related actions is now
573 checked, and failures are reported.  Any failure will cause find's
574 exit status to be nonzero.   The predicate itself will continue to
575 return true.
577 ** Compilation Fixes
579 A variety of changes were made to allow compilation to succeed on
580 non-GNU systems.
582 #19983: Now compiles on DEC C V5.9-005 on Digital UNIX V4.0 (or at
583 least, should).
585 #19970: Compile correctly on C89 systems where the "_Bool" type is not
586 provided, taking into account the limitations of the gnulib
587 replacement for stdbool.h.
589 #19967: Build successfully with C compilers that don't support the GCC
590  construct __attribute__((__noreturn__)).
592 #19966: Findutils should now build on systems which have the modf()
593 and fabs() functions in the maths library, -lm.  This includes some
594 versions of HP-UX and Solaris.
596 #19965: Fixed a compilation failure on OSF/1 4.0 (no definition of the
597 type uintmax_t).
600 * Major changes in release 4.3.5, 2007-05-05
602 ** Functional changes
604 Updatedb can now support he generation of file name databases which
605 are compatible with slocate.  For some time, GNU locate has been able
606 to read these.
608 The /proc filesystem is excluded from the locate database (by
609 default; change PRUNEPATHS to modify this behaviour).
611 ** Bug Fixes
613 #19806: The -samefile predicate might get fooled by inode reuse.  We
614 now hold open a file descriptor on the reference file to prevent this.
616 #19768: Better detection of corrupted old-style locate databases
617 (e.g. if the database is too short to include a complete bigram
618 table).
620 #19766: The frcode and code programs now detect write errors more
621 reliably.
623 #19371: Fix compilation failure on systems which #define open to
624 open64 (and similarly with the close system call).  This fixes
625 Savannah bug #19371, affecting AIX 5.3.
627 #19658: When cross-compiling, "make clean" no longer deletes the
628 generated file doc/regexprops.texi, because there is no way to
629 regenerate it.
631 #19391: When xargs knows that the system's actual exec limit is larger
632 than the compiled-in ARG_MAX, use the system's limit without
633 generating an assertion failure.
635 #18203: A duplicate report of bug #17478.
637 #17478: Error messages from find can garble the console.
639 #16378: Assertion failure if stat() returns 00000 as the mode
640 of a file.  This apparently can happen occasionally with broken NFS
641 servers.
643 #11668: FreeBSD extensions for time specification are now
644 implemented.  In fact, these were included in findutils-4.3.3.  The
645 change was listed as a functional change (whcih it is) and this bug
646 report was not mentioned.
648 ** Documentation Fixes
650 The locatedb.5 manpage now documents the (default) LOCATE02 format
651 more clearly, and also documents the slocate database format.
653 The maximum and default values applying to the -s option of xargs are
654 now documented more clearly in the manual page.
656 * Major changes in release 4.3.4, 2007-04-21
658 ** Bug Fixes
660 #19634: Test suite now passes (again) if "." is on your $PATH.
662 #19619: Findutils builds once again on Cygwin.
664 #19617: Nonexistent start points are (once again) diagnosed in
665 ftsfind.  This bug affected only findutils-4.3.3.
667 #19616: Fix leaf optimisation and loop detection (which were
668 unreliable in findutils 4.3.3).  This bug affected only
669 findutils-4.3.3.
671 #19615: find --version no longer claims to be using FTS_CWDFD when it
672 isn't.  This bug affected only findutils-4.3.3.
674 #19613: "find -L . -type f" no longer causes an assertion failure when
675 it encounters a symbolic link loop.  This bug affected only
676 findutils-4.3.3.
678 #19605: Issue an error message (and later return nonzero exit status)
679  if a symbolic link loop was encountered during directory traversal.
681 #19484: bigram.c and code.c fail if the first pathname recorded begins
682 with a space
684 #19483: Inconsistent option highlighting in updatedb manpage
686 #18414: Tests for "find -readable" are skipped for the superuser, as
687  on some systems (e.g. Cygwin with an Administrative user) users can
688  read mode-000 files.
690 ** Translations
692 Findutils 4.3.4 includes a translation for the Ukranian language.
695 * Major changes in release 4.3.3, 2007-04-15
697 Fiundutils-4.3.3 was released on 2007-04-15.
699 ** Bug Fixes
701 #19596: Correct the comparison in the find manpage between %b and %s
702 (the divisor is 512 not 1024).
704 #18714: In the POSIX locale, vertical tabs and form feeds are not
705 field separators.
707 #18713: Quoted but empty arguments which occur last on an xargs input
708 line are no longer ignored, but instead produce an empty argument.
710 #18554: Documented the construct  -exec sh -c 'foo "$@" bar' {} +
712 #18466: we now avoid this bug by limiting "-execdir ...+"
713 to just one argument for the time being.  There is a performance
714 penalty for doing this.  We hope to make a better fix in a later
715 release.
717 #18384: excess bracket in xargs --help
719 #18320: Zero bytes in input should give warning
721 #17437: Corrected the handling of X in symbolic permissions (such
722 as-u+w,a+X).  This change actually occurred in findutils-4.3.2, but
723 the NEWS file for that release didn't mention it.
725 #17396: find -mtime -atime -ctime does not support fractional part
726 (see "Functional changes" below)
728 #14748: find -perm /zzz gives wrong result when zzz evaluates to an
729  all-zero mask
731 #14535: correctly support case-folding in locate (that is, "locate
732 -i") for multibyte character environments such as UTF-8.  Previously,
733 if your search string contained a character which was outside the
734 single-byte-encoding range for UTF-8 for example, then the
735 case-folding behaviour failed to work and only exact matches would be
736 returned.
740 ** Functional changes
742 The -printf action (and similar related actions) now support %S,
743 which is a measurement of the sparseness of a file.
745 The test "-perm /000" now matches all files instead of no files.  For
746 over a year find has been issuing warning messages indicating that
747 this change will happen.  We now issue a warning indicating that the
748 change has already happened (in 4.3.x only, there is no plan to make
749 this change in the 4.2.x series).
751 The tests -newer, -anewer, -cnewer, -mtime, -atime, -ctime, -amin,
752 -cmin, -mmin and -used now support sub-second timestamps, including
753 the ability to specify times with non-integer arguments.
755 The -printf format specifiers also support sub-second timestamps:
756   atime   ctime  mtime
757   %a      %c     %t
758   %AS     %CS    %TS
759   %AT     %CT    %TT
760   %A+     %C+    %T+
761   %AX     %CX    %TX
764 The new test -newerXY supports comparison between status times for
765 files.  One of the status times for a file being considered (denoted
766 X) is checked against a reference time (denoted Y) for the file whose
767 name id the argument.  X and Y can be:
769    a    Access time
770    B    Birth time (st_birthtime, currently unsupported)
771    c    Change time
772    m    Modification time
773    t    Valid only for the reference time; instead of comparison
774         against a file status time, the argument is a time string.
775         Not yet supported.
777 For example, -newermm is equivalent to -newer, and -neweram is true if
778 the file being considered was accessed more recently than the
779 reference file was modified.  The -newerXY test supports subsecond
780 timestamps where these are available.  The X=B variant is not yet
781 implemented.
783 If you configure the source code and then run the tests with "make
784 check", the test suite fails rather than defaulting to testing the
785 system binaries.
787 A new option, --max-database-age, has been added to locate.
790 * Major changes in release 4.3.2, 2006-11-25
792 ** Bug Fixes
794 #18222: find -printf '%H %P' once again prints the right result if
795 more than one start point was given on the command line.
797 #17782: find -execdir now correctly puts the prefix "./" before the
798 expansion of "{}" rather than at the start of the argument it appears
799 in.  Please note that if you use the -exec or -execdir actions with a
800 shell, then you may be vulnerable to shell code injection attacks, so
801 don't do that.  It's not a security defect in find - you should not be
802 passing untrusted data (such as file names chosen by other people) to
803 the shell.
805 #17490: find  -regex generated a segfault in findutils-4.3.1, but this
806  is fixed in findutils-4.3.2.
808 #17477: find -printf '%' (that is, where the format has a trailing %)
809 now generates an error message.
811 #17372: The fts-based find executable (the default configuration uses
812 fts) is now much faster when -maxdepth is used on filesystems with
813 high fanouts.
815 #15531: The -prune action now behaves correctly when applied to a file.
817 ** Functional changes
819 The slocate database format is now supported.  Preliminary changes
820 intended to eventually allow setuid operation of locate have also been
821 made.  For the moment, please don't install GNU locate as a
822 set-user-ID program (except for testing purposes; if you do so, please
823 make sure that untrusted users cannot execute the set-user-ID locate
824 program).
826 Use of an slocate database which was built with a nonzero security
827 mode (at the moment, GNU updatedb will not do this) forces locate's
828 "-e" option to be turned on, which has an effect on the "-S" option
829 which is probably surprising for most users.
832 ** Documentation Fixes
834 The global effect of options (other than -daystart and -follow) is now
835 explained more clearly in the manual page.   Savannah bug #15360.
838 * Major changes in release 4.3.1, 2006-08-06
840 ** Bug Fixes
842 Find now follows POSIX rules for determining where directories end and
843 expressions start.  This means that "find \(1 \!2 \, \)" now searches
844 in the four named directories, rather than trying to parse an
845 expression. (Savannah bug #15235).
847 You now get a more helpful error message when you use command lines
848 which have missing expressions, such as
849       find . ( )
850       find . !
851       find . -a
852       find . \( -not \)
853       find . \( -true -a
855 Savannah bug #15800: If find finds more subdirectories within a parent
856 directory than it previously expected to based on the link count of
857 the parent, the resulting error message now gives the correct
858 directory name (previously an error message was issued but it
859 specified the wrong directory).
861 Savannah bug #16738: "find .... -exec ... {} +" now works if you have
862 a large environment and many files must be passed to the -exec
863 action.  The same problem affected the -execdir action, though since
864 the number of files in a given directory will normally be smaller, the
865 problem was worse for -exec.
867 Savannah bug #16579: Updatedb now works if it is running as a user
868 whose login shell is not actually a shell.
870 There have also been a number of documentation improvements (includng
871 Savannah bug #16269).
873 ** Functional changes
875 For find, debug output can now be enabled at runtime with the -D
876 option.  This causes the printing of various sorts of information
877 about find's internal state and progress.
879 The find option -nowarn cannot itself produce a warning (this used to
880 happen with commands like "find . -name quux -nowarn -print").
882 ** Performance Enhancements
884 Find now has a rudimentary cost-based optimiser.  It has an idea of
885 the basic cost of each test (i.e. that -name is very cheap while -size
886 is more expensive).  It re-orders tests bearing in mind the cost of
887 each test and its likely success.  Predicates with side effects (for
888 example -delete or -exec) are not reordered.  The optimiser is not
889 yet enabled by default, but the new option -O controls the query
890 optimisation level.  To see this in action, try
891   find -D opt -O3 . -type f -o -type c -o -size 555 -name Z
892 and compare the optimised query with:
893   find -D opt -O3 . -size 555 -o -type c -o -type f -name Z
895   find -D opt     . -size 555 -o -type c -o -type f -name Z
897 Over time, as optimisations are proven to be robust and correct, they
898 will be moved to lower optimisation levels.  Some optimisations have
899 always been performed by find (for example -name is always done early
900 if possible).
902 ** Translations
904 Findutils 4.3.1 includes updated translations for the following
905 languages:
906  Vietnamese, Belarusian, Catalan, Danish, German, Greek, Esperanto,
907  Spanish, Estonian, Finnish, French, Irish, Galician, Croatian, Hungarian,
908  Indonesian, Italian, Japanese, Korean, Luganda, Malay, Dutch, Polish,
909  Portuguese, Brazilian Portuguese, Romanian, Russian, Kinyarwanda,
910  Slovak, Slovenian, Serbian, Swedish, Turkish, Chinese (simplified),
911  Chinese (traditional), Bulgarian
913 * Major changes in release 4.3.0, 2005-12-12
915 The 4.3.x release series are currently 'development' releases.  Please
916 test it, but think carefully before installing it in a production
917 system.  New features in findutils-4.3.x are under development; they
918 may change or go away.
920 All changes up to and including findutils-4.2.27 are included in this
921 release.  In addition the following changes are new in this release:
923 ** Functional Changes
925 By default, find now uses the fts() function to search the file
926 system.  The use of fts greatly increases find's ability to search
927 extremely deep directory hierarchites.
929 You can tell that the version of find you are using uses FTS, because
930 the output of "find --version" will include the word "FTS".
932 Currently two binaries for 'find' are built.  The configure option
933 --without-fts can be used to select whether 'find' uses fts:
935                                   With fts      Without fts
936 default configuration             find          oldfind
937 configure --with-fts              find          oldfind
938 configure --without-fts           ftsfind       find
940 New tests, -readable, -writable, -executable.  These check that a file
941 can be read, written or executed respectively.
943 * Major changes in release 4.2.27, 2005-12-06
945 ** Warnings of Future Changes
947 The test -perm /000 currently matches no files, but for greater
948 consistency with -perm -000, this will be changed to match all files;
949 this change will probably be made in early 2006.  Meanwhile, a warning
950 message is given if you do this.
952 ** Bug Fixes
954 If xargs is invoked with many short arguments on PPC systems running
955 the Linux kernel, we no longer get an "argument list too long" error
956 from the operating system.
958 Fixed a bug in the test suite which caused it to spuriously fail on
959 systems where ARG_MAX is different to the value used by the Linux
960 kernel on 32-bit x86-architecture systems.
962 On systems running the Linux kernel, "find -printf %F" no longer
963 produces the wrong answer for files on filesystems that have been
964 remounted elsewhere using "mount --bind". (Savannah bug #14921).
966 ** Documentation Changes
968 Following some extensive and detailed review comments from Aaron
969 Hawley, the material in the manual pages and the Texinfo manual are
970 now synchronised.
972 The %M format specifier of "find -printf" is now documented, although
973 it has existed since release 4.2.5.
975 The 'find' manual page now correctly documents the fact that -regex
976 defaults to using Emacs-style regular expressions (though this can be
977 changed).
979 * Major changes in release 4.2.26, 2005-11-19
981 ** Public Service Announcements
983 I'd like to point out a second time that the interpretation of '-perm
984 +mode' has changed to be more POSIX-compliant.  If you want the old
985 behaviour of the GNU extension you should use '-perm /mode'.  See the
986 NEWS entry for findutils version 4.2.21 for details.
988 ** Functional Changes
990 The xargs command now supports a new option (--delimiter) which allows
991 input items to be separated by characters other than null and
992 whitespace.  This resolves Savannah support request sr #102914.
994 Sometimes find needs to read the /etc/mtab file (or perform the
995 equivalent operation on systems not using /etc/mtab).  If this
996 information is needed but not available, find now exits with an error
997 message non-zero status.  If the information is not needed, find will
998 not spuriously fail.
1000 A new xargs option --delimiter allows the input delimiter to be
1001 changed (previously \0 was the only choice unless you use the -L
1002 option, which changes other semantics too).
1004 ** Bug Fixes
1006 If the environment size is too large to allow xargs to operate
1007 normally, 'xargs --help' still works (now).
1009 If the input to xargs is a large number of very short options (for
1010 example, one character each), earlier versions of xargs would fail
1011 with 'Argument list too long'.  However, since this is precisely the
1012 problem that xargs was invented to solve, this is a bug.  Hence on
1013 those systems we now correctly use a shorter command line.  This
1014 problem particularly affected 64-bit Linux systems because of the
1015 larger size of pointers, although 32-bit Linux systems were also
1016 affected (albeit for longer command lines).  In theory the same
1017 problem could affect 'find -exec {} +', but that's much less likely
1018 (even so, the bug is fixed there too).
1020 Bugfix for an unusual failure mode (Savannah bug #14842) where an
1021 attempt to allocate more space for directory contents succeeds but is
1022 incorrectly diagnosed as a failure.  The likelihood of you
1023 experiencing this depends on your architecture, operating system and
1024 resource limits.  This failure has been observed in a directory
1025 containing 35396 entries.
1027 ** Documentation Changes
1029 The EXAMPLES section of the find manual page now correctly describes
1030 the symbolic and octal modes for the -perm test.
1032 The documentation and "--help" usage information for the -L, -l, -I
1033 and -i options have been clarified (but the behaviour has not changed).
1035 The documentation now explains more clearly what happens when you use
1036 "-L -type l".
1038 * Major changes in release 4.2.25, 2005-09-03
1040 ** Bug Fixes
1042 find -perm /440 (which should succeed if a file is readable by its
1043 owner or group) now works.  Previously there was a bug which caused
1044 this to be treated as "find -perm 440".
1046 Some files in the xargs test suite have been renamed to avoid problems
1047 on operating systems whoch cannot distinguish filenames on the basis
1048 of upper/lower case distinctions.
1050 The software now builds on Cygwin, including the generated file
1051 regexprops.texi.
1053 Findutils should now build once again on systems supporting AFS, but
1054 this support has not recently been fully tested.  Findutils should
1055 also (once again) build on Cygwin.
1057 ** Other Changes
1059 The test suite for find is now much more extensive.
1061 * Major changes in release 4.2.24, 2005-07-29
1063 ** Documentation Changes
1065 The manual now includes a "Worked Examples" section which talks about
1066 the various ways in which findutils can be used to perform common
1067 tasks, and why some of these alternatives are better than others.
1069 The -I option of xargs (which is required by the POSIX standard) is
1070 now documented.
1072 We now document the fact that find ensures that commands run by -ok
1073 and -okdir don't steal find's input.  Find does this by redirecting
1074 the command's standard input from stdin.
1076 Many documentation readability enhancements and proofreading fixes
1077 were contributed by Aaron Hawley.
1079 ** Functional Changes
1081 *** Functional changes in locate
1083 The "--regex" option of locate now assumes the regular expression to
1084 be in the same syntax as is used in GNU Emacs, though this can be
1085 changed with the new option --regextype.  This is a change from the
1086 existing behaviour (which was to use POSIX Basic Regular Expressions).
1087 Since this feature is releatively new anyway, I though it was more
1088 useful to have compatibility between regular expression handling in
1089 find and locate than to maintain the short-lived previous behaviour of
1090 locate.
1092 The locate program now also supports a "--regextype" long option which
1093 controls which regular expression syntax is understood by locate.
1094 This is a long option and has no single-letter 'short option'
1095 equivalent.
1097 *** Functional changes in find
1099 The regular expression syntax understood by "find" can be changed with
1100 the -regextype option; this option is positional, meaning that you can
1101 have several tests, each using a distinct syntax (this is not
1102 recommended practice however).
1104 The default regular expression syntax is substantially the same as
1105 that recognised by GNU Emacs, except for the fact that "." will match
1106 a newline.
1108 The leaf optimisation can be disabled with the configure option
1109 "--disable-leaf-optimisation", which is equivalent to specifying
1110 "-noleaf" on all find command lines.  This is useful for systems
1111 having filesystems which do not provide traditional Unix behaviour for
1112 the link count on directories (for example Cygwin and the Solaris 9
1113 HSFS implementation).
1115 ** Bug Fixes
1117 *** Bug Fixes for find
1119 The -iregex test now works once again on systems that lack
1120 re_search() (that is, systems on which findutils needs to use the
1121 gnulib version of this function).
1123 find -regex now once again uses GNU Emacs-compatible regular
1124 expressions.
1126 If invoked with stderr closed, the -fprint and -fprintf actions now no
1127 longer cause error messages to be sent into the output file.
1129 If the link count of a directory is less that two, the leaf
1130 optimisation is now disabled for that directory.  This should allow
1131 searching of non-Unix filesystems to be more reliable on systems that
1132 don't take the trouble to make their filesystems look like traditional
1133 Unix filesystems.   Some filesystems don't even take the trouble to
1134 have a link count of less than two and for these, -noleaf is still
1135 required unless --disable-leaf-optimisation was used at configure time.
1137 The "%Y" directive for the -printf action now no longer changes find's
1138 idea of the mode of the file, so this means among other things that
1139 "-printf %Y %y" now works properly.  This is Savannah bug #13973.
1141 * Major changes in release 4.2.23, 2005-06-19
1143 ** Documentation Changes
1145 The -L and -I options of xargs are currently incompatible (but should
1146 not be).
1148 Improved the documentation for -execdir and -okdir.
1150 ** Functional Changes to updatedb
1152 File names ending in "/" which are specified as an argument to
1153 --prunepaths (or in $PRUNEPATHS) don't work, so we now issue an error
1154 message if the user tries to do that.  The obvious exception of course
1155 is "/" which does work and is not rejected.
1158 * Major changes in release 4.2.22, 2005-06-12
1160 ** Security Fixes
1162 If a directory entry searched with "find -L" is a symbolic link to
1163 ".", we no longer loop indefinitely.  This problem affected find
1164 versions 4.2.19, 4.2.20 and 4.2.21.  This problem allows users to make
1165 "find" loop indefinitely.  This is in effect a denial of service and
1166 could be used to prevent updates to the locate database or to defeat
1167 file security checks based on find.   However, it should be noted that
1168 you should not use "find -L" in security-sensitive scenarios.
1170 ** Other Bug Fixes
1172 None in this release.
1174 ** Functional Changes to locate
1176 A locate database can now be supplied on stdin, using '-' as a element
1177 of the database-path. If more than one database-path element is '-',
1178 later instances are ignored.
1180 A new option to locate, '--all' ('-A') causes matches to be limited to
1181 entries which match all given patterns, not entries which match
1182 one or more patterns.
1184 ** Documentation Changes
1186 Some typos in the manual pages have been fixed.  Various parts of the
1187 manual now point out that it is good practice to quote the argument of
1188 "-name".  The manpage now has a "NON-BUGS" section which explains some
1189 symptoms that look like bugs but aren't.  The explanations of the "%k"
1190 and "%b" directives to "find -printf" have been imrpoved.
1193 * Major changes in release 4.2.21, 2005-06-07
1194 ** Functional Changes to find
1196 The GNU extension "find ... -perm +MODE" has been withdrawn because it
1197 is incompatible with POSIX in obscure cases like "find ... -perm ++r".
1198 Use the new syntax "find ... -perm /MODE" instead.  Old usages will
1199 still continue to work, so long as they don't conflict with POSIX.
1201 If the output is going to a terminal, the -print, -fprint, -printf and
1202 -fprintf actions now quote "unusual" characters to prevent unwanted
1203 effects on the terminal.  See "Unusual Characters in File Names" for
1204 further details.  There is no change to the behaviour when the output
1205 is not going to a terminal.   The locate program does the same thing,
1206 unless the -0 option is in effect (in which case the filenames are
1207 printed as-is).
1209 ** Functional Changes to locate
1211 The locate command will now read each locate database at most once.
1212 This means that if you are using multiple databases and are searching
1213 for more than one name, the results will now be printed in a different
1214 order (and if you specified a small limit with --limit, you may get a
1215 different set of results).
1217 A new option '--print' for locate causes it to print the matching
1218 results even if the '--count' or '--statistics' option is in effect.
1220 ** Bug Fixes
1221 find /blah/blah/blah -depth -empty now works once again.
1223 The -regex and -iregex tests of find now correctly accept POSIX Basic
1224 Regular Expressions.  (Savannah bug #12999)
1226 The updatedb program now works on systems where "su" does not support
1227 the "-s" option, for example Solaris.
1229 * Major changes in release 4.2.20, 2005-03-17
1230 ** Internationalization and Localization
1231 Updated Vietnamese and Dutch translations.
1233 ** Bug Fixes
1234 Minor bugfix affecting only those who compile from the CVS repository,
1235 as opposed to those who compile from the source releases.
1237 * Major changes in release 4.2.19, 2005-03-07
1238 ** Bug Fixes
1240 find should now no longer hang on systems which lack the O_NOFOLLOW
1241 flag to open(2) and which are clients of an unresponsive NFS server
1242 (Savannah bug #12044).
1244 We now avoid inappropriately failing for "find -L foo" or "find -H
1245 foo" if foo is a symbolic link (Savannah bug #12181).  Previously we
1246 used to fail with the error message "Too many levels of symbolic
1247 links".
1249 "find . -false -exec foo {} +" no longer runs an extra instance of foo
1250 when find exits (Savannah bug #12230).
1252 If the chdir() safety check fails but we can no longer get back to
1253 where we started, exit with an explanatory (fatal) error message.
1254 This does not happen on GNU/Linux and FreeBSD because the safety check
1255 is not needed (the security problem the safety check protects against
1256 is prevented in a cleaner way on those systems).
1258 "make distclean" no longer deletes regex.c (which "make all" needs).
1260 **  Functionality Changes
1261 "find -printf "%h\n" will now print "." for files in the current directory.
1262 Previously it printed nothing (but there was a bug in the %h
1263 implementation anyway).  This fixes Savannah bug #12085.
1265 Should now build (again) on non-C99-compliant systems.
1267 ** Documentation enhancements
1268 Fixed some typos and clarified wording in "Working with automounters".
1270 ** Internationalization and Localization
1271 New Vietnamese message translation.
1273 * Major changes in release 4.2.18, 2005-02-16
1274 ** Bug Fixes
1275 *** "find -depth" was missing out non-leaf directories when they contain
1276     non-directories.  This affected findutils releases 4.2.15,
1277     4.2.16 and 4.2.17, but the bug is now fixed.
1278 *** Find no longer hangs on systems which are clients of unresponsive
1279     NFS servers.
1280 **  Documentation improvements
1281 *** Improvements and corrections to the find.1 manpage, including corrections to the descriptions of -H and -L.
1283 * Major changes in release 4.2.17, 2005-02-08
1284 ** Bug Fixes
1285 *** bug #11861  undefined symbol "basename" on IRIX 5.3
1286 *** bug #11865  xargs -i regression  (as compared to findutils-4.2.12)
1287 *** bug #11866  Typo in pred_okdir renders it useless (affecting 4.2.16 only)
1288 *** patch #3723 fix recent process_top_path change (for -execdir on /)
1289 *** Fixing bug #11866 and applying patch #3723 made -execdir work much better.
1290 *** find bar/baz/ugh now works again if baz is a symbolic link (broken
1291     in 4.2.15).
1293 * Major changes in release 4.2.16, 2005-02-05
1294 **  Functionality Changes
1295 *** Updated the message catalogues for the translated messages.
1296 *** The subfs filesystem is now treated the same as the autofs
1297     filesystem is.
1298 *** New translations:  Belarusian, Catalan, Greek, Esperanto,
1299     Finnish, Irish, Croatian, Hungarian, Japanese, Luganda,
1300     Malay, Romanian, Slovenian, Serbian, Chinese (simplified).
1302 **  Bug Fixes
1303 *** The -execdir action now works correctly for files named on the
1304     command line.
1306 * Major changes in release 4.2.15, 2005-01-29
1307 **  Functionality Changes
1308 *** locate now supports matching regular expression (--regex).
1309 *** --enable-d_type-optimization (introduced in findutils 4.2.13) is now turned on by default.
1311 * Major changes in release 4.2.14, 2005-01-25
1312 **  Functionality Changes
1313 *** New options -L, -P, -H for locate.  The work in the same was as the same options for find.
1314 **  Bug Fixes
1315 *** Don't include the "findutils/find/testsuite/find.gnu" subdirectory in the
1316     distributed tar file more than once.
1317 *** Should now build on Solaris once again.
1318 *** -xtype and -printf %Y now work correctly for symbolic links once again
1319 **  Documentation improvements
1320 *** All options for "locate" are now documented
1322 * Major changes in release 4.2.13, 2005-01-23
1323 **  Performance Enhancements
1324 *** On Linux and some other systems, a large performance improvement,
1325     because we can eliminate many of the calls to lstat() (in extreme
1326     cases, 99% of them).  Limited testing shows a 2x speedup on NFS
1327     filesystems.  Other systems which can make use of this enhancement
1328     include Mac OS X and *BSD.
1330 * Major changes in release 4.2.12, 2005-01-22
1331 **  Functionality Changes
1332 *** find is now POSIX-compliant, as far as I know.
1333 *** -exec ... {} + now works.
1334 *** New actions -execdir and -okdir which are like -exec and -ok but more secure.
1335 *** "locate -w" is now a synonym for "locate --wholepath".
1336 *** An empty path entry in the locate database path (for example "::" in
1337     $LOCATE_PATH or in the argument to "locate -d") is taken to mean
1338     the default database, whose name is hard-coded in locate.
1339 **  Bug Fixes
1340 *** If find or xargs cannot write to stdout, for example because
1341     output is redirected to a file and the disk is full, the
1342     relevant program will return a non-zero exit status.
1344 * Major changes in release 4.2.11, 2004-12-12
1345 **  Bug Fixes
1346 *** Compilation fix for systems without EOVERFLOW.
1347 *** More helpful error message if you make a mistake with (, ), -o or -a.
1348 **  Functionality Changes
1349 *** If you have unclosed parentheses on the find command line,
1350     or any of a number of similar problems, find will now produce
1351     a more helpful error message.
1352 *** locate -b is now a synonym for locate --basename
1353 *** locate now supports a --statistics (or -S) option, which prints some
1354     statistics about the locate databases.
1355 *** Implemented the -samefile option.
1356 **  Documentation improvements
1357 *** New chapter in the manual, "Security Considerations".
1358 *** Better documentation for -prune (Mainly thanks to   Stepan Kasal)
1359 **  Bug Fixes
1360 *** locate's options -i and -w now work with the -e option (previously a bug
1361     prevented this).
1363 * Major changes in release 4.2.10, 2004-12-06
1364 **  Bug Fixes
1365 *** Portability fix for fstype.c: should now compile on UNICOS, and possibly
1366     also produce useful results on BeOS and Dolphin, perhaps other
1367     systems too.
1369 * Major changes in release 4.2.9, 2004-12-05
1370 **  Functionality Changes
1371 *** xargs no longer treats a line containing only an underscore as a logical end-of-file.   To obtain the behaviour that was previously the default, use "-E_".
1372 *** xargs now supports the POSIX options -E, -I and -L.   These are synonyms
1373     for the existing options -e, -i and -l, but the latter three are
1374     now deprecated.
1375 **  Bug Fixes
1376 *** xargs -n NUM now invokes a command as soon as it has NUM arguments.
1377     Previously, it waited until NUM+1 items had been read, and then
1378     invoked the command with NUM arguments, saving the remaining one
1379     for next time.
1380 *** If "find -L" discovers a symbolic link loop, an error message is issued.
1381 *** If you specify a directory on the find command line, but -prune
1382     is applied to it, find will no longer chdir() into it anyway.
1383 **  Documentation improvements
1384 *** The precise interpretation of the arguments to the -atime, -ctime
1385     and similar tests in find has been documented more clearly.
1387 * Major changes in release 4.2.8, 2004-11-24
1388 *** Bugfix to the findutils 4.2.7 automount handling on Solaris.  This
1389     worked to some extent in findutils-4.2.7, but is much improved in
1390     findutils-4.2.8.
1392 * Major changes in release 4.2.7, 2004-11-21
1393 **  Functionality Changes
1394 *** xargs can now read a list of arguments from a named file, allowing
1395     the invoked program to use the same stdin as xargs started with
1396     (for example ``xargs --arg-file=todo emacs'').
1397 **  Documentation improvements
1398 *** The Texinfo manual now has an extra chapter, "Error Messages".  Most
1399     error messages are self-explanatory, but some of the ones which
1400     are not are explained in this chapter.
1401 **  Bug Fixes
1402 *** Avoid trying to link against -lsun on UNICOS, which doesn't need it or
1403     have it.
1404 *** Bugfix to the findutils 4.2.6 automount handling (which hadn't been enabled
1405     on Solaris).
1406 *** Reenabled internationalisation support (which had been accidentally
1407     disabled in findutils-4.2.5).
1409 * Major changes in release 4.2.6, 2004-11-21
1410 **  Bug Fixes
1411 *** find now copes rather better when a directory appears to change just as
1412     it is about to start examining it, which happens with automount.
1413     This is because automount mounts filesystems as you change
1414     directory into them.  This should resolve Savannah bugs #3998,
1415     #9043.
1417 * Major changes in release 4.2.5, 2004-11-11
1418 **  Functionality Changes
1419 *** The POSIX options -H and -L are supported.  These control whether or not
1420     find will follow symbolic links.
1421 *** The BSD option -P is also now supported (though in any case
1422     it is the default).
1423 **  Documentation improvements
1424 ***  Better documentation for "xargs -i".
1425 **  Bug Fixes
1426 *** "make install" now respects DESTDIR when generating localstatedir.
1427     (this is only relevant if you are installing to some location
1428     other than the one that you indictaed when you ran "configure").
1429 *** Compatible with automake versions 1.8 and 1.9.
1430 *** Build problems on UNICOS now fixed, though the linker will still generate
1431     warnings because we try to link with the nonexistent library
1432     "-lsun".  Edit $(LIBS) to work around this problem.
1434 * Major changes in release 4.2.4, 2004-11-08
1435 **  Functionality Changes
1436 *** If your system sort command has a working "-z" option, updatedb will
1437     now correctly handle newline characters in filenames (as will
1438     locate).
1439 *** xargs now uses 128Kb of command line by default (less if the system
1440     doesn't support that much).
1441 *** If you specify a 'find' option after non-option, a warning message
1442     is now issued.  Options should be specified immediately after the
1443     list of paths to search.  These warnings are enabled if you
1444     specify the -warn option, or if stdin is a tty.  They are diabled
1445     by the use of the -nowarn option.
1446 *** Like find, the locate program now supports an option --null (short form -0)
1447     which changes the result separator from newline to NULL.
1448 *** Locate supports the option -c (long form --count) which suppresses normal
1449     output but prints on stdout the number of results produced (like
1450     grep -c).
1451 *** Locate supports the option -l (long form --limit) which limits the
1452     number of results.  This is useful if you only want to find out if
1453     there are copies of a certain file on the system, but don't want
1454     to wait for the entire locate database to be searched.
1455 *** Locate now has an option --basename which forces the specified pattern to
1456     be matched against the basename of the entries in the locate
1457     database, rather than the whole name.  The default behaviour
1458     (matching against the whole name of the file including all the
1459     parent directory names) corresponds to the option --wholename.
1460 *** updatedb has a new option, --findoptions, that can be used to
1461     pass extra options through to the find command that it uses.
1462 **  Bug Fixes
1463 *** "find -printf '%H\n'" now works (rather than segfaulting) on
1464     systems that have non-writable string constants.
1465 *** Better POSIX compliance for the -s option to xargs (out of range
1466     values should just result in bounding to the correct range, not an
1467     error, so now we just print a warning message and adjust the
1468     value).
1469 *** Corrected section numbers of manual page cross-references
1471 * Major changes in release 4.2.3, 2004-10-30
1472 **  Functionality Changes
1473 *** Added new action -delete which deletes things that find matches.
1474 *** Added new action -quit which causes find to exit immediately.
1475 *** A new format directive '%D' for "find -printf" prints the device number.
1476 *** The -ls predicate no longer truncates user or group names.
1477 *** Added new option "-d" which is a synonym for "-depth" for compatibility
1478     with Mac OS, OpenBSD and FreeBSD.  This option is already
1479     deprecated since the POSIX standard specifies "-depth".
1480 *** Added two new format specifiers to the -printf action; these are
1481     %y and %Y.  They indicate the type of the file as a single letter;
1482     these are the same latters as are used by the "-type" test.
1483 *** If a parent directory changes during the execution of find,
1484     the error message we issue identifies the nature of the change
1485     (for example the previous and current inode numbers of the
1486     directory we've just returned out of).
1487 ** Other Changes
1488 *** Non-functional code changes to silence compiler warnings.
1490 * Major changes in release 4.2.2, 2004-10-24
1491 **  Documentation improvements
1492 *** "find ... -exec {}+" is not yet supported.
1493 ** Bug Fixes
1494 *** Fixed compilation problems on Solaris, RedHat EL AS 2.1, Irix, AIX
1495 *** Work around possible compiler bug on HP-UX 11.23 for ia64
1496 *** The built-in internationalisation support now works again.
1497 ** Other Changes
1498 *** We now import the gnulib source in the way it is intended to be used,
1499     which means among other things that we only have one config.h file
1500     now.
1501 *** Functions which findutils requires but which are not present in
1502     gnulib are now defined in "libfind.a".  This is in the lib
1503     directory, while gnulib is in the gnulib subdirectory.
1504 *** Fixed a typo in the address of the FSF in many of the file headers.
1506 * Major changes in release 4.2.1, 2004-10-17
1507 ** Bug Fixes
1508 *** 'find -name \*bar now matches .foobar, because the POSIX standard
1509      requires it, as explained at
1510      http://standards.ieee.org/reading/ieee/interp/1003-2-92_int/pasc-1003.2-126.html
1512 * Major changes in release 4.2.1, 2004-10-17
1513 ** Bug Fixes
1514 *** find -iname now works correctly on systems that have an fnmatch() function
1515     that does not support FNM_CASEFOLD
1516 *** updatedb now uses signal names for "trap" instead of numbers,
1517     as per bug #9465 (see http://www.opengroup.org/onlinepubs/009695399/utilities/trap.html)
1518 *** Better support for systems lacking intmax_t
1519 ** Other Changes
1520 **** findutils now uses a newer version of gnulib (dated 2004-10-17).
1522 * Major changes in release 4.2.0, 2003-06-14
1523 ** Functionality Changes
1524 *** xargs now works better when the environment variables are very extensive.
1525     The xargs command used to run into difficulties if the environment
1526     data contained more than 20480 bytes.
1527 *** New options -wholename and -iwholename
1528     As per the GNU Projecvt coding standard, These are preferred over
1529     the -path and -ipath options.  Using -ipath now generates a warning,
1530     though -path does not (since HPUX also offers -path).
1531 *** The environment variable FIND_BLOCK_SIZE is now ignored.
1532 *** New option "-ignore_readdir_race"
1533     silences an error messages which would otherwise occur if a file is removed
1534     after find has read it from the directory using readdir(), but before
1535     find stats the file.  There is also an option
1536     -noignore_readdir_race which has the opposite effect.
1537 **  Documentation improvements
1538 *** The -size option of find is now documented in more detail
1539 *** POSIX compliance and GNU extensions
1540     The find manual page also now includes a section
1541     which describes the relationship between the features of GNU
1542     find and the POSIX standard.  Some other small improvements
1543     to the find and xargs manual pages have been made.
1544 *** The argument to the -fprintf directive is now better documented.
1545     The escape code '\0' for the `-printf' predicate of find is now
1546     documented, and the documentation for the %k and %b specifiers
1547     has been improved.
1548 *** xargs -i is now more clearly documented.
1549 ** Bug Fixes
1550 *** locate 'pa*d' will now find /etc/passwd (if it exists, of course)
1551 *** xargs standard input is not inherited by child processes
1552     If the command invoked by xargs reads from its standard input,
1553     it now gets nothing, as opposed to stealing data from the
1554     list of files that xargs is trying to read.
1555 *** Better support for 64-bit systems.
1556 *** The command "xargs -i -n1" now works as one might expect,
1557     I think this is a strange thing to want to do.
1558 *** Arguments to find -mtime that are too large are now diagnosed
1559     Previously, this just used to cause find just to do the wrong thing.
1560 *** updatedb is now somewhat more robust
1561     The updatedb shell script now does not generate an empty
1562     database if it fails.
1563 *** Sanity-check on some data read from locatedb
1564     Locate now detects some types of file corruption in the
1565     locate database.
1566 *** The %k format specifier for -fprintf now works
1567     This was broken in 4.1.20.
1569 * Major changes in release 4.1.20, 2003-06-14:
1570 ** New maintainer, James Youngman <jay@gnu.org>
1571 ** As far as I know, this is the first release after 4.1.7, but I've left
1572    a gap just in case.
1573 ** We now use an "imported" version of gnulib, rather than including
1574    a copy of the gnulib code in our CVS repository.   There are no
1575    differences in the build instructions, though (unless you are
1576    building directly from CVS, in which case please read the file
1577    README-CVS).
1578 ** There are no (deliberate) functional changes in version 4.1.20.
1580 * Major changes in release 4.1.7, 2001-05-20:
1581 fix problem so that default "-print" is added when "-prune" is used.
1582 security fixes related to directories changing while find is executing.
1584 * Major changes in release 4.1.6, 2000-10-10:
1585 correct bug in prune.
1586 added --ignore-case option for locate
1588 * Major changes in release 4.1.5, 2000-04-12:
1589 Add support for large files
1591 * Major changes in release 4.1.4, 2000-02-26:
1592 bug fixes, more up-to-date languages.
1594 * Major changes in release 4.1.3, 2000-01-27:
1595 added internationalization and localization.
1597 * Major changes in release 4.1.2, 2000-01-18:
1598 None.
1600 * Major changes in release 4.1.1, 1999-08-8:
1601 attempt at successful compilation on many platforms after years of neglect
1602  "--existing" option added to locate "--prunefs" option added to updatedb
1604 * Major changes in release 4.1, 1994-11-3:
1606 ** Distribution renamed to findutils.
1607 ** updatedb is now a user command, installed in $exec_prefix/bin
1608   instead of $exec_prefix/libexec.
1609 ** A few problems in Makefiles and testsuite corrected.
1611 * Major changes in release 4.0, 1994-11-2:
1613 ** Documentation:
1614 *** Texinfo manual.
1615 *** Man page for updatedb.
1616 *** Man page for the locate database formats.
1618 ** find:
1619 *** Takes less CPU time on long paths, because it uses chdir to descend
1620    trees, so it does fewer inode lookups.
1621 *** Does not get trapped in symbolic link loops when -follow is given.
1622 *** Supports "-fstype afs" if you have /afs and /usr/afsws/include
1623    and you configure using the --with-afs option.
1624 *** New action -fls FILE; like -ls but writes to FILE.
1626 ** locate:
1627 *** Supports a new database format, which is 8-bit clean and
1628    allows machines with different byte orderings and integer sizes to
1629    share the databases.  The new locate can also detect and read the
1630    old database format automatically.  The new databases are typically
1631    30% or more larger than the old ones (due to allowing all 8 bits in
1632    file names).  Search times are approximately the same, or faster on
1633    some systems.
1634 *** Warns if a file name database is more than 8 days old.
1636 ** updatedb:
1637 *** Takes command-line options.
1639 ** xargs:
1640 *** Performance improved 10-20%.
1641 *** The EOF string is not used when -0 is given.
1642 *** Now has a test suite.  Some minor bugs fixed as a result.
1644 * Major changes in release 3.8, 1993-03-29:
1646 ** case insensitive versions of -lname, -name, -path, -regex:
1647   -ilname, -iname, -ipath, -iregex
1648 ** %F directive for -printf, -fprintf to print file system type
1650 * Major changes in release 3.7:
1652 ** locate can search multiple databases
1653 ** locate has an option to specify the database path
1654 ** updatedb no longer goes into an infinite loop with some versions of tail
1656 * No NEWS was kept for earlier releases.  Known release dates include:
1657 ** release 3.2, 1991-08-28
1658 ** release 3.1, 1991-08-21
1659 ** release 3.0, 1991-08-21
1660 ** release 2.2, 1991-04-05
1661 ** release 2.1, 1991-01-01
1662 ** release 2.0, 1990-11-20
1663 ** release 1.2, 1990-07-03
1664 ** release 1.1, 1990-06-24
1665 ** release 1.0, 1990-06-22
1666 ** beginning of findutils history, 1987-02-21
1668                         --//--
1669 This is used by Emacs' spell checker ispell.el:
1671 LocalWords: ansi knr strftime xargs updatedb sh fnmatch hin strcpy
1672 LocalWords: lib getstr getline frcode bigram texi depcomp automake
1673 LocalWords: strncasecmp strcasecmp LIBOBJS FUNC prunefs allout libexec
1674 LocalWords: testsuite Texinfo chdir inode fstype afs fls ls EOF lname
1675 LocalWords: regex ilname iname ipath iregex printf fprintf
1677 Copyright (C) 1996, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007,
1678 2008, 2009, 2010 Free Software Foundation, Inc.
1680 Permission is granted to copy, distribute and/or modify this document
1681 under the terms of the GNU Free Documentation License, Version 1.3 or
1682 any later version published by the Free Software Foundation; with no
1683 Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
1684 Texts.  A copy of the license is included in the ``GNU Free
1685 Documentation License'' file as part of this distribution.