Actually emit an error message if we fail to stat a symlink (for
[findutils.git] / NEWS
blob114a1cfa72fc163dc400462cca7cd85e042a1d09
1 GNU findutils NEWS - User visible changes.      -*- outline -*- (allout)
2 * Major changes in release 4.2.7-CVS
3 **  Functionality Changes
4 *** xargs can now read a list of arguments from a named file, allowing 
5     the invoked program to use the same stdin as xargs started with
6     (for example ``xargs --arg-file=todo emacs'').
7 **  Bug Fixes
8 *** Avoid trying to link against -lsun on UNICOS, which doesn't need it or 
9     have it.
10 *** Bugfix to the findutils 4.2.6 automount handling (which hadn't been enabled
11     on Solaris).
13 * Major changes in release 4.2.6
14 **  Bug Fixes
15 *** find now copes rather better when a directory appears to change just as
16     it is about to start examining it, which happens with automount.
17     This is because automount mounts filesystems as you change
18     directory into them.  This should resolve Savannah bugs #3998,
19     #9043.
21 * Major changes in release 4.2.5
22 **  Functionality Changes
23 *** The POSIX options -H and -L are supported.  These control whether or not
24     find will follow symbolic links.
25 *** The BSD option -P is also now supported (though in any case 
26     it is the default).
27 **  Documentation improvements
28 ***  Better documentation for "xargs -i".
29 **  Bug Fixes
30 *** "make install" now respects DESTDIR when generating localstatedir.
31     (this is only relevant if you are installing to some location
32     other than the one that you indictaed when you ran "configure").
33 *** Compatible with automake versions 1.8 and 1.9.
34 *** Build problems on UNICOS now fixed, though the linker will still generate 
35     warnings because we try to link with the nonexistent library
36     "-lsun".  Edit $(LIBS) to work around this problem.
38 * Major changes in release 4.2.4
39 **  Functionality Changes
40 *** If your system sort command has a working "-z" option, updatedb will
41     now correctly handle newline characters in filenames (as will
42     locate).
43 *** xargs now uses 128Kb of command line by default (less if the system 
44     doesn't support that much).
45 *** If you specify a 'find' option after non-option, a warning message 
46     is now issued.  Options should be specified immediately after the 
47     list of paths to search.  These warnings are enabled if you
48     specify the -warn option, or if stdin is a tty.  They are diabled
49     by the use of the -nowarn option.  
50 *** Like find, the locate program now supports an option --null (short form -0)
51     which changes the result separator from newline to NULL.
52 *** Locate supports the option -c (long form --count) which suppresses normal
53     output but prints on stdout the number of results produced (like
54     grep -c).
55 *** Locate supports the option -l (long form --limit) which limits the 
56     number of results.  This is useful if you only want to find out if
57     there are copies of a certain file on the system, but don't want
58     to wait for the entire locate database to be searched.
59 *** Locate now has an option --basename which forces the specified pattern to 
60     be matched against the basename of the entries in the locate
61     database, rather than the whole name.  The default behaviour
62     (matching against the whole name of the file including all the
63     parent directory names) corresponds to the option --wholename.
64 *** updatedb has a new option, --findoptions, that can be used to 
65     pass extra options through to the find command that it uses.
66 **  Bug Fixes
67 *** "find -printf '%H\n'" now works (rather than segfaulting) on
68     systems that have non-writable string constants.
69 *** Better POSIX compliance for the -s option to xargs (out of range 
70     values should just result in bounding to the correct range, not an
71     error, so now we just print a warning message and adjust the
72     value).
73 *** Corrected section numbers of manual page cross-references
75 * Major changes in release 4.2.3
76 **  Functionality Changes
77 *** Added new action -delete which deletes things that find matches.
78 *** Added new action -quit which causes find to exit immediately.
79 *** A new format directive '%D' for "find -printf" prints the device number.
80 *** The -ls predicate no longer truncates user or group names.
81 *** Added new option "-d" which is a synonym for "-depth" for compatibility
82     with Mac OS, OpenBSD and FreeBSD.  This option is already
83     deprecated since the POSIX standard specifies "-depth".   
84 *** Added two new format specifiers to the -printf action; these are 
85     %y and %Y.  They indicate the type of the file as a single letter;
86     these are the same latters as are used by the "-type" test.
87 *** If a parent directory changes during the execution of find, 
88     the error message we issue identifies the nature of the change
89     (for example the previous and current inode numbers of the 
90     directory we've just returned out of).
91 ** Other Changes
92 *** Non-functional code changes to silence compiler warnings.
94 * Major changes in release 4.2.2
95 **  Documentation improvements
96 *** "find ... -exec {}+" is not yet supported.
97 ** Bug Fixes
98 *** Fixed compilation problems on Solaris, RedHat EL AS 2.1, Irix, AIX
99 *** Work around possible compiler bug on HP-UX 11.23 for ia64
100 *** The built-in internationalisation support now works again.
101 ** Other Changes
102 *** We now import the gnulib source in the way it is intended to be used,
103     which means among other things that we only have one config.h file
104     now.
105 *** Functions which findutils requires but which are not present in 
106     gnulib are now defined in "libfind.a".  This is in the lib
107     directory, while gnulib is in the gnulib subdirectory.
108 *** Fixed a typo in the address of the FSF in many of the file headers.
110 * Major changes in release 4.2.1
111 ** Bug Fixes
112 *** 'find -name \*bar now matches .foobar, because the POSIX standard 
113      requires it, as explained at
114      http://standards.ieee.org/reading/ieee/interp/1003-2-92_int/pasc-1003.2-126.html
116 * Major changes in release 4.2.1
117 ** Bug Fixes
118 *** find -iname now works correctly on systems that have an fnmatch() function 
119     that does not support FNM_CASEFOLD
120 *** updatedb now uses signal names for "trap" instead of numbers, 
121     as per bug #9465 (see http://www.opengroup.org/onlinepubs/009695399/utilities/trap.html)
122 *** Better support for systems lacking intmax_t
123 ** Other Changes
124 **** findutils now uses a newer version of gnulib (dated 2004-10-17).
126 * Major changes in release 4.2.0
127 ** Functionality Changes
128 *** xargs now works better when the environment variables are very extensive.
129     The xargs command used to run into difficulties if the environment 
130     data contained more than 20480 bytes.
131 *** New options -wholename and -iwholename 
132     As per the GNU Projecvt coding standard, These are preferred over 
133     the -path and -ipath options.  Using -ipath now generates a warning,
134     though -path does not (since HPUX also offers -path).   
135 *** The environment variable FIND_BLOCK_SIZE is now ignored.
136 *** New option "-ignore_readdir_race"
137     silences an error messages which would otherwise occur if a file is removed
138     after find has read it from the directory using readdir(), but before 
139     find stats the file.  There is also an option
140     -noignore_readdir_race which has the opposite effect.   
141 **  Documentation improvements
142 *** The -size option of find is now documented in more detail
143 *** POSIX compliance and GNU extensions
144     The find manual page also now includes a section 
145     which describes the relationship between the features of GNU 
146     find and the POSIX standard.  Some other small improvements 
147     to the find and xargs manual pages have been made.
148 *** The argument to the -fprintf directive is now better documented.
149     The escape code '\0' for the `-printf' predicate of find is now
150     documented, and the documentation for the %k and %b specifiers
151     has been improved.  
152 *** xargs -i is now more clearly documented.
153 ** Bug Fixes
154 *** locate 'pa*d' will now find /etc/passwd (if it exists, of course)
155 *** xargs standard input is not inherited by child processes
156     If the command invoked by xargs reads from its standard input, 
157     it now gets nothing, as opposed to stealing data from the 
158     list of files that xargs is trying to read.
159 *** Better support for 64-bit systems.
160 *** The command "xargs -i -n1" now works as one might expect, 
161     I think this is a strange thing to want to do.  
162 *** Arguments to find -mtime that are too large are now diagnosed 
163     Previously, this just used to cause find just to do the wrong thing.
164 *** updatedb is now somewhat more robust
165     The updatedb shell script now does not generate an empty 
166     database if it fails.  
167 *** Sanity-check on some data read from locatedb
168     Locate now detects some types of file corruption in the 
169     locate database.
170 *** The %k format specifier for -fprintf now works
171     This was broken in 4.1.20.
173 * Major changes in release 4.1.20:
174 ** New maintainer, James Youngman <jay@gnu.org>
175 ** As far as I know, this is the first release after 4.1.7, but I've left 
176    a gap just in case. 
177 ** We now use an "imported" version of gnulib, rather than including 
178    a copy of the gnulib code in our CVS repository.   There are no
179    differences in the build instructions, though (unless you are 
180    building directly from CVS, in which case please read the file
181    README-CVS).
182 ** There are no (deliberate) functional changes in version 4.1.20.
184 * Major changes in release 4.1.7:
185 fix problem so that default "-print" is added when "-prune" is used.
186 security fixes related to directories changing while find is executing.
188 * Major changes in release 4.1.6:
189 correct bug in prune.
190 added --ignore-case option for locate
192 * Major changes in release 4.1.5:
193 Add support for large files
195 * Major changes in release 4.1.4:
196 bug fixes, more up-to-date languages.
198 * Major changes in release 4.1.3:
199 added internationalization and localization.
201 * Major changes in release 4.1.1:
202 attempt at successful compilation on many platforms after years of neglect
203  "--existing" option added to locate "--prunefs" option added to updatedb
205 * Major changes in release 4.1:
207 ** Distribution renamed to findutils.
208 ** updatedb is now a user command, installed in $exec_prefix/bin
209   instead of $exec_prefix/libexec.
210 ** A few problems in Makefiles and testsuite corrected.
212 * Major changes in release 4.0:
214 ** Documentation:
215 *** Texinfo manual.
216 *** Man page for updatedb.
217 *** Man page for the locate database formats.
219 ** find:
220 *** Takes less CPU time on long paths, because it uses chdir to descend
221    trees, so it does fewer inode lookups.
222 *** Does not get trapped in symbolic link loops when -follow is given.
223 *** Supports "-fstype afs" if you have /afs and /usr/afsws/include
224    and you configure using the --with-afs option.
225 *** New action -fls FILE; like -ls but writes to FILE.
227 ** locate:
228 *** Supports a new database format, which is 8-bit clean and
229    allows machines with different byte orderings and integer sizes to
230    share the databases.  The new locate can also detect and read the
231    old database format automatically.  The new databases are typically
232    30% or more larger than the old ones (due to allowing all 8 bits in
233    file names).  Search times are approximately the same, or faster on
234    some systems.
235 *** Warns if a file name database is more than 8 days old.
237 ** updatedb:
238 *** Takes command-line options.
240 ** xargs:
241 *** Performance improved 10-20%.
242 *** The EOF string is not used when -0 is given.
243 *** Now has a test suite.  Some minor bugs fixed as a result.
245 * Major changes in release 3.8:
247 ** case insensitive versions of -lname, -name, -path, -regex:
248   -ilname, -iname, -ipath, -iregex
249 ** %F directive for -printf, -fprintf to print file system type
251 * Major changes in release 3.7:
253 ** locate can search multiple databases
254 ** locate has an option to specify the database path
255 ** updatedb no longer goes into an infinite loop with some versions of tail
257                         --//--
258 This is used by Emacs' spell checker ispell.el:
260 LocalWords: ansi knr strftime xargs updatedb sh fnmatch hin strcpy
261 LocalWords: lib getstr getline frcode bigram texi depcomp automake
262 LocalWords: strncasecmp strcasecmp LIBOBJS FUNC prunefs allout libexec
263 LocalWords: testsuite Texinfo chdir inode fstype afs fls ls EOF lname
264 LocalWords: regex ilname iname ipath iregex printf fprintf