Fixed Savannah bug #16579 (su false should be su -c false)
[findutils.git] / NEWS
blob8430fd938bf33f893403d084634c7028176689d5
1 GNU findutils NEWS - User visible changes.      -*- outline -*- (allout)
2 * Major changes in release 4.3.1-CVS
4 Find now follows POSIX rules for determining where directories end and
5 expressions start.  This means that "find \(1 \!2 \, \)" now searches
6 in the four named directories, rather than trying to parse an
7 expression. (Savannah bug #15235).
9 You now get a more helpful error message when you use command lines
10 which have missing expressions, such as 
11       find . ( )
12       find . !
13       find . -a
14       find . \( -not \)
15       find . \( -true -a
17 For find, debug output can now be enabled at runtime with the -D
18 option.  This causes the printing of various sorts of information
19 about find's internal state and progress.
21 Find now has a rudimentary cost-based optimiser.  It has an idea of
22 the basic cost of each test (i.e. that -name is very cheap while -size
23 is more expensive).  It re-orders tests bearing in mind the cost of
24 each test and its likely success.  Predicates with side effects (for
25 example -delete or -exec) are not reordered.  The optimiser is not
26 yet enabled by default, but the new option -O controls the query 
27 optimisation level.  To see this in action, try
28   find -D opt -O3 . -type f -o -type c -o -size 555 -name Z
29 and compare the optimised query with:
30   find -D opt -O3 . -size 555 -o -type c -o -type f -name Z
31 and
32   find -D opt     . -size 555 -o -type c -o -type f -name Z
34 Over time, as optimisations are proven to be robust and correct, they
35 will be moved to lower optimisation levels.  Some optimisations have
36 always been performed by find (for example -name is always done early
37 if possible).
39 * Major changes in release 4.3.0
41 The 4.3.x release series are currently 'development' releases.  Please
42 test it, but think carefully before installing it in a production
43 system.  New features in findutils-4.3.x are under development; they
44 may change or go away. 
46 All changes up to and including findutils-4.2.27 are included in this
47 release.  In addition the following changes are new in this release:
49 ** Functional Changes
51 By default, find now uses the fts() function to search the file
52 system.  The use of fts greatly increases find's ability to search
53 extremely deep directory hierarchites.
55 You can tell that the version of find you are using uses FTS, because
56 the output of "find --version" will include the word "FTS".
58 Currently two binaries for 'find' are built.  The configure option
59 --without-fts can be used to select whether 'find' uses fts:
61                                   With fts      Without fts
62 default configuration             find          oldfind
63 configure --with-fts              find          oldfind
64 configure --without-fts           ftsfind       find
66 New tests, -readable, -writable, -executable.  These check that a file
67 can be read, written or executed respectively.
69 * Major changes in release 4.2.27
71 ** Warnings of Future Changes
73 The test -perm /000 currently matches no files, but for greater
74 consistency with -perm -000, this will be changed to match all files;
75 this change will probably be made in early 2006.  Meanwhile, a warning
76 message is given if you do this.
78 ** Bug Fixes
80 If xargs is invoked with many short arguments on PPC systems running
81 the Linux kernel, we no longer get an "argument list too long" error
82 from the operating system.
84 Fixed a bug in the test suite which caused it to spuriously fail on
85 systems where ARG_MAX is different to the value used by the Linux
86 kernel on 32-bit x86-architecture systems.
88 On systems running the Linux kernel, "find -printf %F" no longer
89 produces the wrong answer for files on filesystems that have been
90 remounted elsewhere using "mount --bind". (Savannah bug #14921).
92 ** Documentation Changes
94 Following some extensive and detailed review comments from Aaron
95 Hawley, the material in the manual pages and the Texinfo manual are
96 now synchronised.
98 The %M format specifier of "find -printf" is now documented, although
99 it has existed since release 4.2.5.
101 The 'find' manual page now correctly documents the fact that -regex
102 defaults to using Emacs-style regular expressions (though this can be
103 changed).
105 * Major changes in release 4.2.26
107 ** Public Service Announcements
109 I'd like to point out a second time that the interpretation of '-perm
110 +mode' has changed to be more POSIX-compliant.  If you want the old
111 behaviour of the GNU extension you should use '-perm /mode'.  See the
112 NEWS entry for findutils version 4.2.21 for details.
114 ** Functional Changes
116 The xargs command now supports a new option (--delimiter) which allows
117 input items to be separated by characters other than null and
118 whitespace.  This resolves Savannah support request sr #102914.
120 Sometimes find needs to read the /etc/mtab file (or perform the
121 equivalent operation on systems not using /etc/mtab).  If this
122 information is needed butnot available, find now exits with an error
123 message non-zero status.  If the information is not needed, find will
124 not spuriously fail.
126 A new xargs option --delimiter allows the input delimiter to be
127 changed (previously \0 was the only choice unless you use the -L
128 option, which changes other semantics too).
130 ** Bug Fixes
132 If the environment size is too large to allow xargs to operate
133 normally, 'xargs --help' still works (now).
135 If the input to xargs is a large number of very short options (for
136 example, one character each), earlier versions of xargs would fail
137 with 'Argument list too long'.  However, since this is precisely the
138 problem that xargs was invented to solve, this is a bug.  Hence on
139 those systems we now correctly use a shorter command line.  This
140 problem particularly affected 64-bit Linux systems because of the
141 larger size of pointers, although 32-bit Linux systems were also
142 affected (albeit for longer command lines).  In theory the same
143 problem could affect 'find -exec {} +', but that's much less likely
144 (even so, the bug is fixed there too).
146 Bugfix for an unusual failure mode (Savannah bug #14842) where an
147 attempt to allocate more space for directory contents succeeds but is
148 incorrectly diagnosed as a failure.  The likelihood of you
149 experiencing this depends on your architecture, operating system and
150 resource limits.  This failure has been observed in a directory
151 containing 35396 entries.
153 ** Documentation Changes
155 The EXAMPLES section of the find manual page now correctly describes
156 the symbolic and octal modes for the -perm test.
158 The documentation and "--help" usage information for the -L, -l, -I
159 and -i options have been clarified (but the behaviour has not changed).
161 The documentation now explains more clearly what happens when you use
162 "-L -type l".
164 * Major changes in release 4.2.25
166 ** Bug Fixes
168 find -perm /440 (which should succeed if a file is readable by its
169 owner or group) now works.  Previously there was a bug which caused
170 this to be treated as "find -perm 440".
172 Some files in the xargs test suite have been renamed to avoid problems
173 on operating systems whoch cannot distinguish filenames on the basis
174 of upper/lower case distinctions.
176 The software now builds on Cygwin, including the generated file
177 regexprops.texi.
179 Findutils should now build once again on systems supporting AFS, but
180 this support has not recently been fully tested.  Findutils should
181 also (once again) build on Cygwin.
183 ** Other Changes
185 The test suite for find is now much more extensive.
187 * Major changes in release 4.2.24
189 ** Documentation Changes
191 The manual now includes a "Worked Examples" section which talks about
192 the various ways in which findutils can be used to perform common
193 tasks, and why some of these alternatives are better than others.
195 The -I option of xargs (which is required by the POSIX standard) is
196 now documented.
198 We now document the fact that find ensures that commands run by -ok
199 and -okdir don't steal find's input.  Find does this by redirecting
200 the command's standard input from stdin.
202 Many documentation readability enhancements and proofreading fixes
203 were contributed by Aaron Hawley.
205 ** Functional Changes
207 *** Functional changes in locate
209 The "--regex" option of locate now assumes the regular expression to
210 be in the same syntax as is used in GNU Emacs, though this can be
211 changed with the new option --regextype.  This is a change from the
212 existing behaviour (which was to use POSIX Basic Regular Expressions).
213 Since this feature is releatively new anyway, I though it was more
214 useful to have compatibility between regular expression handling in
215 find and locate than to maintain the short-lived previous behaviour of
216 locate.
218 The locate program now also supports a "--regextype" long option which
219 controls which regular expression syntax is understood by locate.
220 This is a long option and has no single-letter 'short option'
221 equivalent.
223 *** Functional changes in find
225 The regular expression syntax understood by "find" can be changed with
226 the -regextype option; this option is positional, meaning that you can
227 have several tests, each using a distinct syntax (this is not
228 recommended practice however).
230 The default regular expression syntax is substantially the same as
231 that recognised by GNU Emacs, except for the fact that "." will match
232 a newline.
234 The leaf optimisation can be disabled with the configure option
235 "--disable-leaf-optimisation", which is equivalent to specifying
236 "-noleaf" on all find command lines.  This is useful for systems
237 having filesystems which do not provide traditional Unix behaviour for
238 the link count on directories (for example Cygwin and the Solaris 9
239 HSFS implementation).
241 ** Bug Fixes
243 *** Bug Fixes for find
245 The -iregex test now works once again on systems that lack
246 re_search() (that is, systems on which findutils needs to use the
247 gnulib version of this function).
249 find -regex now once again uses GNU Emacs-compatible regular
250 expressions.
252 If invoked with stderr closed, the -fprint and -fprintf actions now no
253 longer cause error messages to be sent into the output file.
255 If the link count of a directory is less that two, the leaf
256 optimisation is now disabled for that directory.  This should allow
257 searching of non-Unix filesystems to be more reliable on systems that
258 don't take the trouble to make their filesystems look like traditional
259 Unix filesystems.   Some filesystems don't even take the trouble to
260 have a link count of less than two and for these, -noleaf is still
261 required unless --disable-leaf-optimisation was used at configure time.
263 The "%Y" directive for the -printf action now no longer changes find's
264 idea of the mode of the file, so this means among other things that
265 "-printf %Y %y" now works properly.  This is Savannah bug #13973.
267 * Major changes in release 4.2.23
269 ** Documentation Changes
271 The -L and -I options of xargs are currently incompatible (but should
272 not be).
274 Improved the documentation for -execdir and -okdir.
276 ** Functional Changes to updatedb
278 File names ending in "/" which are specified as an argument to
279 --prunepaths (or in $PRUNEPATHS) don't work, so we now issue an error
280 message if the user tries to do that.  The obvious exception of course
281 is "/" which does work and is not rejected.
284 * Major changes in release 4.2.22
286 ** Security Fixes
288 If a directory entry searched with "find -L" is a symbolic link to
289 ".", we no longer loop indefinitely.  This problem affected find
290 versions 4.2.19, 4.2.20 and 4.2.21.  This problem allows users to make
291 "find" loop indefinitely.  This is in effect a denial of service and
292 could be used to prevent updates to the locate database or to defeat
293 file security checks based on find.   However, it should be noted that
294 you should not use "find -L" in security-sensitive scenarios.
296 ** Other Bug Fixes
298 None in this release.
300 ** Functional Changes to locate
302 A locate database can now be supplied on stdin, using '-' as a element
303 of the database-path. If more than one database-path element is '-',
304 later instances are ignored.
306 A new option to locate, '--all' ('-A') causes matches to be limited to
307 entries which match all given patterns, not entries which match
308 one or more patterns.
310 ** Documentation Changes
312 Some typos in the manual pages have been fixed.  Various parts of the
313 manual now point out that it is good practice to quote the argument of
314 "-name".  The manpage now has a "NON-BUGS" section which explains some
315 symptoms that look like bugs but aren't.  The explanations of the "%k"
316 and "%b" directives to "find -printf" have been imrpoved.
319 * Major changes in release 4.2.21
320 ** Functional Changes to find
322 The GNU extension "find ... -perm +MODE" has been withdrawn because it
323 is incompatible with POSIX in obscure cases like "find ... -perm ++r".
324 Use the new syntax "find ... -perm /MODE" instead.  Old usages will
325 still continue to work, so long as they don't conflict with POSIX.
327 If the output is going to a terminal, the -print, -fprint, -printf and
328 -fprintf actions now quote "unusual" characters to prevent unwanted
329 effects on the terminal.  See "Unusual Characters in File Names" for
330 further details.  There is no change to the behaviour when the output
331 is not going to a terminal.   The locate program does the same thing,
332 unless the -0 option is in effect (in which case the filenames are 
333 printed as-is).
335 ** Functional Changes to locate
337 The locate command will now read each locate database at most once.
338 This means that if you are using multiple databases and are searching
339 for more than one name, the results will now be printed in a different
340 order (and if you specified a small limit with --limit, you may get a
341 different set of results).
343 A new option '--print' for locate causes it to print the matching
344 results even if the '--count' or '--statistics' option is in effect.
346 ** Bug Fixes
347 find /blah/blah/blah -depth -empty now works once again.
349 The -regex and -iregex tests of find now correctly accept POSIX Basic
350 Regular Expressions.  (Savannah bug #12999)
352 The updatedb program now works on systems where "su" does not support
353 the "-s" option, for example Solaris.
355 * Major changes in release 4.2.20
356 ** Internationalization and Localization
357 Updated Vietnamese and Dutch translations.   
359 ** Bug Fixes
360 Minor bugfix affecting only those who compile from the CVS repository, 
361 as opposed to those who compile from the source releases.
363 * Major changes in release 4.2.19
364 ** Bug Fixes
366 find should now no longer hang on systems which lack the O_NOFOLLOW
367 flag to open(2) and which are clients of an unresponsive NFS server
368 (Savannah bug #12044).
370 We now avoid inappropriately failing for "find -L foo" or "find -H
371 foo" if foo is a symbolic link (Savannah bug #12181).  Previously we
372 used to fail with the error message "Too many levels of symbolic
373 links".
375 "find . -false -exec foo {} +" no longer runs an extra instance of foo
376 when find exits (Savannah bug #12230).
378 If the chdir() safety check fails but we can no longer get back to 
379 where we started, exit with an explanatory (fatal) error message.
380 This does not happen on GNU/Linux and FreeBSD because the safety check
381 is not needed (the security problem the safety check protects against
382 is prevented in a cleaner way on those systems).
384 "make distclean" no longer deletes regex.c (which "make all" needs).
386 **  Functionality Changes
387 "find -printf "%h\n" will now print "." for files in the current directory.
388 Previously it printed nothing (but there was a bug in the %h
389 implementation anyway).  This fixes Savannah bug #12085.
391 Should now build (again) on non-C99-compliant systems.
393 ** Documentation enhancements
394 Fixed some typos and clarified wording in "Working with automounters".
396 ** Internationalization and Localization
397 New Vietnamese message translation.
399 * Major changes in release 4.2.18
400 ** Bug Fixes
401 *** "find -depth" was missing out non-leaf directories when they contain 
402     non-directories.  This affected findutils releases 4.2.15,
403     4.2.16 and 4.2.17, but the bug is now fixed.
404 *** Find no longer hangs on systems which are clients of unresponsive 
405     NFS servers.
406 **  Documentation improvements
407 *** Improvements and corrections to the find.1 manpage, including corrections to the descriptions of -H and -L.
409 * Major changes in release 4.2.17
410 ** Bug Fixes
411 *** bug #11861  undefined symbol "basename" on IRIX 5.3 
412 *** bug #11865  xargs -i regression  (as compared to findutils-4.2.12)
413 *** bug #11866  Typo in pred_okdir renders it useless (affecting 4.2.16 only)
414 *** patch #3723 fix recent process_top_path change (for -execdir on /)
415 *** Fixing bug #11866 and applying patch #3723 made -execdir work much better.
416 *** find bar/baz/ugh now works again if baz is a symbolic link (broken 
417     in 4.2.15).
419 * Major changes in release 4.2.16
420 **  Functionality Changes
421 *** Updated the message catalogues for the translated messages.
422 *** The subfs filesystem is now treated the same as the autofs
423     filesystem is.
424 *** New translations:  Belarusian, Catalan, Greek, Esperanto,
425     Finnish, Irish, Croatian, Hungarian, Japanese, Luganda,
426     Malay, Romanian, Slovenian, Serbian, Chinese (simplified).
428 **  Bug Fixes
429 *** The -execdir action now works correctly for files named on the 
430     command line.
432 * Major changes in release 4.2.15
433 **  Functionality Changes
434 *** locate now supports matching regular expression (--regex).
435 *** --enable-d_type-optimization (introduced in findutils 4.2.13) is now turned on by default.
437 * Major changes in release 4.2.14
438 **  Functionality Changes
439 *** New options -L, -P, -H for locate.  The work in the same was as the same options for find.
440 **  Bug Fixes
441 *** Don't include the "findutils/find/testsuite/find.gnu" subdirectory in the 
442     distributed tar file more than once.
443 *** Should now build on Solaris once again.
444 *** -xtype and -printf %Y now work correctly for symbolic links once again
445 **  Documentation improvements
446 *** All options for "locate" are now documented
448 * Major changes in release 4.2.13
449 **  Performance Enhancements
450 *** On Linux and some other systems, a large performance improvement, 
451     because we can eliminate many of the calls to lstat() (in extreme
452     cases, 99% of them).  Limited testing shows a 2x speedup on NFS
453     filesystems.  Other systems which can make use of this enhancement
454     include Mac OS X and *BSD.
456 * Major changes in release 4.2.12
457 **  Functionality Changes
458 *** find is now POSIX-compliant, as far as I know.
459 *** -exec ... {} + now works.
460 *** New actions -execdir and -okdir which are like -exec and -ok but more secure.
461 *** "locate -w" is now a synonym for "locate --wholepath".
462 *** An empty path entry in the locate database path (for example "::" in 
463     $LOCATE_PATH or in the argument to "locate -d") is taken to mean
464     the default database, whose name is hard-coded in locate.
465 **  Bug Fixes
466 *** If find or xargs cannot write to stdout, for example because 
467     output is redirected to a file and the disk is full, the 
468     relevant program will return a non-zero exit status.
470 * Major changes in release 4.2.11
471 **  Bug Fixes
472 *** Compilation fix for systems without EOVERFLOW.
473 *** More helpful error message if you make a mistake with (, ), -o or -a.
474 **  Functionality Changes
475 *** If you have unclosed parentheses on the find command line, 
476     or any of a number of similar problems, find will now produce 
477     a more helpful error message.
478 *** locate -b is now a synonym for locate --basename
479 *** locate now supports a --statistics (or -S) option, which prints some
480     statistics about the locate databases.
481 *** Implemented the -samefile option.
482 **  Documentation improvements
483 *** New chapter in the manual, "Security Considerations". 
484 *** Better documentation for -prune (Mainly thanks to   Stepan Kasal)
485 **  Bug Fixes
486 *** locate's options -i and -w now work with the -e option (previously a bug 
487     prevented this).
489 * Major changes in release 4.2.10
490 **  Bug Fixes
491 *** Portability fix for fstype.c: should now compile on UNICOS, and possibly 
492     also produce useful results on BeOS and Dolphin, perhaps other
493     systems too.   
495 * Major changes in release 4.2.9
496 **  Functionality Changes
497 *** 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_". 
498 *** xargs now supports the POSIX options -E, -I and -L.   These are synonyms 
499     for the existing options -e, -i and -l, but the latter three are
500     now deprecated.
501 **  Bug Fixes
502 *** xargs -n NUM now invokes a command as soon as it has NUM arguments.  
503     Previously, it waited until NUM+1 items had been read, and then
504     invoked the command with NUM arguments, saving the remaining one
505     for next time. 
506 *** If "find -L" discovers a symbolic link loop, an error message is issued.
507 *** If you specify a directory on the find command line, but -prune 
508     is applied to it, find will no longer chdir() into it anyway.
509 **  Documentation improvements
510 *** The precise interpretation of the arguments to the -atime, -ctime 
511     and similar tests in find has been documented more clearly.
513 * Major changes in release 4.2.8
514 *** Bugfix to the findutils 4.2.7 automount handling on Solaris.  This 
515     worked to some extent in findutils-4.2.7, but is much improved in
516     findutils-4.2.8.
518 * Major changes in release 4.2.7
519 **  Functionality Changes
520 *** xargs can now read a list of arguments from a named file, allowing 
521     the invoked program to use the same stdin as xargs started with
522     (for example ``xargs --arg-file=todo emacs'').
523 **  Documentation improvements
524 *** The Texinfo manual now has an extra chapter, "Error Messages".  Most 
525     error messages are self-explanatory, but some of the ones which
526     are not are explained in this chapter.
527 **  Bug Fixes
528 *** Avoid trying to link against -lsun on UNICOS, which doesn't need it or 
529     have it.
530 *** Bugfix to the findutils 4.2.6 automount handling (which hadn't been enabled
531     on Solaris).
532 *** Reenabled internationalisation support (which had been accidentally 
533     disabled in findutils-4.2.5).
535 * Major changes in release 4.2.6
536 **  Bug Fixes
537 *** find now copes rather better when a directory appears to change just as
538     it is about to start examining it, which happens with automount.
539     This is because automount mounts filesystems as you change
540     directory into them.  This should resolve Savannah bugs #3998,
541     #9043.
543 * Major changes in release 4.2.5
544 **  Functionality Changes
545 *** The POSIX options -H and -L are supported.  These control whether or not
546     find will follow symbolic links.
547 *** The BSD option -P is also now supported (though in any case 
548     it is the default).
549 **  Documentation improvements
550 ***  Better documentation for "xargs -i".
551 **  Bug Fixes
552 *** "make install" now respects DESTDIR when generating localstatedir.
553     (this is only relevant if you are installing to some location
554     other than the one that you indictaed when you ran "configure").
555 *** Compatible with automake versions 1.8 and 1.9.
556 *** Build problems on UNICOS now fixed, though the linker will still generate 
557     warnings because we try to link with the nonexistent library
558     "-lsun".  Edit $(LIBS) to work around this problem.
560 * Major changes in release 4.2.4
561 **  Functionality Changes
562 *** If your system sort command has a working "-z" option, updatedb will
563     now correctly handle newline characters in filenames (as will
564     locate).
565 *** xargs now uses 128Kb of command line by default (less if the system 
566     doesn't support that much).
567 *** If you specify a 'find' option after non-option, a warning message 
568     is now issued.  Options should be specified immediately after the 
569     list of paths to search.  These warnings are enabled if you
570     specify the -warn option, or if stdin is a tty.  They are diabled
571     by the use of the -nowarn option.  
572 *** Like find, the locate program now supports an option --null (short form -0)
573     which changes the result separator from newline to NULL.
574 *** Locate supports the option -c (long form --count) which suppresses normal
575     output but prints on stdout the number of results produced (like
576     grep -c).
577 *** Locate supports the option -l (long form --limit) which limits the 
578     number of results.  This is useful if you only want to find out if
579     there are copies of a certain file on the system, but don't want
580     to wait for the entire locate database to be searched.
581 *** Locate now has an option --basename which forces the specified pattern to 
582     be matched against the basename of the entries in the locate
583     database, rather than the whole name.  The default behaviour
584     (matching against the whole name of the file including all the
585     parent directory names) corresponds to the option --wholename.
586 *** updatedb has a new option, --findoptions, that can be used to 
587     pass extra options through to the find command that it uses.
588 **  Bug Fixes
589 *** "find -printf '%H\n'" now works (rather than segfaulting) on
590     systems that have non-writable string constants.
591 *** Better POSIX compliance for the -s option to xargs (out of range 
592     values should just result in bounding to the correct range, not an
593     error, so now we just print a warning message and adjust the
594     value).
595 *** Corrected section numbers of manual page cross-references
597 * Major changes in release 4.2.3
598 **  Functionality Changes
599 *** Added new action -delete which deletes things that find matches.
600 *** Added new action -quit which causes find to exit immediately.
601 *** A new format directive '%D' for "find -printf" prints the device number.
602 *** The -ls predicate no longer truncates user or group names.
603 *** Added new option "-d" which is a synonym for "-depth" for compatibility
604     with Mac OS, OpenBSD and FreeBSD.  This option is already
605     deprecated since the POSIX standard specifies "-depth".   
606 *** Added two new format specifiers to the -printf action; these are 
607     %y and %Y.  They indicate the type of the file as a single letter;
608     these are the same latters as are used by the "-type" test.
609 *** If a parent directory changes during the execution of find, 
610     the error message we issue identifies the nature of the change
611     (for example the previous and current inode numbers of the 
612     directory we've just returned out of).
613 ** Other Changes
614 *** Non-functional code changes to silence compiler warnings.
616 * Major changes in release 4.2.2
617 **  Documentation improvements
618 *** "find ... -exec {}+" is not yet supported.
619 ** Bug Fixes
620 *** Fixed compilation problems on Solaris, RedHat EL AS 2.1, Irix, AIX
621 *** Work around possible compiler bug on HP-UX 11.23 for ia64
622 *** The built-in internationalisation support now works again.
623 ** Other Changes
624 *** We now import the gnulib source in the way it is intended to be used,
625     which means among other things that we only have one config.h file
626     now.
627 *** Functions which findutils requires but which are not present in 
628     gnulib are now defined in "libfind.a".  This is in the lib
629     directory, while gnulib is in the gnulib subdirectory.
630 *** Fixed a typo in the address of the FSF in many of the file headers.
632 * Major changes in release 4.2.1
633 ** Bug Fixes
634 *** 'find -name \*bar now matches .foobar, because the POSIX standard 
635      requires it, as explained at
636      http://standards.ieee.org/reading/ieee/interp/1003-2-92_int/pasc-1003.2-126.html
638 * Major changes in release 4.2.1
639 ** Bug Fixes
640 *** find -iname now works correctly on systems that have an fnmatch() function 
641     that does not support FNM_CASEFOLD
642 *** updatedb now uses signal names for "trap" instead of numbers, 
643     as per bug #9465 (see http://www.opengroup.org/onlinepubs/009695399/utilities/trap.html)
644 *** Better support for systems lacking intmax_t
645 ** Other Changes
646 **** findutils now uses a newer version of gnulib (dated 2004-10-17).
648 * Major changes in release 4.2.0
649 ** Functionality Changes
650 *** xargs now works better when the environment variables are very extensive.
651     The xargs command used to run into difficulties if the environment 
652     data contained more than 20480 bytes.
653 *** New options -wholename and -iwholename 
654     As per the GNU Projecvt coding standard, These are preferred over 
655     the -path and -ipath options.  Using -ipath now generates a warning,
656     though -path does not (since HPUX also offers -path).   
657 *** The environment variable FIND_BLOCK_SIZE is now ignored.
658 *** New option "-ignore_readdir_race"
659     silences an error messages which would otherwise occur if a file is removed
660     after find has read it from the directory using readdir(), but before 
661     find stats the file.  There is also an option
662     -noignore_readdir_race which has the opposite effect.   
663 **  Documentation improvements
664 *** The -size option of find is now documented in more detail
665 *** POSIX compliance and GNU extensions
666     The find manual page also now includes a section 
667     which describes the relationship between the features of GNU 
668     find and the POSIX standard.  Some other small improvements 
669     to the find and xargs manual pages have been made.
670 *** The argument to the -fprintf directive is now better documented.
671     The escape code '\0' for the `-printf' predicate of find is now
672     documented, and the documentation for the %k and %b specifiers
673     has been improved.  
674 *** xargs -i is now more clearly documented.
675 ** Bug Fixes
676 *** locate 'pa*d' will now find /etc/passwd (if it exists, of course)
677 *** xargs standard input is not inherited by child processes
678     If the command invoked by xargs reads from its standard input, 
679     it now gets nothing, as opposed to stealing data from the 
680     list of files that xargs is trying to read.
681 *** Better support for 64-bit systems.
682 *** The command "xargs -i -n1" now works as one might expect, 
683     I think this is a strange thing to want to do.  
684 *** Arguments to find -mtime that are too large are now diagnosed 
685     Previously, this just used to cause find just to do the wrong thing.
686 *** updatedb is now somewhat more robust
687     The updatedb shell script now does not generate an empty 
688     database if it fails.  
689 *** Sanity-check on some data read from locatedb
690     Locate now detects some types of file corruption in the 
691     locate database.
692 *** The %k format specifier for -fprintf now works
693     This was broken in 4.1.20.
695 * Major changes in release 4.1.20:
696 ** New maintainer, James Youngman <jay@gnu.org>
697 ** As far as I know, this is the first release after 4.1.7, but I've left 
698    a gap just in case. 
699 ** We now use an "imported" version of gnulib, rather than including 
700    a copy of the gnulib code in our CVS repository.   There are no
701    differences in the build instructions, though (unless you are 
702    building directly from CVS, in which case please read the file
703    README-CVS).
704 ** There are no (deliberate) functional changes in version 4.1.20.
706 * Major changes in release 4.1.7:
707 fix problem so that default "-print" is added when "-prune" is used.
708 security fixes related to directories changing while find is executing.
710 * Major changes in release 4.1.6:
711 correct bug in prune.
712 added --ignore-case option for locate
714 * Major changes in release 4.1.5:
715 Add support for large files
717 * Major changes in release 4.1.4:
718 bug fixes, more up-to-date languages.
720 * Major changes in release 4.1.3:
721 added internationalization and localization.
723 * Major changes in release 4.1.1:
724 attempt at successful compilation on many platforms after years of neglect
725  "--existing" option added to locate "--prunefs" option added to updatedb
727 * Major changes in release 4.1:
729 ** Distribution renamed to findutils.
730 ** updatedb is now a user command, installed in $exec_prefix/bin
731   instead of $exec_prefix/libexec.
732 ** A few problems in Makefiles and testsuite corrected.
734 * Major changes in release 4.0:
736 ** Documentation:
737 *** Texinfo manual.
738 *** Man page for updatedb.
739 *** Man page for the locate database formats.
741 ** find:
742 *** Takes less CPU time on long paths, because it uses chdir to descend
743    trees, so it does fewer inode lookups.
744 *** Does not get trapped in symbolic link loops when -follow is given.
745 *** Supports "-fstype afs" if you have /afs and /usr/afsws/include
746    and you configure using the --with-afs option.
747 *** New action -fls FILE; like -ls but writes to FILE.
749 ** locate:
750 *** Supports a new database format, which is 8-bit clean and
751    allows machines with different byte orderings and integer sizes to
752    share the databases.  The new locate can also detect and read the
753    old database format automatically.  The new databases are typically
754    30% or more larger than the old ones (due to allowing all 8 bits in
755    file names).  Search times are approximately the same, or faster on
756    some systems.
757 *** Warns if a file name database is more than 8 days old.
759 ** updatedb:
760 *** Takes command-line options.
762 ** xargs:
763 *** Performance improved 10-20%.
764 *** The EOF string is not used when -0 is given.
765 *** Now has a test suite.  Some minor bugs fixed as a result.
767 * Major changes in release 3.8:
769 ** case insensitive versions of -lname, -name, -path, -regex:
770   -ilname, -iname, -ipath, -iregex
771 ** %F directive for -printf, -fprintf to print file system type
773 * Major changes in release 3.7:
775 ** locate can search multiple databases
776 ** locate has an option to specify the database path
777 ** updatedb no longer goes into an infinite loop with some versions of tail
779                         --//--
780 This is used by Emacs' spell checker ispell.el:
782 LocalWords: ansi knr strftime xargs updatedb sh fnmatch hin strcpy
783 LocalWords: lib getstr getline frcode bigram texi depcomp automake
784 LocalWords: strncasecmp strcasecmp LIBOBJS FUNC prunefs allout libexec
785 LocalWords: testsuite Texinfo chdir inode fstype afs fls ls EOF lname
786 LocalWords: regex ilname iname ipath iregex printf fprintf