If a system has no st_blocks member in struct stat, we assume files have a sparseness...
[findutils.git] / NEWS
blobe3cf863ab22545aeaa49c069df39b5294620bff6
1 GNU findutils NEWS - User visible changes.      -*- outline -*- (allout)
2 * Major changes in release 4.3.6
4 ** Bug Fixes
6 #19948: Fixed an assertion failure on IRIX 6.5 (O_NOFOLLOW is defined
7 to 0 there).
9 #19923: Fixed an array overrun in groups[] array of 'locate' when run by
10 or as root.  This bug appears not to be exploitable.  If locate is not
11 installed setuid, the bug is not exploitable.  For setuid
12 installations, it is concievable that there could be an information
13 leak if the user uses the -d option or the -e option, though the
14 maintainer has been unable to provoke this on an x86 system.
16 #19871: Spurious .R directives in manpage produced error messages from
17 GNU troff.  This is now fixed (they are corrected to .B).
19 #19416: The result of I/O operations in print-related actions is now
20 checked, and failures are reported.  Any failure will cause find's
21 exit status to be nonzero.   The predicate itself will continue to
22 return true.
24 ** Compilation Fixes
26 A variety of changes were made to allow compilation to succeed on
27 non-GNU systems.
29 #19970: Compile correctly on C89 systems where the "_Bool" type is not
30 provided, taking into account the limitations of the gnulib
31 replacement for stdbool.h.
33 #19967: Build successfully with C compilers that don't support the GCC
34  construct __attribute__((__noreturn__)).
36 #19966: Findutils should now build on systems which have the modf()
37 function in the maths library, -lm.  This includes some versions of
38 HP-UX.
40 #19965: Fixed a compilation failure on OSF/1 4.0 (no definition of the
41 type uintmax_t).
44 * Major changes in release 4.3.5
46 ** Functional changes
48 Updatedb can now support he generation of file name databases which
49 are compatible with slocate.  For some time, GNU locate has been able
50 to read these.
52 The /proc filesystem is excluded from the locate database (by
53 default; change PRUNEPATHS to modify this behaviour).
55 ** Bug Fixes
57 #19806: The -samefile predicate might get fooled by inode reuse.  We
58 now hold open a file descriptor on the reference file to prevent this.
60 #19768: Better detection of corrupted old-style locate databases
61 (e.g. if the database is too short to include a complete bigram
62 table).
64 #19766: The frcode and code programs now detect write errors more
65 reliably.
67 #19371: Fix compilation failure on systems which #define open to
68 open64 (and similarly with the close system call).  This fixes
69 Savannah bug #19371, affecting AIX 5.3.
71 #19658: When cross-compiling, "make clean" no longer deletes the
72 generated file doc/regexprops.texi, because there is no way to
73 regenerate it.
75 #19391: When xargs knows that the system's actual exec limit is larger
76 than the compiled-in ARG_MAX, use the system's limit without
77 generating an assertion failure.  
79 #18203: A duplicate report of bug #17478.
81 #17478: Error messages from find can garble the console.
83 #16378: Assertion failure if stat() returns 00000 as the mode
84 of a file.  This apparently can happen occasionally with broken NFS
85 servers.
87 #11668: FreeBSD extensions for time specification are now
88 implemented.  In fact, these were included in findutils-4.3.3.  The
89 change was listed as a functional change (whcih it is) and this bug
90 report was not mentioned.
92 ** Documentation Fixes
94 The locatedb.5 manpage now documents the (default) LOCATE02 format
95 more clearly, and also documents the slocate database format.
97 The maximum and default values applying to the -s option of xargs are
98 now documented more clearly in the manual page.
100 * Major changes in release 4.3.4
102 ** Bug Fixes
104 #19634: Test suite now passes (again) if "." is on your $PATH.
106 #19619: Findutils builds once again on Cygwin.
108 #19617: Nonexistent start points are (once again) diagnosed in
109 ftsfind.  This bug affected only findutils-4.3.3.
111 #19616: Fix leaf optimisation and loop detection (which were
112 unreliable in findutils 4.3.3).  This bug affected only
113 findutils-4.3.3.
115 #19615: find --version no longer claims to be using FTS_CWDFD when it
116 isn't.  This bug affected only findutils-4.3.3.
118 #19613: "find -L . -type f" no longer causes an assertion failure when
119 it encounters a symbolic link loop.  This bug affected only
120 findutils-4.3.3.
122 #19605: Issue an error message (and later return nonzero exit status)
123  if a symbolic link loop was encountered during directory traversal.
125 #19484: bigram.c and code.c fail if the first pathname recorded begins
126 with a space
128 #19483: Inconsistent option highlighting in updatedb manpage
130 #18414: Tests for "find -readable" are skipped for the superuser, as
131  on some systems (e.g. Cygwin with an Administrative user) users can
132  read mode-000 files.
134 ** Translations
136 Findutils 4.3.4 includes a translation for the Ukranian language.
139 * Major changes in release 4.3.3
141 Fiundutils-4.3.3 was released on 2007-04-15.
143 ** Bug Fixes
145 #19596: Correct the comparison in the find manpage between %b and %s
146 (the divisor is 512 not 1024).
148 #18714: In the POSIX locale, vertical tabs and form feeds are not
149 field separators.
151 #18713: Quoted but empty arguments which occur last on an xargs input
152 line are no longer ignored, but instead produce an empty argument.
154 #18554: Documented the construct  -exec sh -c 'foo "$@" bar' {} +
156 #18466: we now avoid this bug by limiting "-execdir ...+"
157 to just one argument for the time being.  There is a performance
158 penalty for doing this.  We hope to make a better fix in a later
159 release.
161 #18384: excess bracket in xargs --help
163 #18320: Zero bytes in input should give warning
165 #17437: Corrected the handling of X in symbolic permissions (such
166 as-u+w,a+X).  This change actually occurred in findutils-4.3.2, but
167 the NEWS file for that release didn't mention it.
169 #17396: find -mtime -atime -ctime does not support fractional part
170 (see "Functional changes" below)
172 #14748: find -perm /zzz gives wrong result when zzz evaluates to an
173  all-zero mask
175 #14535: correctly support case-folding in locate (that is, "locate
176 -i") for multibyte character environments such as UTF-8.  Previously,
177 if your search string contained a character which was outside the
178 single-byte-encoding range for UTF-8 for example, then the
179 case-folding behaviour failed to work and only exact matches would be
180 returned.
184 ** Functional changes
186 The -printf action (and similar related actions) now support %S,
187 which is a measurement of the sparseness of a file.
189 The test "-perm /000" now matches all files instead of no files.  For
190 over a year find has been issuing warning messages indicating that
191 this change will happen.  We now issue a warning indicating that the
192 change has already happened (in 4.3.x only, there is no plan to make
193 this change in the 4.2.x series).
195 The tests -newer, -anewer, -cnewer, -mtime, -atime, -ctime, -amin,
196 -cmin, -mmin and -used now support sub-second timestamps, including
197 the ability to specify times with non-integer arguments.
199 The -printf format specifiers also support sub-second timestamps:
200   atime   ctime  mtime
201   %a      %c     %t
202   %AS     %CS    %TS 
203   %AT     %CT    %TT 
204   %A+     %C+    %T+ 
205   %AX     %CX    %TX 
208 The new test -newerXY supports comparison between status times for
209 files.  One of the status times for a file being considered (denoted
210 X) is checked against a reference time (denoted Y) for the file whose
211 name id the argument.  X and Y can be:
213    a    Access time
214    B    Birth time (st_birthtime, currently unsupported)
215    c    Change time
216    m    Modification time
217    t    Valid only for the reference time; instead of comparison
218         against a file status time, the argument is a time string.
219         Not yet supported.
221 For example, -newermm is equivalent to -newer, and -neweram is true if
222 the file being considered was accessed more recently than the
223 reference file was modified.  The -newerXY test supports subsecond
224 timestamps where these are available.  The X=B variant is not yet
225 implemented.
227 If you configure the sourec code and then run the tests with "make
228 check", the test suite fails rather than defaulting to testing the
229 system binaries.
230    
232 * Major changes in release 4.3.2
234 ** Bug Fixes
236 #18222: find -printf '%H %P' once again prints the right result if
237 more than one start point was given on the command line.
239 #17782: find -execdir now correctly puts the prefix "./" before the
240 expansion of "{}" rather than at the start of the argument it appears
241 in.  Please note that if you use the -exec or -execdir actions with a
242 shell, then you may be vulnerable to shell code injection attacks, so
243 don't do that.  It's not a security defect in find - you should not be
244 passing untrusted data (such as file names chosen by other people) to
245 the shell.
247 #17490: find  -regex generated a segfault in findutils-4.3.1, but this
248  is fixed in findutils-4.3.2.
250 #17477: find -printf '%' (that is, where the format has a trailing %)
251 now generates an error message.
253 #17372: The fts-based find executable (the default configuration uses
254 fts) is now much faster when -maxdepth is used on filesystems with
255 high fanouts.
257 #15531: The -prune action now behaves correctly when applied to a file.
259 ** Functional changes
261 The slocate database format is now supported.  Preliminary changes
262 intended to eventually allow setuid operation of locate have also been
263 made.  For the moment, please don't install GNU locate as a
264 set-user-ID program (except for testing purposes; if you do so, please
265 make sure that untrusted users cannot execute the set-user-ID locate
266 program).
268 Use of an slocate database which was built with a nonzero security
269 mode (at the moment, GNU updatedb will not do this) forces locate's
270 "-e" option to be turned on, which has an effect on the "-S" option
271 which is probably surprising for most users.
274 ** Documentation Fixes
276 The global effect of options (other than -daystart and -follow) is now
277 explained more clearly in the manual page.   Savannah bug #15360.
280 * Major changes in release 4.3.1
282 ** Bug Fixes
284 Find now follows POSIX rules for determining where directories end and
285 expressions start.  This means that "find \(1 \!2 \, \)" now searches
286 in the four named directories, rather than trying to parse an
287 expression. (Savannah bug #15235).
289 You now get a more helpful error message when you use command lines
290 which have missing expressions, such as 
291       find . ( )
292       find . !
293       find . -a
294       find . \( -not \)
295       find . \( -true -a
297 Savannah bug #15800: If find finds more subdirectories within a parent
298 directory than it previously expected to based on the link count of
299 the parent, the resulting error message now gives the correct
300 directory name (previously an error message was issued but it
301 specified the wrong directory).
303 Savannah bug #16738: "find .... -exec ... {} +" now works if you have
304 a large environment and many files must be passed to the -exec
305 action.  The same problem affected the -execdir action, though since
306 the number of files in a given directory will normally be smaller, the
307 problem was worse for -exec.
309 Savannah bug #16579: Updatedb now works if it is running as a user
310 whose login shell is not actually a shell.
312 There have also been a number of documentation improvements (includng
313 Savannah bug #16269).
315 ** Functional changes
317 For find, debug output can now be enabled at runtime with the -D
318 option.  This causes the printing of various sorts of information
319 about find's internal state and progress.
321 The find option -nowarn cannot itself produce a warning (this used to
322 happen with commands like "find . -name quux -nowarn -print").
324 ** Performance Enhancements
326 Find now has a rudimentary cost-based optimiser.  It has an idea of
327 the basic cost of each test (i.e. that -name is very cheap while -size
328 is more expensive).  It re-orders tests bearing in mind the cost of
329 each test and its likely success.  Predicates with side effects (for
330 example -delete or -exec) are not reordered.  The optimiser is not
331 yet enabled by default, but the new option -O controls the query 
332 optimisation level.  To see this in action, try
333   find -D opt -O3 . -type f -o -type c -o -size 555 -name Z
334 and compare the optimised query with:
335   find -D opt -O3 . -size 555 -o -type c -o -type f -name Z
337   find -D opt     . -size 555 -o -type c -o -type f -name Z
339 Over time, as optimisations are proven to be robust and correct, they
340 will be moved to lower optimisation levels.  Some optimisations have
341 always been performed by find (for example -name is always done early
342 if possible).
344 ** Translations
346 Findutils 4.3.1 includes updated translations for the following
347 languages:
348  Vietnamese, Belarusian, Catalan, Danish, German, Greek, Esperanto,
349  Spanish, Estonian, Finnish, French, Irish, Galician, Croatian, Hungarian,
350  Indonesian, Italian, Japanese, Korean, Luganda, Malay, Dutch, Polish,
351  Portuguese, Brazilian Portuguese, Romanian, Russian, Kinyarwanda,
352  Slovak, Slovenian, Serbian, Swedish, Turkish, Chinese (simplified),
353  Chinese (traditional), Bulgarian
355 * Major changes in release 4.3.0
357 The 4.3.x release series are currently 'development' releases.  Please
358 test it, but think carefully before installing it in a production
359 system.  New features in findutils-4.3.x are under development; they
360 may change or go away. 
362 All changes up to and including findutils-4.2.27 are included in this
363 release.  In addition the following changes are new in this release:
365 ** Functional Changes
367 By default, find now uses the fts() function to search the file
368 system.  The use of fts greatly increases find's ability to search
369 extremely deep directory hierarchites.
371 You can tell that the version of find you are using uses FTS, because
372 the output of "find --version" will include the word "FTS".
374 Currently two binaries for 'find' are built.  The configure option
375 --without-fts can be used to select whether 'find' uses fts:
377                                   With fts      Without fts
378 default configuration             find          oldfind
379 configure --with-fts              find          oldfind
380 configure --without-fts           ftsfind       find
382 New tests, -readable, -writable, -executable.  These check that a file
383 can be read, written or executed respectively.
385 * Major changes in release 4.2.27
387 ** Warnings of Future Changes
389 The test -perm /000 currently matches no files, but for greater
390 consistency with -perm -000, this will be changed to match all files;
391 this change will probably be made in early 2006.  Meanwhile, a warning
392 message is given if you do this.
394 ** Bug Fixes
396 If xargs is invoked with many short arguments on PPC systems running
397 the Linux kernel, we no longer get an "argument list too long" error
398 from the operating system.
400 Fixed a bug in the test suite which caused it to spuriously fail on
401 systems where ARG_MAX is different to the value used by the Linux
402 kernel on 32-bit x86-architecture systems.
404 On systems running the Linux kernel, "find -printf %F" no longer
405 produces the wrong answer for files on filesystems that have been
406 remounted elsewhere using "mount --bind". (Savannah bug #14921).
408 ** Documentation Changes
410 Following some extensive and detailed review comments from Aaron
411 Hawley, the material in the manual pages and the Texinfo manual are
412 now synchronised.
414 The %M format specifier of "find -printf" is now documented, although
415 it has existed since release 4.2.5.
417 The 'find' manual page now correctly documents the fact that -regex
418 defaults to using Emacs-style regular expressions (though this can be
419 changed).
421 * Major changes in release 4.2.26
423 ** Public Service Announcements
425 I'd like to point out a second time that the interpretation of '-perm
426 +mode' has changed to be more POSIX-compliant.  If you want the old
427 behaviour of the GNU extension you should use '-perm /mode'.  See the
428 NEWS entry for findutils version 4.2.21 for details.
430 ** Functional Changes
432 The xargs command now supports a new option (--delimiter) which allows
433 input items to be separated by characters other than null and
434 whitespace.  This resolves Savannah support request sr #102914.
436 Sometimes find needs to read the /etc/mtab file (or perform the
437 equivalent operation on systems not using /etc/mtab).  If this
438 information is needed but not available, find now exits with an error
439 message non-zero status.  If the information is not needed, find will
440 not spuriously fail.
442 A new xargs option --delimiter allows the input delimiter to be
443 changed (previously \0 was the only choice unless you use the -L
444 option, which changes other semantics too).
446 ** Bug Fixes
448 If the environment size is too large to allow xargs to operate
449 normally, 'xargs --help' still works (now).
451 If the input to xargs is a large number of very short options (for
452 example, one character each), earlier versions of xargs would fail
453 with 'Argument list too long'.  However, since this is precisely the
454 problem that xargs was invented to solve, this is a bug.  Hence on
455 those systems we now correctly use a shorter command line.  This
456 problem particularly affected 64-bit Linux systems because of the
457 larger size of pointers, although 32-bit Linux systems were also
458 affected (albeit for longer command lines).  In theory the same
459 problem could affect 'find -exec {} +', but that's much less likely
460 (even so, the bug is fixed there too).
462 Bugfix for an unusual failure mode (Savannah bug #14842) where an
463 attempt to allocate more space for directory contents succeeds but is
464 incorrectly diagnosed as a failure.  The likelihood of you
465 experiencing this depends on your architecture, operating system and
466 resource limits.  This failure has been observed in a directory
467 containing 35396 entries.
469 ** Documentation Changes
471 The EXAMPLES section of the find manual page now correctly describes
472 the symbolic and octal modes for the -perm test.
474 The documentation and "--help" usage information for the -L, -l, -I
475 and -i options have been clarified (but the behaviour has not changed).
477 The documentation now explains more clearly what happens when you use
478 "-L -type l".
480 * Major changes in release 4.2.25
482 ** Bug Fixes
484 find -perm /440 (which should succeed if a file is readable by its
485 owner or group) now works.  Previously there was a bug which caused
486 this to be treated as "find -perm 440".
488 Some files in the xargs test suite have been renamed to avoid problems
489 on operating systems whoch cannot distinguish filenames on the basis
490 of upper/lower case distinctions.
492 The software now builds on Cygwin, including the generated file
493 regexprops.texi.
495 Findutils should now build once again on systems supporting AFS, but
496 this support has not recently been fully tested.  Findutils should
497 also (once again) build on Cygwin.
499 ** Other Changes
501 The test suite for find is now much more extensive.
503 * Major changes in release 4.2.24
505 ** Documentation Changes
507 The manual now includes a "Worked Examples" section which talks about
508 the various ways in which findutils can be used to perform common
509 tasks, and why some of these alternatives are better than others.
511 The -I option of xargs (which is required by the POSIX standard) is
512 now documented.
514 We now document the fact that find ensures that commands run by -ok
515 and -okdir don't steal find's input.  Find does this by redirecting
516 the command's standard input from stdin.
518 Many documentation readability enhancements and proofreading fixes
519 were contributed by Aaron Hawley.
521 ** Functional Changes
523 *** Functional changes in locate
525 The "--regex" option of locate now assumes the regular expression to
526 be in the same syntax as is used in GNU Emacs, though this can be
527 changed with the new option --regextype.  This is a change from the
528 existing behaviour (which was to use POSIX Basic Regular Expressions).
529 Since this feature is releatively new anyway, I though it was more
530 useful to have compatibility between regular expression handling in
531 find and locate than to maintain the short-lived previous behaviour of
532 locate.
534 The locate program now also supports a "--regextype" long option which
535 controls which regular expression syntax is understood by locate.
536 This is a long option and has no single-letter 'short option'
537 equivalent.
539 *** Functional changes in find
541 The regular expression syntax understood by "find" can be changed with
542 the -regextype option; this option is positional, meaning that you can
543 have several tests, each using a distinct syntax (this is not
544 recommended practice however).
546 The default regular expression syntax is substantially the same as
547 that recognised by GNU Emacs, except for the fact that "." will match
548 a newline.
550 The leaf optimisation can be disabled with the configure option
551 "--disable-leaf-optimisation", which is equivalent to specifying
552 "-noleaf" on all find command lines.  This is useful for systems
553 having filesystems which do not provide traditional Unix behaviour for
554 the link count on directories (for example Cygwin and the Solaris 9
555 HSFS implementation).
557 ** Bug Fixes
559 *** Bug Fixes for find
561 The -iregex test now works once again on systems that lack
562 re_search() (that is, systems on which findutils needs to use the
563 gnulib version of this function).
565 find -regex now once again uses GNU Emacs-compatible regular
566 expressions.
568 If invoked with stderr closed, the -fprint and -fprintf actions now no
569 longer cause error messages to be sent into the output file.
571 If the link count of a directory is less that two, the leaf
572 optimisation is now disabled for that directory.  This should allow
573 searching of non-Unix filesystems to be more reliable on systems that
574 don't take the trouble to make their filesystems look like traditional
575 Unix filesystems.   Some filesystems don't even take the trouble to
576 have a link count of less than two and for these, -noleaf is still
577 required unless --disable-leaf-optimisation was used at configure time.
579 The "%Y" directive for the -printf action now no longer changes find's
580 idea of the mode of the file, so this means among other things that
581 "-printf %Y %y" now works properly.  This is Savannah bug #13973.
583 * Major changes in release 4.2.23
585 ** Documentation Changes
587 The -L and -I options of xargs are currently incompatible (but should
588 not be).
590 Improved the documentation for -execdir and -okdir.
592 ** Functional Changes to updatedb
594 File names ending in "/" which are specified as an argument to
595 --prunepaths (or in $PRUNEPATHS) don't work, so we now issue an error
596 message if the user tries to do that.  The obvious exception of course
597 is "/" which does work and is not rejected.
600 * Major changes in release 4.2.22
602 ** Security Fixes
604 If a directory entry searched with "find -L" is a symbolic link to
605 ".", we no longer loop indefinitely.  This problem affected find
606 versions 4.2.19, 4.2.20 and 4.2.21.  This problem allows users to make
607 "find" loop indefinitely.  This is in effect a denial of service and
608 could be used to prevent updates to the locate database or to defeat
609 file security checks based on find.   However, it should be noted that
610 you should not use "find -L" in security-sensitive scenarios.
612 ** Other Bug Fixes
614 None in this release.
616 ** Functional Changes to locate
618 A locate database can now be supplied on stdin, using '-' as a element
619 of the database-path. If more than one database-path element is '-',
620 later instances are ignored.
622 A new option to locate, '--all' ('-A') causes matches to be limited to
623 entries which match all given patterns, not entries which match
624 one or more patterns.
626 ** Documentation Changes
628 Some typos in the manual pages have been fixed.  Various parts of the
629 manual now point out that it is good practice to quote the argument of
630 "-name".  The manpage now has a "NON-BUGS" section which explains some
631 symptoms that look like bugs but aren't.  The explanations of the "%k"
632 and "%b" directives to "find -printf" have been imrpoved.
635 * Major changes in release 4.2.21
636 ** Functional Changes to find
638 The GNU extension "find ... -perm +MODE" has been withdrawn because it
639 is incompatible with POSIX in obscure cases like "find ... -perm ++r".
640 Use the new syntax "find ... -perm /MODE" instead.  Old usages will
641 still continue to work, so long as they don't conflict with POSIX.
643 If the output is going to a terminal, the -print, -fprint, -printf and
644 -fprintf actions now quote "unusual" characters to prevent unwanted
645 effects on the terminal.  See "Unusual Characters in File Names" for
646 further details.  There is no change to the behaviour when the output
647 is not going to a terminal.   The locate program does the same thing,
648 unless the -0 option is in effect (in which case the filenames are 
649 printed as-is).
651 ** Functional Changes to locate
653 The locate command will now read each locate database at most once.
654 This means that if you are using multiple databases and are searching
655 for more than one name, the results will now be printed in a different
656 order (and if you specified a small limit with --limit, you may get a
657 different set of results).
659 A new option '--print' for locate causes it to print the matching
660 results even if the '--count' or '--statistics' option is in effect.
662 ** Bug Fixes
663 find /blah/blah/blah -depth -empty now works once again.
665 The -regex and -iregex tests of find now correctly accept POSIX Basic
666 Regular Expressions.  (Savannah bug #12999)
668 The updatedb program now works on systems where "su" does not support
669 the "-s" option, for example Solaris.
671 * Major changes in release 4.2.20
672 ** Internationalization and Localization
673 Updated Vietnamese and Dutch translations.   
675 ** Bug Fixes
676 Minor bugfix affecting only those who compile from the CVS repository, 
677 as opposed to those who compile from the source releases.
679 * Major changes in release 4.2.19
680 ** Bug Fixes
682 find should now no longer hang on systems which lack the O_NOFOLLOW
683 flag to open(2) and which are clients of an unresponsive NFS server
684 (Savannah bug #12044).
686 We now avoid inappropriately failing for "find -L foo" or "find -H
687 foo" if foo is a symbolic link (Savannah bug #12181).  Previously we
688 used to fail with the error message "Too many levels of symbolic
689 links".
691 "find . -false -exec foo {} +" no longer runs an extra instance of foo
692 when find exits (Savannah bug #12230).
694 If the chdir() safety check fails but we can no longer get back to 
695 where we started, exit with an explanatory (fatal) error message.
696 This does not happen on GNU/Linux and FreeBSD because the safety check
697 is not needed (the security problem the safety check protects against
698 is prevented in a cleaner way on those systems).
700 "make distclean" no longer deletes regex.c (which "make all" needs).
702 **  Functionality Changes
703 "find -printf "%h\n" will now print "." for files in the current directory.
704 Previously it printed nothing (but there was a bug in the %h
705 implementation anyway).  This fixes Savannah bug #12085.
707 Should now build (again) on non-C99-compliant systems.
709 ** Documentation enhancements
710 Fixed some typos and clarified wording in "Working with automounters".
712 ** Internationalization and Localization
713 New Vietnamese message translation.
715 * Major changes in release 4.2.18
716 ** Bug Fixes
717 *** "find -depth" was missing out non-leaf directories when they contain 
718     non-directories.  This affected findutils releases 4.2.15,
719     4.2.16 and 4.2.17, but the bug is now fixed.
720 *** Find no longer hangs on systems which are clients of unresponsive 
721     NFS servers.
722 **  Documentation improvements
723 *** Improvements and corrections to the find.1 manpage, including corrections to the descriptions of -H and -L.
725 * Major changes in release 4.2.17
726 ** Bug Fixes
727 *** bug #11861  undefined symbol "basename" on IRIX 5.3 
728 *** bug #11865  xargs -i regression  (as compared to findutils-4.2.12)
729 *** bug #11866  Typo in pred_okdir renders it useless (affecting 4.2.16 only)
730 *** patch #3723 fix recent process_top_path change (for -execdir on /)
731 *** Fixing bug #11866 and applying patch #3723 made -execdir work much better.
732 *** find bar/baz/ugh now works again if baz is a symbolic link (broken 
733     in 4.2.15).
735 * Major changes in release 4.2.16
736 **  Functionality Changes
737 *** Updated the message catalogues for the translated messages.
738 *** The subfs filesystem is now treated the same as the autofs
739     filesystem is.
740 *** New translations:  Belarusian, Catalan, Greek, Esperanto,
741     Finnish, Irish, Croatian, Hungarian, Japanese, Luganda,
742     Malay, Romanian, Slovenian, Serbian, Chinese (simplified).
744 **  Bug Fixes
745 *** The -execdir action now works correctly for files named on the 
746     command line.
748 * Major changes in release 4.2.15
749 **  Functionality Changes
750 *** locate now supports matching regular expression (--regex).
751 *** --enable-d_type-optimization (introduced in findutils 4.2.13) is now turned on by default.
753 * Major changes in release 4.2.14
754 **  Functionality Changes
755 *** New options -L, -P, -H for locate.  The work in the same was as the same options for find.
756 **  Bug Fixes
757 *** Don't include the "findutils/find/testsuite/find.gnu" subdirectory in the 
758     distributed tar file more than once.
759 *** Should now build on Solaris once again.
760 *** -xtype and -printf %Y now work correctly for symbolic links once again
761 **  Documentation improvements
762 *** All options for "locate" are now documented
764 * Major changes in release 4.2.13
765 **  Performance Enhancements
766 *** On Linux and some other systems, a large performance improvement, 
767     because we can eliminate many of the calls to lstat() (in extreme
768     cases, 99% of them).  Limited testing shows a 2x speedup on NFS
769     filesystems.  Other systems which can make use of this enhancement
770     include Mac OS X and *BSD.
772 * Major changes in release 4.2.12
773 **  Functionality Changes
774 *** find is now POSIX-compliant, as far as I know.
775 *** -exec ... {} + now works.
776 *** New actions -execdir and -okdir which are like -exec and -ok but more secure.
777 *** "locate -w" is now a synonym for "locate --wholepath".
778 *** An empty path entry in the locate database path (for example "::" in 
779     $LOCATE_PATH or in the argument to "locate -d") is taken to mean
780     the default database, whose name is hard-coded in locate.
781 **  Bug Fixes
782 *** If find or xargs cannot write to stdout, for example because 
783     output is redirected to a file and the disk is full, the 
784     relevant program will return a non-zero exit status.
786 * Major changes in release 4.2.11
787 **  Bug Fixes
788 *** Compilation fix for systems without EOVERFLOW.
789 *** More helpful error message if you make a mistake with (, ), -o or -a.
790 **  Functionality Changes
791 *** If you have unclosed parentheses on the find command line, 
792     or any of a number of similar problems, find will now produce 
793     a more helpful error message.
794 *** locate -b is now a synonym for locate --basename
795 *** locate now supports a --statistics (or -S) option, which prints some
796     statistics about the locate databases.
797 *** Implemented the -samefile option.
798 **  Documentation improvements
799 *** New chapter in the manual, "Security Considerations". 
800 *** Better documentation for -prune (Mainly thanks to   Stepan Kasal)
801 **  Bug Fixes
802 *** locate's options -i and -w now work with the -e option (previously a bug 
803     prevented this).
805 * Major changes in release 4.2.10
806 **  Bug Fixes
807 *** Portability fix for fstype.c: should now compile on UNICOS, and possibly 
808     also produce useful results on BeOS and Dolphin, perhaps other
809     systems too.   
811 * Major changes in release 4.2.9
812 **  Functionality Changes
813 *** 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_". 
814 *** xargs now supports the POSIX options -E, -I and -L.   These are synonyms 
815     for the existing options -e, -i and -l, but the latter three are
816     now deprecated.
817 **  Bug Fixes
818 *** xargs -n NUM now invokes a command as soon as it has NUM arguments.  
819     Previously, it waited until NUM+1 items had been read, and then
820     invoked the command with NUM arguments, saving the remaining one
821     for next time. 
822 *** If "find -L" discovers a symbolic link loop, an error message is issued.
823 *** If you specify a directory on the find command line, but -prune 
824     is applied to it, find will no longer chdir() into it anyway.
825 **  Documentation improvements
826 *** The precise interpretation of the arguments to the -atime, -ctime 
827     and similar tests in find has been documented more clearly.
829 * Major changes in release 4.2.8
830 *** Bugfix to the findutils 4.2.7 automount handling on Solaris.  This 
831     worked to some extent in findutils-4.2.7, but is much improved in
832     findutils-4.2.8.
834 * Major changes in release 4.2.7
835 **  Functionality Changes
836 *** xargs can now read a list of arguments from a named file, allowing 
837     the invoked program to use the same stdin as xargs started with
838     (for example ``xargs --arg-file=todo emacs'').
839 **  Documentation improvements
840 *** The Texinfo manual now has an extra chapter, "Error Messages".  Most 
841     error messages are self-explanatory, but some of the ones which
842     are not are explained in this chapter.
843 **  Bug Fixes
844 *** Avoid trying to link against -lsun on UNICOS, which doesn't need it or 
845     have it.
846 *** Bugfix to the findutils 4.2.6 automount handling (which hadn't been enabled
847     on Solaris).
848 *** Reenabled internationalisation support (which had been accidentally 
849     disabled in findutils-4.2.5).
851 * Major changes in release 4.2.6
852 **  Bug Fixes
853 *** find now copes rather better when a directory appears to change just as
854     it is about to start examining it, which happens with automount.
855     This is because automount mounts filesystems as you change
856     directory into them.  This should resolve Savannah bugs #3998,
857     #9043.
859 * Major changes in release 4.2.5
860 **  Functionality Changes
861 *** The POSIX options -H and -L are supported.  These control whether or not
862     find will follow symbolic links.
863 *** The BSD option -P is also now supported (though in any case 
864     it is the default).
865 **  Documentation improvements
866 ***  Better documentation for "xargs -i".
867 **  Bug Fixes
868 *** "make install" now respects DESTDIR when generating localstatedir.
869     (this is only relevant if you are installing to some location
870     other than the one that you indictaed when you ran "configure").
871 *** Compatible with automake versions 1.8 and 1.9.
872 *** Build problems on UNICOS now fixed, though the linker will still generate 
873     warnings because we try to link with the nonexistent library
874     "-lsun".  Edit $(LIBS) to work around this problem.
876 * Major changes in release 4.2.4
877 **  Functionality Changes
878 *** If your system sort command has a working "-z" option, updatedb will
879     now correctly handle newline characters in filenames (as will
880     locate).
881 *** xargs now uses 128Kb of command line by default (less if the system 
882     doesn't support that much).
883 *** If you specify a 'find' option after non-option, a warning message 
884     is now issued.  Options should be specified immediately after the 
885     list of paths to search.  These warnings are enabled if you
886     specify the -warn option, or if stdin is a tty.  They are diabled
887     by the use of the -nowarn option.  
888 *** Like find, the locate program now supports an option --null (short form -0)
889     which changes the result separator from newline to NULL.
890 *** Locate supports the option -c (long form --count) which suppresses normal
891     output but prints on stdout the number of results produced (like
892     grep -c).
893 *** Locate supports the option -l (long form --limit) which limits the 
894     number of results.  This is useful if you only want to find out if
895     there are copies of a certain file on the system, but don't want
896     to wait for the entire locate database to be searched.
897 *** Locate now has an option --basename which forces the specified pattern to 
898     be matched against the basename of the entries in the locate
899     database, rather than the whole name.  The default behaviour
900     (matching against the whole name of the file including all the
901     parent directory names) corresponds to the option --wholename.
902 *** updatedb has a new option, --findoptions, that can be used to 
903     pass extra options through to the find command that it uses.
904 **  Bug Fixes
905 *** "find -printf '%H\n'" now works (rather than segfaulting) on
906     systems that have non-writable string constants.
907 *** Better POSIX compliance for the -s option to xargs (out of range 
908     values should just result in bounding to the correct range, not an
909     error, so now we just print a warning message and adjust the
910     value).
911 *** Corrected section numbers of manual page cross-references
913 * Major changes in release 4.2.3
914 **  Functionality Changes
915 *** Added new action -delete which deletes things that find matches.
916 *** Added new action -quit which causes find to exit immediately.
917 *** A new format directive '%D' for "find -printf" prints the device number.
918 *** The -ls predicate no longer truncates user or group names.
919 *** Added new option "-d" which is a synonym for "-depth" for compatibility
920     with Mac OS, OpenBSD and FreeBSD.  This option is already
921     deprecated since the POSIX standard specifies "-depth".   
922 *** Added two new format specifiers to the -printf action; these are 
923     %y and %Y.  They indicate the type of the file as a single letter;
924     these are the same latters as are used by the "-type" test.
925 *** If a parent directory changes during the execution of find, 
926     the error message we issue identifies the nature of the change
927     (for example the previous and current inode numbers of the 
928     directory we've just returned out of).
929 ** Other Changes
930 *** Non-functional code changes to silence compiler warnings.
932 * Major changes in release 4.2.2
933 **  Documentation improvements
934 *** "find ... -exec {}+" is not yet supported.
935 ** Bug Fixes
936 *** Fixed compilation problems on Solaris, RedHat EL AS 2.1, Irix, AIX
937 *** Work around possible compiler bug on HP-UX 11.23 for ia64
938 *** The built-in internationalisation support now works again.
939 ** Other Changes
940 *** We now import the gnulib source in the way it is intended to be used,
941     which means among other things that we only have one config.h file
942     now.
943 *** Functions which findutils requires but which are not present in 
944     gnulib are now defined in "libfind.a".  This is in the lib
945     directory, while gnulib is in the gnulib subdirectory.
946 *** Fixed a typo in the address of the FSF in many of the file headers.
948 * Major changes in release 4.2.1
949 ** Bug Fixes
950 *** 'find -name \*bar now matches .foobar, because the POSIX standard 
951      requires it, as explained at
952      http://standards.ieee.org/reading/ieee/interp/1003-2-92_int/pasc-1003.2-126.html
954 * Major changes in release 4.2.1
955 ** Bug Fixes
956 *** find -iname now works correctly on systems that have an fnmatch() function 
957     that does not support FNM_CASEFOLD
958 *** updatedb now uses signal names for "trap" instead of numbers, 
959     as per bug #9465 (see http://www.opengroup.org/onlinepubs/009695399/utilities/trap.html)
960 *** Better support for systems lacking intmax_t
961 ** Other Changes
962 **** findutils now uses a newer version of gnulib (dated 2004-10-17).
964 * Major changes in release 4.2.0
965 ** Functionality Changes
966 *** xargs now works better when the environment variables are very extensive.
967     The xargs command used to run into difficulties if the environment 
968     data contained more than 20480 bytes.
969 *** New options -wholename and -iwholename 
970     As per the GNU Projecvt coding standard, These are preferred over 
971     the -path and -ipath options.  Using -ipath now generates a warning,
972     though -path does not (since HPUX also offers -path).   
973 *** The environment variable FIND_BLOCK_SIZE is now ignored.
974 *** New option "-ignore_readdir_race"
975     silences an error messages which would otherwise occur if a file is removed
976     after find has read it from the directory using readdir(), but before 
977     find stats the file.  There is also an option
978     -noignore_readdir_race which has the opposite effect.   
979 **  Documentation improvements
980 *** The -size option of find is now documented in more detail
981 *** POSIX compliance and GNU extensions
982     The find manual page also now includes a section 
983     which describes the relationship between the features of GNU 
984     find and the POSIX standard.  Some other small improvements 
985     to the find and xargs manual pages have been made.
986 *** The argument to the -fprintf directive is now better documented.
987     The escape code '\0' for the `-printf' predicate of find is now
988     documented, and the documentation for the %k and %b specifiers
989     has been improved.  
990 *** xargs -i is now more clearly documented.
991 ** Bug Fixes
992 *** locate 'pa*d' will now find /etc/passwd (if it exists, of course)
993 *** xargs standard input is not inherited by child processes
994     If the command invoked by xargs reads from its standard input, 
995     it now gets nothing, as opposed to stealing data from the 
996     list of files that xargs is trying to read.
997 *** Better support for 64-bit systems.
998 *** The command "xargs -i -n1" now works as one might expect, 
999     I think this is a strange thing to want to do.  
1000 *** Arguments to find -mtime that are too large are now diagnosed 
1001     Previously, this just used to cause find just to do the wrong thing.
1002 *** updatedb is now somewhat more robust
1003     The updatedb shell script now does not generate an empty 
1004     database if it fails.  
1005 *** Sanity-check on some data read from locatedb
1006     Locate now detects some types of file corruption in the 
1007     locate database.
1008 *** The %k format specifier for -fprintf now works
1009     This was broken in 4.1.20.
1011 * Major changes in release 4.1.20:
1012 ** New maintainer, James Youngman <jay@gnu.org>
1013 ** As far as I know, this is the first release after 4.1.7, but I've left 
1014    a gap just in case. 
1015 ** We now use an "imported" version of gnulib, rather than including 
1016    a copy of the gnulib code in our CVS repository.   There are no
1017    differences in the build instructions, though (unless you are 
1018    building directly from CVS, in which case please read the file
1019    README-CVS).
1020 ** There are no (deliberate) functional changes in version 4.1.20.
1022 * Major changes in release 4.1.7:
1023 fix problem so that default "-print" is added when "-prune" is used.
1024 security fixes related to directories changing while find is executing.
1026 * Major changes in release 4.1.6:
1027 correct bug in prune.
1028 added --ignore-case option for locate
1030 * Major changes in release 4.1.5:
1031 Add support for large files
1033 * Major changes in release 4.1.4:
1034 bug fixes, more up-to-date languages.
1036 * Major changes in release 4.1.3:
1037 added internationalization and localization.
1039 * Major changes in release 4.1.1:
1040 attempt at successful compilation on many platforms after years of neglect
1041  "--existing" option added to locate "--prunefs" option added to updatedb
1043 * Major changes in release 4.1:
1045 ** Distribution renamed to findutils.
1046 ** updatedb is now a user command, installed in $exec_prefix/bin
1047   instead of $exec_prefix/libexec.
1048 ** A few problems in Makefiles and testsuite corrected.
1050 * Major changes in release 4.0:
1052 ** Documentation:
1053 *** Texinfo manual.
1054 *** Man page for updatedb.
1055 *** Man page for the locate database formats.
1057 ** find:
1058 *** Takes less CPU time on long paths, because it uses chdir to descend
1059    trees, so it does fewer inode lookups.
1060 *** Does not get trapped in symbolic link loops when -follow is given.
1061 *** Supports "-fstype afs" if you have /afs and /usr/afsws/include
1062    and you configure using the --with-afs option.
1063 *** New action -fls FILE; like -ls but writes to FILE.
1065 ** locate:
1066 *** Supports a new database format, which is 8-bit clean and
1067    allows machines with different byte orderings and integer sizes to
1068    share the databases.  The new locate can also detect and read the
1069    old database format automatically.  The new databases are typically
1070    30% or more larger than the old ones (due to allowing all 8 bits in
1071    file names).  Search times are approximately the same, or faster on
1072    some systems.
1073 *** Warns if a file name database is more than 8 days old.
1075 ** updatedb:
1076 *** Takes command-line options.
1078 ** xargs:
1079 *** Performance improved 10-20%.
1080 *** The EOF string is not used when -0 is given.
1081 *** Now has a test suite.  Some minor bugs fixed as a result.
1083 * Major changes in release 3.8:
1085 ** case insensitive versions of -lname, -name, -path, -regex:
1086   -ilname, -iname, -ipath, -iregex
1087 ** %F directive for -printf, -fprintf to print file system type
1089 * Major changes in release 3.7:
1091 ** locate can search multiple databases
1092 ** locate has an option to specify the database path
1093 ** updatedb no longer goes into an infinite loop with some versions of tail
1095                         --//--
1096 This is used by Emacs' spell checker ispell.el:
1098 LocalWords: ansi knr strftime xargs updatedb sh fnmatch hin strcpy
1099 LocalWords: lib getstr getline frcode bigram texi depcomp automake
1100 LocalWords: strncasecmp strcasecmp LIBOBJS FUNC prunefs allout libexec
1101 LocalWords: testsuite Texinfo chdir inode fstype afs fls ls EOF lname
1102 LocalWords: regex ilname iname ipath iregex printf fprintf