1 2005-12-05 James Youngman <jay@gnu.org>
3 * doc/find.texi, find/find.1, locate/locate.1, xargs/xargs.1:
4 Savannah patch #3775 from Aaron Hawley: reconciling man pages
5 differences; did not apply the patch, but resolved all the
6 remaining issues manually by updating the documentation (mostly
7 the Texinfo documentation, which was missing a number of specific
8 technical statements about the behaviour of various options)
10 2005-12-04 James Youngman <jay@gnu.org>
12 * doc/find.texi: Document --show-limits
15 Correctly display the size of the argument buffer we really allocated.
17 * doc/find.texi, find/find.1, find/parser.c, find/pred.c, NEWS:
18 Savannah bug #14748 (which this change does NOT fix): issue
19 warning of future changes in the behaviour of -perm /000
21 2005-11-30 James Youngman <jay@gnu.org>
24 Typo correction from Benno Schulenberg <benno@nietvergeten.nl>
27 2005-11-29 James Youngman <jay@gnu.org>
30 Typo "Ilegal"; change to "Invalid" since this is not really illegal!
31 Bug report by Primoz Peterlin.
33 * lib/regexprops.c, xargs/xargs.c:
34 Prefer the word 'Invalid' or the phrase 'not allowed' over
35 'Illegal', as per the GNU coding standards, and as per the
36 suggestion from Benno Schulenberg
38 2005-11-24 James Youngman <jay@gnu.org>
40 * NEWS, lib/buildcmd.c, lib/buildcmd.h: Merge to trunk from 4.2.x fixes
43 Deleted inaccurate comment about the default value of ctl->args_per_exec.
45 * NEWS, lib/buildcmd.c, lib/buildcmd.h:
46 Be more conservative about the total number of arguments we will
47 allow (to avoid exec limits on Linux/PPC)
49 2005-11-23 James Youngman <jay@gnu.org>
51 * NEWS: Bug #14921 has been fixed.
54 Savannah bug #14921: when a Linux bind filesystem is in use, find
55 would expand '-printf %F' to 'none' if a bind mount targetted the same
56 filesystem as the one containing the file to be described.
58 * NEWS: Updated to describe recent changes
60 * doc/find.texi, find/find.1: Documented find -printf %M
62 * lib/buildcmd.c, xargs/testsuite/Makefile.am,
63 xargs/testsuite/xargs.posix/arg_max_32bit_linux_bug.exp,
64 xargs/testsuite/xargs.posix/arg_max_32bit_linux_bug.xo,
65 xargs/testsuite/xargs.posix/arg_max_64bit_linux_bug.exp,
66 xargs/testsuite/xargs.posix/arg_max_64bit_linux_bug.xo:
67 Ensure that the test suite still passes even if the current
68 system's value of ARG_MAX is different from the development/test
71 * lib/buildcmd.c: reindent and untabify
73 * configure.in: The CVS code is moving on from the previous release.
75 2005-11-22 James Youngman <jay@gnu.org>
77 * ChangeLog: Updated with recent changes.
79 * doc/find.texi, find/defs.h, find/find.1, find/parser.c,
80 find/pred.c, find/testsuite/Makefile.am,
81 find/testsuite/find.gnu/access.exp,
82 find/testsuite/find.gnu/access.xo:
83 Implemented the tests -readable, -writable and -executable
85 2005-11-21 James Youngman <jay@gnu.org>
87 * NEWS, configure.in, find/Makefile.am, find/defs.h, find/find.c,
88 find/finddata.c, find/ftsfind.c, find/parser.c, find/pred.c,
89 find/util.c, import-gnulib.sh, m4/Makefile.am, m4/withfts.m4:
90 Findutils 4.3.x defaults to using the the FTS implementation of find.
92 * xargs/testsuite/xargs.posix/arg_max_32bit_linux_bug.xo,
93 xargs/testsuite/xargs.posix/arg_max_64bit_linux_bug.exp,
94 xargs/testsuite/xargs.posix/arg_max_64bit_linux_bug.xo,
95 xargs/testsuite/inputs/32767-ys.xi,
96 xargs/testsuite/xargs.posix/arg_max_32bit_linux_bug.exp, po/sr.po,
97 po/sv.po, po/tr.po, po/vi.po, po/zh_CN.po, po/zh_TW.po,
98 xargs/testsuite/Makefile.am, xargs/testsuite/inputs/16383-ys.xi,
99 xargs/xargs.1, xargs/xargs.c, po/pt_BR.po, po/ro.po, po/ru.po,
100 po/rw.po, po/sk.po, po/sl.po, po/da.po, po/de.po, po/el.po,
101 po/eo.po, po/es.po, po/et.po, po/fi.po, po/findutils.pot,
102 po/fr.po, po/ga.po, po/gl.po, po/hr.po, po/hu.po, po/id.po,
103 po/it.po, po/ja.po, po/ko.po, po/lg.po, po/ms.po, po/nl.po,
104 po/pl.po, po/pt.po, ChangeLog, NEWS, configure.in, doc/find.texi,
105 find/find.1, find/find.c, find/fstype.c, import-gnulib.sh,
106 lib/buildcmd.c, lib/extendbuf.c, lib/regextype.c, locate/locate.1,
107 po/ChangeLog, po/be.po, po/ca.po: Applied all the trunk changes
108 (up to this point) to the 4.3.x sources
110 * locate/testsuite/config/unix.exp:
111 Even if we expect locate to return a nonzero status, the test should
112 still fail if updatedb fails!
114 * locate/testsuite/locate.gnu/ignore_case2.exp:
115 Set the current directory for updatedb. This test case is supposed to
116 fail because the filename is not matched, not because updatedb fails!
118 * locate/updatedb.sh:
119 Check the binaries actually exist in the place we expect.
121 2005-11-20 James Youngman <jay@gnu.org>
123 * locate/locate.1, xargs/xargs.1: Escape '-' as '\-' where appropriate.
126 Escape '-' as '\-' where appropriate. Fixes last part of bug #14556.
128 2005-11-19 James Youngman <jay@gnu.org>
130 * doc/find.texi, find/find.1:
131 Applied edited form of Andreas Metzler's -perm /mode documentation
132 patch resolving Savannah bug #14619.
135 In the success case, extendbuf() should preserve the previous value of
136 errno. Fixes Savannah bug #14842.
138 * xargs/testsuite/Makefile.am: Added new test files
141 Correctly indicate the default regular expression syntax (fixes
142 Savannah bug #14836).
144 * NEWS, configure.in: Released findutils-4.2.26
146 * ChangeLog, NEWS, lib/buildcmd.c,
147 xargs/testsuite/inputs/16383-ys.xi,
148 xargs/testsuite/inputs/32767-ys.xi,
149 xargs/testsuite/xargs.posix/arg_max_32bit_linux_bug.exp,
150 xargs/testsuite/xargs.posix/arg_max_32bit_linux_bug.xo,
151 xargs/testsuite/xargs.posix/arg_max_64bit_linux_bug.exp,
152 xargs/testsuite/xargs.posix/arg_max_64bit_linux_bug.xo: Applied
153 bugfix from Jim Meyering (tiny change), where many short arguments
154 would cause xargs (and probably find -exec .. {} +) to fail
155 because execve() returns E2BIG, which we should avoid
157 * xargs/testsuite/inputs/16383-ys.xi,
158 xargs/testsuite/inputs/32767-ys.xi,
159 xargs/testsuite/xargs.posix/arg_max_32bit_linux_bug.exp,
160 xargs/testsuite/xargs.posix/arg_max_32bit_linux_bug.xo,
161 xargs/testsuite/xargs.posix/arg_max_64bit_linux_bug.exp,
162 xargs/testsuite/xargs.posix/arg_max_64bit_linux_bug.xo: New file.
164 2005-11-18 Jim Meyering <jim@meyering.net> (tiny change)
166 * lib/buildcmd.c (bc_push_arg): When exec'ing, don't exceed
167 Linux's limit on the maximum number of command line arguments.
169 2005-11-11 James Youngman <jay@gnu.org>
171 * NEWS, find/find.c, find/fstype.c: Savannah bug #14922: if we need the
172 list of mounted filesystems but it is not available, exit fatally
173 with a message. If it is not available but we don't need it,
174 there is no need for an error.
176 2005-10-31 James Youngman <jay@gnu.org>
179 Removed redundant additional description of "--regextype".
181 2005-10-08 James Youngman <jay@gnu.org>
183 * find/find.c, lib/regextype.c: Fixed Savannah bug #14616, which
184 was that c99 code had crept in and it didn't compile on c89
187 * doc/find.texi: Savannah patch #4371 from Andreas Metzler; the
188 argument of -I is mandatory
190 2005-09-21 James Youngman <jay@gnu.org>
192 * xargs/xargs.1, xargs/xargs.c: Clarified the -E option
194 2005-09-20 James Youngman <jay@gnu.org>
196 * NEWS, configure.in, doc/find.texi, xargs/xargs.1, xargs/xargs.c:
197 Documentation clarification: -L and -I take a mandatory argument;
200 2005-09-17 James Youngman <jay@gnu.org>
203 Fixed Savannah bug #14550 - if environment is too large to allow
204 exec() to work, we cannot even use "xargs --help".
207 Avoid the use of -perm +mode, using -perm /mode instead. From comment
208 by Andreas Metzler (though I didn't read the patch).
210 * ChangeLog, doc/find.texi, find/find.1, xargs/xargs.1:
211 Typo fix from A Costa (tiny change)
213 * NEWS: Corrections for find manual page - symbolic permissions.
216 Corrected an inaccuracy in the EXAMPLES section - in symbolic modes,
217 'o' stands for 'others' and 'u' stands for 'user' (i.e. the owner).
219 2005-09-17 A Costa <agcosta@gis.net> (tiny change)
221 docs/find.texi: Fixed typo
222 find/find.1: Fixed typo
223 xargs/xargs.1: Fixed typo
225 2005-09-17 James Youngman <jay@gnu.org>
227 * NEWS: Corrections for find manual page - symbolic permissions.
230 Corrected an inaccuracy in the EXAMPLES section - in symbolic modes,
231 'o' stands for 'others' and 'u' stands for 'user' (i.e. the owner).
233 2005-09-06 James Youngman <jay@gnu.org>
235 * xargs/xargs.c: Typo in "IEEE" in a comment.
237 2005-09-04 James Youngman <jay@gnu.org>
239 * find/defs.h, find/find.c, find/parser.c, find/pred.c,
240 Work around compilation failure with GCC 4 and AIX 5.1, in which
241 open is #defined to open64
243 2005-09-03 James Youngman <jay@gnu.org>
245 * find/testsuite/find.gnu/quit.exp: Fixed Savannah bug#14390, by
246 avoiding an accidental assumption in quit.exp that directory
247 entries are returned by readir() in any particular order
249 * NEWS, configure.in, doc/find.texi, xargs/testsuite/Makefile.am,
250 xargs/testsuite/inputs/helloworld.xi,
251 xargs/testsuite/xargs.gnu/delim-o.exp,
252 xargs/testsuite/xargs.gnu/delim-o.xo, xargs/xargs.1,
253 xargs/xargs.c: Added the --delimiter option to xargs, resolving
254 Savannah support request sr #102914
256 * ChangeLog, NEWS, configure.in: Released findutils-4.2.25
259 2005-09-02 James Youngman <jay@gnu.org>
261 * doc/find.texi, find/find.1:
262 Improved documentation in response to Savannah bug #14376
264 2005-09-01 James Youngman <jay@gnu.org>
266 * po/ChangeLog, ChangeLog: Updated with recent changes.
268 * locate/locate.c: Removed unused struct stringbuf.soffs.
270 * doc/find.texi: Typo fix from Jim Meyering (trivial change)
272 2005-09-01 Jim Meyering <jim@meyering.net>
274 * locate/locate.c (struct stringbuf) [soffs]: Remove unused member.
275 (locate): Remove initialization, too.
277 2005-09-01 James Youngman <jay@gnu.org>
279 * doc/find.texi: Typo fix from Jim Meyering (trivial change)
281 2005-08-30 James Youngman <jay@gnu.org>
283 * find/defs.h, find/find.c, find/fstype.c, find/pred.c:
284 Attempted fix for compilation when AFS is #defined
286 2005-08-13 James Youngman <jay@gnu.org>
288 * find/find.1: Remind the user to quote the pattern argument to -iname.
290 2005-08-12 James Youngman <jay@gnu.org>
292 * NEWS: Corrected typo.
294 2005-08-09 James Youngman <jay@gnu.org>
296 * NEWS: Indicate that regexprops.texi is built on Cygin now that
297 Savannah bug #14025 has been fixed.
299 * lib/Makefile.am, lib/regexprops.c: Fixed compilation failure on
300 Cygwin - Savannah Bug #14025 (tiny change, three lines), reported
301 and fixed by Eric Blake
303 * find/testsuite/Makefile.am,
304 find/testsuite/find.posix/sv-bug-14070.exp,
305 find/testsuite/find.posix/sv-bug-14070.xo: Added new test case for
306 SourceForge bug #14070
308 * find/testsuite/find.posix/sv-bug-14070.exp,
309 find/testsuite/find.posix/sv-bug-14070.xo: New file.
311 * find/defs.h, find/ftsfind.c, find/pred.c, find/util.c:
312 Ensure we can still build with --enable-debug
314 * find/testsuite/config/unix.exp,
315 find/testsuite/find.gnu/execdir-one.exp,
316 find/testsuite/find.gnu/execdir-root-only.exp,
317 find/testsuite/find.gnu/sv-bug-12230.exp: If . is on $PATH,
318 indicate that the -execdir tests cannot be carried out, as opposed
319 to indicating that those tests fail
321 2005-08-07 James Youngman <jay@gnu.org>
323 * NEWS: Indicated that some test suite files have been renamed.
325 * xargs/testsuite/Makefile.am, xargs/testsuite/inputs/eof.xi,
326 xargs/testsuite/inputs/eof1.xi,
327 xargs/testsuite/xargs.sysv/eof.exp,
328 xargs/testsuite/xargs.sysv/eof.xo,
329 xargs/testsuite/xargs.sysv/eof1.exp,
330 xargs/testsuite/xargs.sysv/eof1.xo,
331 xargs/testsuite/xargs.posix/lc_l2.exp,
332 xargs/testsuite/xargs.posix/lc_l2.xo,
333 xargs/testsuite/xargs.sysv/l2.exp,
334 xargs/testsuite/xargs.sysv/l2.xo,
335 xargs/testsuite/xargs.sysv/lc_l2.exp,
336 xargs/testsuite/xargs.sysv/lc_l2.xo,
337 xargs/testsuite/xargs.posix/L2.exp,
338 xargs/testsuite/xargs.posix/l2.exp,
339 xargs/testsuite/xargs.posix/L2.xo,
340 xargs/testsuite/xargs.posix/l2.xo,
341 xargs/testsuite/xargs.posix/uc_L2.exp,
342 xargs/testsuite/xargs.posix/uc_L2.xo: Work around problems with
343 CVS clients on case-insentitive operating systems
345 * debian/Changelog: Removed Changelog file since changelog is the
346 one we should be using and having both files upsets Cygwin
347 systems which cannot tell the dirrerence between changelog and
351 If DEBUG is defined, show the symbolic names fro fts_info values.
353 * find/ftsfind.c: Added additional diagnostics.
355 2005-08-01 James Youngman <jay@gnu.org>
357 * ABOUT-NLS, INSTALL, Makefile.am, configure.in, depcomp,
358 doc/texinfo.tex, install-sh, missing, mkinstalldirs: By adding the
359 missing AM_GNU_GETTEXT_VERSION call, allowed autopoint to update
360 those files of which it has updated copies.
362 * po/Makevars.template, po/Makefile.in.in, po/findutils.pot:
363 Using AM_GNU_GETTEXT_VERSION, allowed gettext to update the infrastructure
365 * po/Rules-quot, po/boldquot.sed, po/en@boldquot.header, po/en@quot.header, po/insert-header.sin, po/quot.sed:
366 Files added by autopoint now that we are using AM_GNU_GETTEXT_VERSION
368 * find/testsuite/Makefile.am: Added find.gnu./perm-slash.{exp,xo}.
370 2005-07-31 James Youngman <jay@gnu.org>
372 * find/testsuite/excuses.txt: We now have tests for -perm.
374 * NEWS, configure.in, find/parser.c,
375 find/testsuite/find.gnu/perm-slash.exp,
376 find/testsuite/find.gnu/perm-slash.xo: Fixed bug which caused find
377 -perm /440 to be treated the same as find -perm 440
379 * find/testsuite/Makefile.am:
380 Generic tests for -perm -NNN and -perm NNN
382 * find/testsuite/excuses.txt: New file - list of test cases that
383 still need to be written, along with excuses why they haven't been
386 * find/testsuite/find.posix/perm-vanilla.exp,
387 find/testsuite/find.posix/perm-vanilla.xo: Generic tests for -perm
390 * find/testsuite/find.gnu/inum.exp:
391 Ensure that the test would fail if -inum just always returned true
393 * find/testsuite/Makefile.am, find/testsuite/find.gnu/ilname.exp,
394 find/testsuite/find.gnu/ilname.xo,
395 find/testsuite/find.gnu/inum.exp, find/testsuite/find.gnu/inum.xo,
396 find/testsuite/find.gnu/lname.exp,
397 find/testsuite/find.gnu/lname.xo,
398 find/testsuite/find.gnu/xtype.exp,
399 find/testsuite/find.gnu/xtype.xo,
400 find/testsuite/find.posix/links.exp,
401 find/testsuite/find.posix/links.xo: New test cases for -ilname,
402 -inum, -lname, -xtype
404 * find/testsuite/Makefile.am, find/testsuite/find.gnu/delete.exp,
405 find/testsuite/find.gnu/delete.xo,
406 find/testsuite/find.gnu/iregex1.exp,
407 find/testsuite/find.gnu/iregex1.xo,
408 find/testsuite/find.gnu/regex1.exp,
409 find/testsuite/find.gnu/regex1.xo,
410 find/testsuite/find.gnu/regex2.exp,
411 find/testsuite/find.gnu/regex2.xo,
412 find/testsuite/find.gnu/samefile-copy.exp,
413 find/testsuite/find.gnu/samefile-copy.xo,
414 find/testsuite/find.gnu/samefile-link.exp,
415 find/testsuite/find.gnu/samefile-link.xo,
416 find/testsuite/find.gnu/samefile-same.exp,
417 find/testsuite/find.gnu/samefile-same.xo,
418 find/testsuite/find.gnu/samefile-symlink.exp,
419 find/testsuite/find.gnu/samefile-symlink.xo: Further test cases
421 * find/find.1: Indicate that -delete implies -depth (find.texi
422 already mentioned this).
424 * find/testsuite/Makefile.am:
425 Brought the list of .exp and .xo files in Makefile.am into sync with
426 the actual contents of the CVS repository.
428 * find/testsuite/Makefile.am, find/testsuite/find.gnu/depth-d.exp,
429 find/testsuite/find.gnu/depth-d.xo,
430 find/testsuite/find.gnu/empty.exp,
431 find/testsuite/find.gnu/empty.xo,
432 find/testsuite/find.gnu/execdir-one.exp,
433 find/testsuite/find.gnu/execdir-one.xo,
434 find/testsuite/find.gnu/false.exp,
435 find/testsuite/find.gnu/false.xo,
436 find/testsuite/find.gnu/follow-basic.exp,
437 find/testsuite/find.gnu/follow-basic.xo,
438 find/testsuite/find.gnu/gnu-or.exp,
439 find/testsuite/find.gnu/gnu-or.xo,
440 find/testsuite/find.gnu/gnuand.exp,
441 find/testsuite/find.gnu/gnuand.xo,
442 find/testsuite/find.gnu/gnunot.exp,
443 find/testsuite/find.gnu/gnunot.xo,
444 find/testsuite/find.gnu/iname.exp,
445 find/testsuite/find.gnu/iname.xo,
446 find/testsuite/find.gnu/ipath.exp,
447 find/testsuite/find.gnu/ipath.xo,
448 find/testsuite/find.gnu/iwholename.exp,
449 find/testsuite/find.gnu/iwholename.xo,
450 find/testsuite/find.gnu/path.exp, find/testsuite/find.gnu/path.xo,
451 find/testsuite/find.gnu/print0.exp,
452 find/testsuite/find.gnu/print0.xo,
453 find/testsuite/find.gnu/quit.exp, find/testsuite/find.gnu/quit.xo,
454 find/testsuite/find.gnu/true.exp, find/testsuite/find.gnu/true.xo,
455 find/testsuite/find.gnu/wholename.exp,
456 find/testsuite/find.gnu/wholename.xo,
457 find/testsuite/find.posix/and.exp,
458 find/testsuite/find.posix/and.xo,
459 find/testsuite/find.posix/exec-one.exp,
460 find/testsuite/find.posix/exec-one.xo,
461 find/testsuite/find.posix/grouping.exp,
462 find/testsuite/find.posix/grouping.xo,
463 find/testsuite/find.posix/name.exp,
464 find/testsuite/find.posix/name.xo,
465 find/testsuite/find.posix/posixnot.exp,
466 find/testsuite/find.posix/posixnot.xo,
467 find/testsuite/find.posix/prune.exp,
468 find/testsuite/find.posix/prune.xo: Added new test cases for many
469 of the actions and tests of find
471 * find/find.c (default_prints):
472 not a static function, so do not declare it as one.
474 * m4/withfts.m4: Fixed underquoted definition of FIND_WITH_FTS.
475 [this change is currently on a branch only]
477 2005-07-30 James Youngman <jay@gnu.org>
479 * find/finddata.c, find/ftsfind.c, find/parser.c, find/pred.c,
480 find/util.c, m4/Makefile.am, m4/withfts.m4: Initial attempt to
481 convert find to use gnulib's fts()
482 [this change is currently on a branch only]
484 * find/finddata.c, find/ftsfind.c, m4/withfts.m4: New file.
485 [this change is currently on a branch only]
487 * NEWS, configure.in, find/Makefile.am, find/defs.h, find/find.c,
488 import-gnulib.sh: Initial attempt to convert find to use gnulib's
489 fts() [this change is currently on a branch only]
491 2005-07-29 James Youngman <jay@gnu.org>
494 Prepared for the release of findutils-4.2.24
496 * ChangeLog: Updated with recent changes.
498 * NEWS, find/find.1, doc/find.texi:
499 Indicate that -ok and -okdir redirect stdin from /dev/null.
501 * NEWS: Explain the directory link count change more throroughly.
503 * NEWS: Fixed bug #13973.
505 * find/pred.c (pred_fprintf): Fix Savannah bug #13973: Modify the
506 handling of -printf %Y so that it no longer modifies stat_buf
508 * find/testsuite/find.gnu/printf-symlink.exp,
509 find/testsuite/find.gnu/printf-symlink.xo: Detect Savannah bug
510 #13973: pollution of stat_buf by the %Y directive (trivial change
511 from Andreas Metzler)
513 * INSTALL, depcomp, doc/texinfo.tex, install-sh, missing, mkinstalldirs:
514 Updated auxilliary files from the automake-1.9 distribution
517 Introduce new Automake conditional, CROSS_COMPILING, true when we are corss compiling
520 If we decline to follow a symbolic link due to the safety check, issue a more self-explanatory warning message
522 * lib/Makefile.am: Don't build regexprops if we are cross compiling
525 Depend on the regex.h file rather than the 'regexprops' binary,
526 because the header file will always exist even if we are doing "make
527 dist". Otherwise "make distcheck" fails because it tries to rebuild
528 find.info while the source-directory is read-only.
530 2005-07-28 James Youngman <jay@gnu.org>
533 Say "other users" rather than "rest of the world" when talking about
534 Unix permissions. Fixes Savannah bug #4246.
536 2005-07-27 James Youngman <jay@gnu.org>
538 * xargs/testsuite/Makefile.am: Added new test case 'childfail.exp'.
541 Updated the description of the safe-dir-change operation to reflect
542 what find now does on systems that lack O_NOFOLLOW.
544 * NEWS, find/parser.c: Indicate in the output of find --version if
545 the leaf optimisation is enabled or not
547 * find/find.c: Fixed typo.
549 * find/find.c: If the link count of a directory starts off less
550 than two, disable the leaf optimisation for this directory.
552 2005-07-26 James Youngman <jay@gnu.org>
554 * lib/regexprops.c: Further small corrections from Karl.
557 Reordered the sections in the manual to put the "Common Tasks" and
558 "Worked Examples" chapters together.
560 * configure.in, find/find.c: Allow the leaf optimisation to be
561 disabled by default with the configure option
562 --disable-leaf-optimisation
564 * find/find.c: Removed old code for antuqie version of savedir().
566 * lib/regextype.c: Put the syntaxes in alphabetical order.
568 * lib/regexprops.c: Karl made some more readability suggestions.
570 2005-07-24 James Youngman <jay@gnu.org>
572 * doc/Makefile.am: If the regexprops program has changed we should
573 re-run it, since it will probably now produce different output
576 Allow the caller to detect if one regex type is identical to another.
579 Define the preprocessor macro FINDUTILS for that code int he lib/
580 directory can be slightly more reusable.
583 Allow the caller to detect if one regex type is identical to another.
586 Made Texinfo style corrections suggested by Karl Berry.
588 2005-07-22 James Youngman <jay@gnu.org>
590 * xargs/testsuite/xargs.posix/childfail.exp, xargs/xargs.c: Fix
591 Savannah bug #13878, in which xargs deals incorrectly with child
592 failure, returning 0 when it should return 123
594 2005-07-17 James Youngman <jay@gnu.org>
596 * find/find.1: (tiny change) Corrections by Greg Wooledge
598 2005-07-16 James Youngman <jay@gnu.org>
600 * doc/find.texi: Updates following comments by Dave Gilbert.
602 * NEWS: Corrected a typo.
605 Added in the example about updating an aggregate timestamp file.
607 2005-07-15 James Youngman <jay@gnu.org>
609 * po/da.po: Updated Danish translation from translation project
611 2005-07-14 James Youngman <jay@gnu.org>
613 * NEWS, doc/Makefile.am, doc/find.texi, lib/Makefile.am,
614 lib/regexprops.c, lib/regextype.c, lib/regextype.h: Added
615 --regextype and -regextype options to locate and find
616 respectively, and documented these
618 * doc/find.texi: We use GNU Emacs regexps by default now.
621 We require GNU sort in order for locate to handle newlines correctly,
624 2005-07-10 James Youngman <jay@gnu.org>
627 Applied several documentation improvement patches from Aaron Hawley
629 * ChangeLog, NEWS: Updated with recent changes.
631 * NEWS: Recent gnulib changed have fixed -iregex
633 * doc/find.texi, xargs/xargs.1:
634 Tiny patch from Andreas Metzler: xargs -I is like xargs -i, but the latter is deprecated
636 2005-07-06 James Youngman <jay@gnu.org>
638 * find/defs.h, find/find.c, find/parser.c, find/pred.c:
639 Fixed Savannah bug #13650; programs run by -exec cannot read stdin
641 2005-07-04 James Youngman <jay@gnu.org>
643 * NEWS: *** empty log message ***
646 Added a "Worked Examples" section. It currently only contains a
647 (long) example about deleting files.
649 * .cvsignore: Some extra stuff to ignore.
651 2005-07-03 James Youngman <jay@gnu.org>
653 * find/Makefile.am: Don't need regexprops.c really...
655 * lib/regextype.c, lib/regextype.h:
656 New files for selecting regex type based on a keyword
658 * locate/locate.1: Documented the fact that we now use Emacs-style
659 regexps, not POSIX EREs, for compatibility with find -regex.
661 * lib/Makefile.am, locate/locate.c, doc/find.texi,
662 find/Makefile.am, find/defs.h, find/find.1, find/find.c,
663 find/parser.c: Fixed Savannah bug #13495: find now uses
664 Emacs-style regexps by default
666 2005-07-02 James Youngman <jay@gnu.org>
668 * configure.in, find/defs.h, find/fstype.c, find/parser.c,
669 intl/dcigettext.c, lib/buildcmd.c, lib/listfile.c,
670 lib/savedirinfo.c, locate/locate.c, xargs/xargs.c: Assume unistd.h
671 is present - avoid using HAVE_UNISTD_H
673 2005-07-01 Jim Meyering <jim@meyering.net>
675 With `-fprint F' or `-fprintf F', don't write diagnostics
676 to F when stderr is closed.
678 * find/parser.c: Include "stdio-safer.h".
679 (open_output_file): Use fopen_safer, not fopen.
680 * import-gnulib.sh (findutils_modules): Add stdio-safer.
682 2005-07-01 James Youngman <jay@gnu.org>
685 Aaron pointed out a potentially-confusing sentence. I fixed it.
687 * find/defs.h, find/find.1, find/find.c, find/parser.c,
688 find/pred.c, find/util.c: Allow consistency-checking of the
689 predicates, checking for example that actions all have side
692 2005-06-29 James Youngman <jay@gnu.org>
694 * doc/find.texi: Applied patch from Aaron Hawley (Savannah patch
695 #3751: Typos and small suggestions to find.texi)
697 2005-06-27 James Youngman <jay@gnu.org>
699 * ChangeLog, locate/locate.c: Applied patch from Bas Van Gompel to
700 move match counting into a (new) visitor function
702 * NEWS, configure.in: No longer 4.2.23, as we're moving on now
704 2005-06-24 Bas van Gompel <patch-findutils.buzz@bavag.tmfweb.nl>
706 * locate/locate.c (visit_count, visit_limit): New functions.
707 (locate): Use visit_limit or visit_count. Simplify main loop.
708 (main) Bail out early when limit is reached.
710 2005-06-20 James Youngman <jay@gnu.org>
713 Removed some code which had already been disabled via the preprocessor.
715 2005-06-19 Dmitry V. Levin <ldv@altlinux.org>
717 * lib/savedirinfo.c: Fix two compilation warnings (which would
718 prevent compilation if "-Wall -Werror" is in effect).
720 2005-06-19 James Youngman <jay@gnu.org>
722 * ChangeLog: Indicate that we made (are making) a release.
724 * ChangeLog, NEWS, configure.in: Preparing to release 4.2.23
726 * doc/find.texi: Fixed Texinfo syntax error in previous change
728 * doc/find.texi, xargs/xargs.1:
729 Document the fact that the -i and -L options are currently
730 incompatible (Savannah bug 13041).
732 * locate/updatedb.1, locate/updatedb.sh: Fix Savannah bug 13411 -
733 reject trailing slashes in updatedb's --prunepaths, bacsue these
734 will never be matched
736 * NEWS: Released findutils-4.2.23.
738 * doc/find.texi, xargs/xargs.1:
739 Document the fact that the -i and -L options are currently
740 incompatible (Savannah bug 13041).
742 * locate/updatedb.1, locate/updatedb.sh: Fix Savannah bug 13411 -
743 reject trailing slashes in updatedb's --prunepaths, because these
744 will never be matched.
746 2005-06-18 Martin Buchholz (trivial patch applied by James Youngman)
748 * find/defs.h, find/find.c, find/parser.c, doc/find.texi: Fix
749 typos/spelling errors (mostly in source code comments).
751 2005-06-18 Dmitry V. Levin <ldv@altlinux.org>
753 Additional documentation tweaks for -execdir/-okdir actions.
754 * find/parser.c (parse_help): Mention -execdir and -ordir options.
755 * doc/find.texi, find/find.1: Additionally document new options.
757 2005-06-12 Bas van Gompel <patch-findutils.buzz@bavag.tmfweb.nl>
759 * locate/locate.c: Implement --all (-A).
761 * NEWS, doc/find.texi, locate/locate.1: Document locate --all (-A)
763 2005-06-12 James Youngman <jay@gnu.org>
766 Savannah bug #13381 (Debian bug 313081): if we have O_NOFOLLOW,
767 safely_chdir() does not need to call stat(). However, process_dir()
768 used to rely on using that stat information. To work around this
769 problem, there is now an output parameter in safely_chdir() which
770 indicates if the stat buffer is valid.
771 This bug has possible security implications.
773 * find/find.1, doc/find.texi:
774 Applied patch from Andreas Metzler, improving the wording for the
775 documentation of the %k and %b format directives. This patch does
776 not require a copyright assignment as it consists of several
777 copies of the same small wording change.
779 2005-06-11 James Youngman <jay@gnu.org>
781 * find/find.1: Corrected spelling error 'writeable' to 'writable'.
783 * find/find.1, locate/locate.1:
784 Fixed Savannah bug #13363, typos in manpages (trivial change)
786 2005-06-10 James Youngman <jay@gnu.org>
788 * find/find.c, lib/savedirinfo.c, lib/savedirinfo.h: Switch to a
789 new scheme for saving directory entry data which is extensible to
790 allow additional data to be saved.
792 2005-06-09 James Youngman <jay@gnu.org>
794 * locate/testsuite/config/unix.exp:
795 Use the new normalize_dir procedure throughout.
797 * locate/testsuite/config/unix.exp: Move the normalisation into a
798 procedure. Don't rely on the "file normalize" command being
799 available (it's new in Tcl 8.4).
801 2005-06-08 James Youngman <jay@gnu.org>
803 * ChangeLog, NEWS, configure.in: Updated for recent changes
806 Explain that you should put the argument of -name in quotes.
809 Added a new "NON-BUGS" section pointing out things that look like bugs
810 but are caused by mistakes or misunderstandings.
812 * doc/find.texi, locate/locate.1: Applied Bas van Gompel's patch
813 which allows the database to be read from stdin.
816 Read the database in by using the "visitor" pattern. Modified file
817 header comment to indicate that we no longer use the efficient
818 algorith described in ;login:. Emit an error message if the
819 LOCATE_PATH variable implies that we should read stdin twice.
820 Most of this code is from Bas van Gompel.
822 * AUTHORS: Credit Bas van Gompel for his work on locate.
824 * lib/printquoted.h: Appled patch from Bas - fixing compiler warning.
826 2005-06-07 James Youngman <jay@gnu.org>
828 * ChangeLog, NEWS, configure.in: Updates prior to release
830 * config.rpath: Added file required for 'make dist'
832 * po/be.po, po/ca.po, po/da.po, po/de.po, po/el.po, po/eo.po,
833 po/es.po, po/et.po, po/fi.po, po/findutils.pot, po/fr.po,
834 po/ga.po, po/gl.po, po/hr.po, po/hu.po, po/id.po, po/it.po,
835 po/ja.po, po/ko.po, po/lg.po, po/ms.po, po/nl.po, po/pl.po,
836 po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/rw.po, po/sk.po,
837 po/sl.po, po/sr.po, po/sv.po, po/tr.po, po/vi.po, po/zh_CN.po:
838 updated the po files for release
840 * xargs/testsuite/Makefile.am:
841 Added in all the test files from Dmitry V. Levin.
843 2005-06-08 Bas van Gompel <patch-findutils.buzz@bavag.tmfweb.nl>
845 * NEWS, locate/locate.1, doc/find.texi: Document usage of `-'
846 to refer to stdin in database-path for locate.
847 * locate/locate.c: Change prototype for visitors and processors
848 throughout. Move reading the database and generating base_name
849 into visitors. Allow `-' to refer to stdin in database-path.
851 * lib/printquoted.h: Include stdio.h.
853 2005-06-07 James Youngman <jay@gnu.org>
855 * COPYING, debian/copyright, depcomp, doc/texinfo.tex,
856 find/defs.h, find/find.c, find/fstype.c, find/parser.c,
857 find/pred.c, find/testsuite/config/unix.exp, find/tree.c,
858 find/util.c, import-gnulib.sh, intl/Makefile.in,
859 intl/bindtextdom.c, intl/config.charset, intl/dcgettext.c,
860 intl/dcigettext.c, intl/dcngettext.c, intl/dgettext.c,
861 intl/dngettext.c, intl/explodename.c, intl/finddomain.c,
862 intl/gettext.c, intl/gettext.h, intl/gettextP.h,
863 intl/hash-string.h, intl/intl-compat.c, intl/l10nflist.c,
864 intl/libgettext.h, intl/libgnuintl.h, intl/loadinfo.h,
865 intl/loadmsgcat.c, intl/localcharset.c, intl/locale.alias,
866 intl/localealias.c, intl/ngettext.c, intl/plural.c, intl/plural.y,
867 intl/ref-add.sin, intl/ref-del.sin, intl/textdomain.c,
868 lib/buildcmd.c, lib/buildcmd.h, lib/extendbuf.c, lib/extendbuf.h,
869 lib/forcefindlib.c, lib/listfile.c, lib/listfile.h,
870 lib/modetype.h, lib/nextelem.c, lib/nextelem.h, lib/printquoted.c,
871 lib/printquoted.h, lib/qmark.c, lib/savedirinfo.c,
872 lib/savedirinfo.h, lib/strspn.c, lib/wait.h, lib/waitpid.c,
873 locate/bigram.c, locate/code.c, locate/frcode.c, locate/locate.c,
874 locate/locatedb.h, locate/testsuite/config/unix.exp,
875 locate/updatedb.sh, missing, po/fetch-po-files,
876 xargs/testsuite/config/unix.exp, xargs/xargs.c:
877 Updated the FSF's postal address
879 * ChangeLog: Corrected Bas's email address.
881 * locate/locate.c: Updated copyright years.
883 2005-06-07 Bas van Gompel <patch-findutils.buzz@bavag.tmfweb.nl>
885 * locate/locate.c: Fold case once, only when needed.
887 2005-06-07 James Youngman <jay@gnu.org>
889 * NEWS: Updated with recent changes.
891 * mdate-sh: Use the mdate-sh from automake
893 * find/parser.c, find/pred.c, find/tree.c, find/util.c,
894 lib/Makefile.am, lib/forcefindlib.c, lib/listfile.c,
895 lib/listfile.h, locate/code.c, locate/locate.c, find/defs.h,
896 find/find.c: Fix Savannah bug #13324: Fix compiler warnings for
900 Fixed Savannah bug #13325: Quoting of output filenames in locate
904 Fixed Savannah bug #13319: C9X-ism in parser.c (declaration after
907 * find/pred.c, lib/Makefile.am, lib/listfile.c, lib/nextelem.c,
908 lib/printquoted.c, lib/printquoted.h, lib/qmark.c, NEWS,
909 doc/find.texi, find/defs.h, find/find.1, find/parser.c: Fixed
910 Savannah bug #13303, find should filter out non-printable
911 characters if outputting to tty
913 2005-05-30 James Youngman <jay@gnu.org>
915 * locate/locate.c: rename new_locate() to locate() since
916 old_locate() has gone the way of the dodo.
918 2005-05-29 Bas van Gompel <patch-findutils.buzz@bavag.tmfweb.nl>
920 Add a ``--print'' (``-p'') option. (to cancel side-effects of -c/-S)
921 Allow ``--statistics'' in combination with non-options.
922 * doc/find.texi: Add documentation for locate --print (-p), and the
923 use of non-options with --statistics.
924 * locate/locate.1: ditto.
925 * locate/locate.c: Read each database only once.
927 2005-05-23 Paul Eggert <eggert@cs.ucla.edu>
929 Adjust to recent gnulib changes.
930 * import-gnulib.sh: Get config.rpath from gnulib/build-aux,
932 * find/parser.c (parse_perm): Ignore umask when parsing
933 symbolic permissions. Adjust to new modechange API.
935 2005-05-16 James Youngman <jay@gnu.org>
937 * find/find.c, find/parser.c, find/pred.c, find/tree.c:
938 Trivial change: don't use i18n support for debug-only messages
940 * ChangeLog: Added ChangeLog entry crediting Dmitry
942 2005-05-09 James Youngman <jay@gnu.org>
945 The previous change fixed Savannah bug #12999. This change doesn't do
946 anything, it's only intended to be a place to record the Savannah bug
950 Oops. Initialise the variable which indicates which regex syntax to
951 use. We use POSIX basic regular expressions.
954 Suggestion by Ed Avis: point out that "-name foo/bar" will almost
955 always evaluate to false. Suggest to the user what alternatives they
958 2005-05-02 James Youngman <jay@gnu.org>
961 Added Dimitry (his new test suite contribution required a copyright
964 2005-05-03 Dmitry V. Levin
966 * Added xargs test suite tests by Dmitry V. Levin, together with
967 bugfixes which ensure that the tests pass.
969 2005-04-18 James Youngman <jay@gnu.org>
971 * Added test suite tests for Bas van Gompel's changes.
973 2005-04-18 Bas van Gompel <patch-findutils.buzz@bavag.tmfweb.nl>
975 * doc/find.texi: Document locate --non-existing (-E).
976 * locate/locate.1: Ditto.
977 * locate/locate.c: Implement --non-existing (-E).
979 2005-04-04 James Youngman <jay@gnu.org>
981 * configure.in, import-gnulib.sh:
982 We no longer need gnulib/m4/Makefile.am
984 * po/vi.po: Updated Vietnamese translation
986 * locate/updatedb.sh:
987 Savannah bug #12491: Only use the "-s" option to "su" if it is
990 2005-04-01 James Youngman <jay@gnu.org>
992 * locate/locate.1, locate/updatedb.1, xargs/xargs.1: Trivial
993 change from A Costa <agcosta@gis.net>, fixing typos in manual
994 pages for xargs, locate and updatedb; fixes Savannah bug #12500,
997 2005-03-22 James Youngman <jay@gnu.org>
999 * import-gnulib.sh: Include the new gnulib module stat-macros
1002 CVS code is (will shortly be) no longer identical to the 4.2.20 release
1004 2005-03-17 James Youngman <jay@gnu.org>
1006 * configure.in: Preprare for release of 4.2.20.
1008 * NEWS: Updated prior to release of 4.2.20.
1010 * ChangeLog: Updated with recent changes.
1012 * THANKS: Thank Bas van Gompel, but only once.
1014 * THANKS: Thank Bas van Gompel and Aaron S. Hawley.
1016 * po/vi.po: Updated Vietnamese PO file
1018 2005-03-10 James Youngman <jay@gnu.org>
1020 * po/nl.po: Updated Dutch PO file
1022 2005-03-08 Bas van Gompel <patch-findutils.buzz@bavag.tmfweb.nl>
1024 * import-gnulib.sh: Re-enable creation of gnulib/m4/Makefile.am.
1026 2005-03-07 James Youngman <jay@gnu.org>
1028 * Released findutils-4.2.19.
1030 * find/testsuite/find.posix/sizes.exp:
1031 Use 2>/dev/null instead of 2>&1, because Tcl understands the former
1034 * find/testsuite/Makefile.am: Also distribute sv-bug-12181.xo.
1036 * find/testsuite/Makefile.am: Distribute sv-bug-12181.
1038 * find/testsuite/Makefile.am: Distribute sv-bug-12230.
1040 * NEWS: Updated with new news.
1042 * ChangeLog: Brought up to date.
1044 * lib/buildcmd.c, find/testsuite/find.gnu/sv-bug-12230.exp: Fixed
1045 Savannah bug #12230, in which '-exec echo == {} +' is always run,
1046 even if there were no matched files.
1048 2005-03-06 James Youngman <jay@gnu.org>
1050 * ChangeLog: Added latest changes.
1052 * po/pt.po, configure.in: Added Portuguese translation
1054 2005-03-04 James Youngman <jay@gnu.org>
1056 * configure.in: Modernized the way we call AC_INIT and
1059 * locate/locate.c, find/pred.c, find/find.c:
1060 Eliminated some compiler warnings
1062 * find/pred.c: Clarified the meaning of a comment.
1064 * find/testsuite/Makefile.am: Added sizes.exp, sizes.xo.
1066 * find/testsuite/find.posix/sizes.xo,
1067 find/testsuite/find.posix/sizes.exp: Added tests for -size
1070 2005-03-03 James Youngman <jay@gnu.org>
1073 safely_chdir_lstat(): if we didn't end up in the right place, and then
1074 fchdir() fails, we can't return to the directory we started in.
1075 Therefore, issue a fatal error message and exit.
1077 2005-03-01 James Youngman <jay@gnu.org>
1079 * find/find.c, find/testsuite/find.posix/sv-bug-12181.exp,
1080 find/testsuite/find.posix/sv-bug-12181.xo: Fixed SourceForge bug
1081 12181 (find -H symlink-to-dir reports 'Too many Symbolic links')
1082 and bug 12044 (find still hangs on dead NFS filesystems on
1085 2005-02-28 James Youngman <jay@gnu.org>
1087 * doc/find.texi: Typo: O_NOFOLLOW, not O_FOLLOW
1090 Suggestion from Martin Buchholz; unset CDPATH to prevent "cd" echoing
1093 2005-02-27 James Youngman <jay@gnu.org>
1095 * README: Indicate how the reader can verify the release.
1097 2005-02-26 James Youngman <jay@gnu.org>
1099 * po/sk.po, po/sl.po, po/sr.po, po/sv.po, po/tr.po, po/vi.po,
1100 po/zh_CN.po, po/be.po, po/ca.po, po/da.po, po/de.po, po/el.po,
1101 po/eo.po, po/es.po, po/et.po, po/fi.po, po/findutils.pot,
1102 po/fr.po, po/gl.po, po/hr.po, po/hu.po, po/id.po, po/it.po,
1103 po/ja.po, po/ko.po, po/lg.po, po/ms.po, po/nl.po, po/pl.po,
1104 po/pt_BR.po, po/ro.po, po/ru.po: Added new Vietnamese translation
1106 * configure.in: Added new Vietnamese translation.
1108 2005-02-25 James Youngman <jay@gnu.org>
1110 * po/ga.po: Updated Irish po file
1112 2005-02-23 James Youngman <jay@gnu.org>
1114 * Makefile.am: Fix Savannah bug #12064 - 'make distclean' deletes
1115 regex.c but should not.
1117 * find/testsuite/Makefile.am,
1118 find/testsuite/find.gnu/printf-h.exp,
1119 find/testsuite/find.gnu/printf-h.xo: Added test case for Savannah
1120 bug #12085 (-printf %h).
1122 * NEWS, doc/find.texi, find/find.1, find/pred.c:
1123 %h now expands to '.' instead of nothing.
1125 2005-02-22 James Youngman <jay@gnu.org>
1128 Fixed Savannah bug #12099 (misinterpretation of system versions
1129 leading to possible incorrect disabling of O_NOFOLLOW). Reported by
1133 For the %h format, don't bail out early as the format might contain
1136 2005-02-21 James Youngman <jay@gnu.org>
1138 * find/find.c: Fixed accidental C99 dependency.
1140 2005-02-20 James Youngman <jay@gnu.org>
1142 * po/be.po, po/ca.po, po/da.po, po/de.po, po/el.po, po/eo.po,
1143 po/es.po, po/et.po, po/fi.po, po/findutils.pot, po/fr.po,
1144 po/ga.po, po/gl.po, po/hr.po, po/hu.po, po/id.po, po/it.po,
1145 po/ja.po, po/ko.po, po/lg.po, po/ms.po, po/nl.po, po/pl.po,
1146 po/pt_BR.po, po/ro.po, po/ru.po, po/sk.po, po/sl.po, po/sr.po,
1147 po/sv.po, po/tr.po, po/zh_CN.po: Updated italian translation
1149 * doc/find.texi: Corrected a typo.
1152 Read the mounted device list afer parsing the command line, so that
1153 for example "find --version" still works (in response to Savannah bug
1156 * configure.in: We've moved on from findutils-4.2.18.
1158 2005-02-19 James Youngman <jay@gnu.org>
1160 * NEWS: Corrected the summary of the "find -depth" bug.
1162 2005-02-16 James Youngman <jay@gnu.org>
1164 * NEWS, configure.in: Prepared for release of 4.2.18.
1166 * ChangeLog: Updated prior to release of 4.2.18.
1168 * find/testsuite/Makefile.am:
1169 Distribute the test cases for the recent "find -depth" bug.
1171 * find/testsuite/find.posix/depth1.exp, find/testsuite/find.posix/depth1.xo:
1172 Added test case for find -depth bug reported by Joseph S. Myers
1175 If -depth is in effect, processing of the subdirectories invalidates
1176 the information in 'state'. Therefore once we get around to
1177 processing the predicates, restore the information that we keep in
1178 'state' and in 'stat_buf'.
1180 2005-02-15 James Youngman <jay@gnu.org>
1182 * ChangeLog: Updated with recent changes
1185 Emphasise that -L causes find to recurse into subdirectories pointed
1186 to by symbolic links.
1189 Patch to find.1 from Aaron Hawley <Aaron.Hawley@uvm.edu>:
1191 * Notes about -H actually apply to -L.
1192 * Said paragraph is duplicated two paragraphs later.
1193 * Typos: nno, ibmue, surrpounding
1195 2005-02-15 Aaron Hawley <Aaron.Hawley@uvm.edu>
1197 * find/find.1: Notes about -H actually apply to -L. Said
1198 paragraph is duplicated two paragraphs later. Also typos: nno,
1201 2005-02-13 James Youngman <jay@gnu.org>
1203 * find/find.1: Miscellaneous small clarifications and improvements.
1205 * doc/find.texi: Added Info nodes and menus under "Changing the
1206 Current Working Directory" so that it doesn't generate such a huge
1209 * find/find.c: Parenthesise #if defined(...).
1211 2005-02-13 Dmitry V. Levin <ldv@altlinux.org>
1213 * find/find.c: remove test code snippet (time(NULL) was used to
1214 place a marker for spotting with strace(), but was not actually
1217 * find/find.c (safely_chdir_nofollow): must not fall back on
1218 safely_chdir_lstat() because that will expose it to race condition
1219 exploits, making it pointless.
1221 * find/find.c (safely_chdir_lstat): Move
1222 complete_pending_execdirs() up into safely_chdir(), because we
1223 need to do that in either case.
1225 2005-02-12 James Youngman <jay@gnu.org>
1227 * configure.in, doc/find.texi, find/defs.h, find/find.c,
1228 find/parser.c: Fix for Savannah bug #11879, that
1229 init_mounted_dev_list() causes find to hang on systems which are
1230 clients to dead NFS servers
1232 2005-02-10 James Youngman <jay@gnu.org>
1234 * doc/find.texi: Talk about the problem where find will not work
1235 if you have a filesystem mounted from an unresponsive NFS server.
1237 2005-02-09 James Youngman <jay@gnu.org>
1239 * find/find.1: Indicate that $TZ affects from printf-format
1240 results, and add extra cross-references in the SEE ALSO section.
1242 2005-02-08 James Youngman <jay@gnu.org>
1244 * xargs/testsuite/Makefile.am: Distribute the .xe files also.
1246 * Makefile.am: Check that we have the right number of .xe files in
1247 the distribution also.
1249 * ChangeLog, NEWS, configure.in
1250 Preparing to release findutils-4.2.17
1252 2005-02-07 James Youngman <jay@gnu.org>
1254 * find/testsuite/config/unix.exp: Re-sort the .xo file using the
1255 calling user's locale, because our 'pre-sorted' .so output file
1256 may not be sorted with the same collating order as 'sort' used to
1257 order the output of "find. Bug spotted by Vin Shelton and Dimitry
1260 * find/testsuite/Makefile.am:
1261 New test, find/testsuite/find.gnu/follow-arg-parent-symlink.exp.
1263 * find/testsuite/find.gnu/follow-arg-parent-symlink.exp,
1264 find/testsuite/find.gnu/follow-arg-parent-symlink.xo, find/find.c:
1265 Fix for starting point /foo/bar/baz where bar is a symlink but baz
1266 is not - we should chdir into bar there even if it is a symbolic
1269 2005-02-07 James Youngman <jay@gnu.org>
1271 * find/testsuite/Makefile.am:
1272 New test, find/testsuite/find.gnu/follow-arg-parent-symlink.exp.
1274 * find/testsuite/find.gnu/follow-arg-parent-symlink.exp,
1275 find/testsuite/find.gnu/follow-arg-parent-symlink.xo, find/find.c:
1276 Fix for starting point /foo/bar/baz where bar is a symlink but baz
1277 is not - we should chdir into bar there even if it is a symbolic
1280 2005-02-06 James Youngman <jay@gnu.org>
1283 -size: Clarification - -size gives a result consistent with 'wc -c'
1286 * Makefile.am, find/testsuite/Makefile.am,
1287 find/testsuite/find.gnu/execdir-root-only.exp,
1288 find/testsuite/find.gnu/execdir-root-only.xo,
1289 locate/testsuite/Makefile.am, xargs/testsuite/Makefile.am:
1290 dist-hook: Ensure that we distribute all the .po files and all the
1293 * po/pl.po: Updated Polish translation from TP website
1295 2005-02-05 Dmitry V. Levin <ldv@altlinux.org>
1297 * find/parser.c, find/pred.c: Additional tweaks for
1298 -execdir/-okdir actions.
1300 * find/parser.c (new_insert_exec_ok): Disable ignore_readdir_race
1301 for -execdir/-okdir.
1303 * find/pred.c (pred_execdir, pred_okdir): Use state.rel_pathname
1304 instead of basename(pathname). Do not add "./" prefix for
1307 * find/find.c (process_top_path): Treat "/" similarly to ".".
1309 * xargs/testsuite/xargs.posix/savannah-11865.exp,
1310 xargs/testsuite/xargs.posix/savannah-11865.xo, xargs/xargs.c:
1311 Fixed Savannah bug #11866 (not resetting number of used chars in
1312 the command buffer) - reported by Dimitry V. Levin
1314 2005-02-05 James Youngman <jay@gnu.org>
1317 Added thanks for Dimitry - has produced many patches, bugfixes and
1321 Fixed Savannah bug #11866: typo in pred_okdir() renders it useless
1324 Savannah bug #11861: undefined symbol 'basename' on IRIX 5.3
1326 * NEWS, configure.in, po/be.po, po/ca.po, po/el.po, po/eo.po,
1327 po/fi.po, po/ga.po, po/hr.po, po/hu.po, po/ja.po, po/lg.po,
1328 po/ms.po, po/ro.po, po/sl.po, po/sr.po, po/zh_CN.po: Added new
1331 * ChangeLog: Updated from CVS prior to release of 4.2.16.
1333 * po/ChangeLog: Updated from CVS.
1335 * NEWS, configure.in: Preparing to release 4.2.16
1337 * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot,
1338 po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po,
1339 po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sl.po, po/sv.po,
1340 po/tr.po: make update-po prior to 'make distcheck'
1342 * po/fetch-po-files: This is the first version we actually used.
1344 * find/find.c: process_top_path() fixed compilation warning.
1346 * find/find.c: process_top_path(): avoid processing this item if
1347 we can't chdir to the basename of the named file.
1349 * lib/Makefile.am: Always build forcefindlib.c
1351 * locate/locate.c: Say 'base name' rather than 'basename' in comments
1353 * find/pred.c, find/find.c: process_top_path(): Proper bugfix for
1354 correct handling of items at depth 0 (i.e. specified on the
1355 command line) - do an extra chdir to ensure that we're in the
1356 directory containing the item before calling process_path().
1357 Hnece also undo the previous 'quick fix' for the same problem
1360 -execdir no longer has to treat anything as special, even at depth 0.
1362 2005-02-03 James Youngman <jay@gnu.org>
1364 * doc/find.texi, find/pred.c: When state.curdepth is 0, our
1365 working directory is not the directory containing the file we are
1368 2005-02-02 James Youngman <jay@gnu.org>
1371 To allow compilation on cygwin, use base_name(), not basename().
1374 2005-02-01 James Youngman <jay@gnu.org>
1376 * ChangeLog: Updated from CVS log.
1378 2005-01-31 James Youngman <jay@gnu.org>
1380 * find/find.c, lib/nextelem.c, lib/nextelem.h, locate/code.c,
1381 locate/frcode.c, locate/testsuite/config/unix.exp,
1382 xargs/testsuite/config/unix.exp, xargs/xargs.c: Updated/corrected
1383 the email address for David MacKenzie, one of the original authors
1386 * doc/Makefile.am: The HTML version of the manual generated for
1387 the GNU project website has each node in a separate file, not each
1388 chapter in a separate file; adjust filenames accordingly
1390 * find/parser.c, find/pred.c, lib/savedirinfo.c:
1391 Removed some unused variables (patch from Dmitry V. Levin)
1394 Patch from Dmitry V. Levin <ldv@altlinux.org>: Add subfs to the list
1395 of filesystems which are likely to be automounted.
1397 * m4/findlib.m4: Corrected typo (pointed out by Dmitry V. Levin).
1399 * find/testsuite/config/unix.exp,
1400 find/testsuite/find.gnu/name-period.xo,
1401 find/testsuite/find.gnu/posix-dflt.xo,
1402 find/testsuite/find.gnu/posix-h.xo,
1403 find/testsuite/find.gnu/posix-l.xo,
1404 find/testsuite/find.gnu/printf.exp,
1405 find/testsuite/find.gnu/printf.xo: Systems differ in the order in
1406 which filenames are returned by readdir. Hence sort the output of
1407 'find' before comparing against the expected-output file. We
1408 therefore also have the lines in the .xo files ready-sorted.
1410 2005-01-30 James Youngman <jay@gnu.org>
1413 Added rules for extra targets that we buld to update the web site.
1415 2005-01-29 James Youngman <jay@gnu.org>
1417 * configure.in: No longer version 4.2.15 - we've changed the manual.
1420 Clarified the txt about adding extra tests with post-processing via
1421 xargs, and recommend -execdir instead for security reasons.
1423 * doc/find.texi: Patch from Karl Berry:
1424 - more entries for the dir file
1425 - use @copying so the copyright ends up in the HTML etc. output.
1426 (This is the only really important change.)
1427 - put @contents after the title page, for conventional toc location.
1428 - use @ifnottex to wrap the Top node instead of @ifinfo, for the sake of
1431 * NEWS, configure.in, po/da.po, po/de.po, po/es.po, po/et.po,
1432 po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po,
1433 po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po,
1434 po/sv.po, po/tr.po: Prepared to release findutils-4.2.15
1436 * ChangeLog: Updated from CVS log.
1438 2005-01-28 James Youngman <jay@gnu.org>
1441 Make --enable-d_type-optimization and --enable-d_type-optimisation
1444 * configure.in: Assume --enable-d_type-optimisation by default
1446 * find/parser.c: Indicate which features are enabled/disabled
1448 * locate/testsuite/config/unix.exp:
1449 Clean up the files left behind by the locate_textonly test
1451 2005-01-27 James Youngman <jay@gnu.org>
1453 * doc/find.texi: Documented --regex.
1455 * NEWS, locate/locate.1, locate/locate.c, locate/testsuite/Makefile.am, locate/testsuite/config/unix.exp, locate/testsuite/locate.gnu/regex1.exp:
1456 Implemented locate --regex - but needs documenting in Texinfo manual.
1458 2005-01-25 James Youngman <jay@gnu.org>
1460 * configure.in: Bumped version no.
1463 Document --mmap and --stdio as being synonyms of -m and -s.
1466 Document --mmap and --stdio as synonyms of -m and -s.
1469 Document -m and -s (both no-ops) in the usage message.
1471 * doc/find.texi, locate/locate.1: Document -m and -s as no-ops.
1473 * ChangeLog: Updated for release of findutils-4.2.14.
1475 * NEWS, configure.in, po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po:
1476 Preparing to release findutils-4.2.14
1478 2005-01-25 James Youngman <jay@gnu.org>
1480 * NEWS, configure.in, po/da.po, po/de.po, po/es.po, po/et.po,
1481 po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po,
1482 po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po,
1483 po/sv.po, po/tr.po: Preparing to release findutils-4.2.14
1485 2005-01-24 James Youngman <jay@gnu.org>
1487 * Makefile.am: Work around the fact that automake-1.7 actually
1488 works, and correctly distributes regex.c; hence dist-hook should
1489 only copy gnulib/lib/regex.c if this has not already been done.
1491 * find/defs.h, find/find.c, find/pred.c,
1492 find/testsuite/Makefile.am,
1493 find/testsuite/find.gnu/printf-symlink.exp,
1494 find/testsuite/find.gnu/printf-symlink.xo,
1495 find/testsuite/find.gnu/xtype-symlink.exp,
1496 find/testsuite/find.gnu/xtype-symlink.xo: Fixes for -xtype and
1497 -printf %Y, which had been the wrong way around.
1499 * NEWS: Avoid including the find.gnu subdirectory in the
1500 distributed file more than once
1503 Move the printing of the statistics into a new function, print_stats()
1505 * find/testsuite/Makefile.am: Avoid including the find.gnu
1506 subdirectory in the distributed file more than once
1509 We need the regex module anyway, to allow compilation on Solaris
1511 2005-01-23 James Youngman <jay@gnu.org>
1514 Invoke gl_INCLUDED_REGEX directly to ensure successful compilation on
1515 systems like Solaris, which lacks those functions in libc (fixes GNU
1516 Savannah bug #11710).
1518 * locate/locate.1: -S is a synonym for --statistics
1520 * doc/find.texi: Documented the new -H, -L and -P options.
1522 * locate/locate.1, locate/locate.c: Implement options -L
1523 (default), -H and -P, which mean the same things as for find,
1524 except for the fact that the default is -L rather than -P
1526 * find/find.1: Corrected definition of the exit status for -quit.
1528 * find/find.c, find/pred.c: If DEBUG_STAT is set, issue a debug
1529 message when we call chdir() so that we can figure out what is
1530 actually being stat()ed
1532 * locate/updatedb.sh:
1533 Removed spurious newline from help message (bug report from Karl
1536 * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot,
1537 po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po,
1538 po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po,
1539 Makefile.am, NEWS, configure.in, find/defs.h, find/find.c,
1540 find/parser.c, find/pred.c, find/tree.c, find/util.c,
1541 import-gnulib.sh, lib/savedirinfo.c: Merged the d_type
1542 optimisation code; this is disabled by default, and can be enabled
1543 with 'configure --enable-d_type-optimisation'
1546 Updated optimisation NEWS item to indicate the effect on runtime.
1548 2005-01-22 James Youngman <jay@gnu.org>
1550 * NEWS, configure.in: Prepare for release of findutils-4.2.12
1552 * ChangeLog: Brought up to date with recent changes.
1554 * Makefile.am, import-gnulib.sh, po/Makefile.in.in, po/Makevars,
1555 po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot,
1556 po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po,
1557 po/pl.po, po/pt_BR.po, po/remove-potcdate.sin, po/ru.po, po/sk.po,
1558 po/sv.po, po/tr.po: Switch to using the gnulib gettext module, to
1559 ensure that 'make distcheck' works with current xgettext,
1562 * find/testsuite/config/unix.exp:
1563 Oops, we do need to clean up after all.
1565 2005-01-21 James Youngman <jay@gnu.org>
1567 * xargs/testsuite/Makefile.am: Added name of missing input file.
1569 * find/testsuite/Makefile.am:
1570 Distribute a few files that we had forgotten about
1572 * xargs/testsuite/Makefile.am: Added some missing files.
1574 * lib/Makefile.am: Also need buildcmd.h.
1576 * xargs/testsuite/Makefile.am: Fixed a typo.
1578 * NEWS: Indicate the d_type performance improvement
1580 2005-01-18 James Youngman <jay@gnu.org>
1582 * lib/savedirinfo.h: Added on d_type_optimisation also
1584 * lib/savedirinfo.c: Added on branch d_type_optimisation also.
1586 * find/pred.c: Added assert that we actually know the file type by
1587 the time pred_type() is called
1589 * find/find.c: Always initialise state.have_stat = false when
1590 starting to work with a new file
1592 2005-01-17 James Youngman <jay@gnu.org>
1594 * ChangeLog: Brought up to date with recent changes.
1596 * NEWS: Documented the changes so far.
1598 * find/testsuite/find.gnu/exec-many-rtn-success.xo:
1599 Expected output for exec-many-rtn-success.exp
1602 Indicate that -quit still ensures that pending commands are invoked
1605 Indicate that -quit still causes partial command lines to be invoked,
1606 but there are some types of fatal error which leave such commands
1609 * find/defs.h, find/find.c, find/pred.c, find/testsuite/Makefile.am, find/testsuite/config/unix.exp:
1610 Fixed savannah bug #11625 Wrong return status for -exec ... \; when command fails; also execute any pending commands when doing -quit
1612 * find/testsuite/find.gnu/exec-many-rtn-failure.exp, find/testsuite/find.gnu/exec-many-rtn-failure.xo, find/testsuite/find.gnu/exec-many-rtn-success.exp, find/testsuite/find.gnu/exec-one-rtn-fail.exp, find/testsuite/find.gnu/exec-one-rtn-fail.xo, find/testsuite/find.gnu/exec-one-rtn-success.exp, find/testsuite/find.gnu/exec-one-rtn-success.xo:
1613 Various test cases for succeeding and failing forms of -exec \; and -exec {} +
1615 * find/pred.c: "-exec ... {} +" always returns "true".
1617 * configure.in, find/defs.h, find/find.c, find/parser.c, find/pred.c, find/tree.c, find/util.c:
1618 Implemented d_type optimisation but not working correctly, so currently disabled
1620 * lib/savedirinfo.h, lib/savedirinfo.c:
1621 Initial implementation (temporarily disabled).
1623 * lib/Makefile.am: Resolved merge conflict.
1626 Make sure nextelem.h is included in the list of sources.
1628 * find/parser.c, lib/nextelem.c, lib/nextelem.h, locate/locate.c:
1629 Use prototypes for next_element() to make sure it is called correctly.
1631 2005-01-16 James Youngman <jay@gnu.org>
1633 * find/find.c, find/pred.c:
1634 When completing incomplete multiple execs, use 'eval_tree' not 'predicates'
1637 Oops, initialise state->cmd_initial_argv_chars to zero.
1640 Document the way that -execdir and -okdir will refuse to wqork if ">"
1641 is on $PATH. Also document -okdir in the manpage.
1644 -execdir and -okdir are insecure if $PATH includes the current
1645 directory, and so they refuse to work if the user has done that.
1648 Oops; for -exec ... {} +, pass arguments to bc_push_arg() in the right
1649 order. Problem spotted by Geoff Clare.
1651 * TODO: Removed items which have now been done.
1653 * lib/buildcmd.c: Tidied up formatting of arg list for bc_do_insert
1655 2005-01-15 James Youngman <jay@gnu.org>
1657 * find/testsuite/find.gnu/printf.exp, find/testsuite/find.gnu/printf.xo:
1658 Added extra tests for more printf formats; patch by Andreas Metzler
1661 Ensure that the new long options have a relevang short option too.
1662 Also bring usage message into line with the options actually
1663 supported. Thanks to Bas van Gompel for noticing this defect.
1666 Escape "-" in SYNOPSIS. Thanks to Bas van Gompel for noticing this
1669 * ChangeLog: Fixed typos.
1672 Documented -execdir, and the "+" variants of -exec and -execdir.
1674 * find/find.1: Documented -execdir.
1677 Updated to bring into line with bc_*() interface changes
1679 * ChangeLog: Updated with recent changes.
1681 * find/defs.h, find/parser.c, find/pred.c, lib/buildcmd.c, lib/buildcmd.h:
1682 Implemented -execdir and -okdir
1684 * find/defs.h, find/find.c, find/fstype.c, find/parser.c, find/pred.c, lib/buildcmd.c, lib/buildcmd.h, xargs/xargs.c:
1685 First working version of -exec ...+
1687 2005-01-09 James Youngman <jay@gnu.org>
1689 * find/defs.h, find/find.c, find/parser.c, find/pred.c, lib/buildcmd.c, lib/buildcmd.h, xargs/xargs.c:
1690 Initial implementation of -exec ..{} +, but currently disabled since not yet working
1692 2005-01-08 James Youngman <jay@gnu.org>
1694 * find/find.c: Fixed typo in comment.
1696 * find/defs.h, find/find.c, find/parser.c, find/pred.c:
1697 We now understand but do not implement -execdir (a *BSD invention, and a very useful security enhancement) and -okdir (the obvious companion to it)
1699 * locate/bigram.c, locate/code.c, locate/frcode.c, locate/locate.c, xargs/xargs.c:
1700 The GNU coding standard requires a space between the function name and
1701 its parenthesised argument list.
1704 Understand the -exec ... {} \+ construction (for multiple
1705 replacement). No support yet.
1708 Indicate that empty elements in the dbpath are treated as synonyms for
1709 the default database.
1712 Support empty elements in the dbpath as synonyms for the default
1713 database. These colons can be leading, trailing or in the middle of
1714 the string. We no longer com,plain if the user does this.
1717 If curdir_ok is 0 and an element is empty, return "" instead of NULL
1718 so that the caller knows to keep calling us.
1720 * find/find.c, find/pred.c, import-gnulib.sh, locate/bigram.c, locate/code.c, locate/frcode.c, locate/locate.c, xargs/xargs.c:
1721 Savannah bug 11517: find, xargs, locate, etc. should not hide write failures; patch from Jim Meyering
1723 * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po:
1724 changed .pot creation date
1726 * THANKS, AUTHORS: Take into account the FSF copyright-assignments list
1729 If -quit is used, the exit value can be nonzero if errors have occurred.
1732 Removed incorrect comment about -H, -P and -follow in HISTORY.
1734 2005-01-07 James Youngman <jay@gnu.org>
1736 * lib/Makefile.am, lib/buildcmd.c, lib/buildcmd.h, xargs/xargs.c:
1737 Refactored xargs to use an external library function from the new file buildcmd.c
1739 * configure.in: no longer the same as the released 4.2.11 version
1741 2005-01-06 James Youngman <jay@gnu.org>
1743 * xargs/testsuite/inputs/lines.xi, xargs/testsuite/xargs.posix/l2.exp, xargs/testsuite/Makefile.am:
1744 Tests for the -L option
1746 * xargs/testsuite/config/unix.exp: When a test fails, show the diffs
1748 * xargs/testsuite/xargs.posix/l2.exp, xargs/testsuite/xargs.posix/l2.xo:
1749 tests for the -l option
1751 * xargs/testsuite/Makefile.am: Added extra test files
1753 * xargs/testsuite/xargs.sysv/trace.exp, xargs/testsuite/xargs.sysv/trace.xe, xargs/testsuite/xargs.sysv/trace.xo:
1754 Added tests for the -t option
1756 * xargs/testsuite/config/unix.exp, xargs/testsuite/inputs/foobar.xi, xargs/testsuite/xargs.gnu/r.exp, xargs/testsuite/xargs.gnu/r.xo, xargs/xargs.1:
1757 Use a blanks-only input file for cases where there is supposed to be no output
1759 * xargs/testsuite/inputs/blank.xi: Initial version.
1762 Corrected a typo; also indicate that it's impossible to use xargs
1763 securely due to the race condition.
1765 2005-01-05 James Youngman <jay@gnu.org>
1768 Fixed Savannah bug 11495: fallthrough from -printf format processing
1769 from 'n' case to 'd' case.
1771 2005-01-03 James Youngman <jay@gnu.org>
1774 Oops. Had duplicated an entire section. Fortunately this was after
1775 @bye, so there was no adverse effect.
1779 * doc/find.texi, locate/locate.1: document locate -S
1781 * configure.in, doc/find.texi, locate/locate.1, locate/locate.c:
1782 Support locate -b as a synonym for locate --basename
1784 * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po:
1787 * find/testsuite/config/unix.exp:
1788 Clean up (delete) find.out at at the end of the test.
1790 * NEWS, doc/find.texi, find/defs.h, find/find.1, find/find.c, find/parser.c, find/pred.c:
1791 Implemented the -samefile test for find
1793 2005-01-02 James Youngman <jay@gnu.org>
1795 * ChangeLog: Updated with recent changes.
1798 Bas van Gompel: two-line patch to locate.c to make locate's -i and -w
1799 options work if -e is in use.
1801 * THANKS: Added Bas van Gompel.
1804 Bas van Gompel: (visit_exists) when testing for the existence of the
1805 file, check the real filename [printname], not the case-converted
1806 filename [testname]. Really these argument names are badly chosen.
1808 * find/find.1, doc/find.texi:
1809 Improved the documentation for -perm, with plenty of examples,
1810 following a comment by Dan Jacobson that the comment "Symbolic modes
1811 use mode 0 as a point of departure" is baffling and unhelpful.
1814 Suggestion and patch from Bas van Gompel: (new_locate): Fix display of
1815 negative compression ratios.
1817 2004-12-31 James Youngman <jay@gnu.org>
1819 * NEWS: Brought up to date with recent changes
1822 Don't need to nest the "race conditions with..." sections so deeply.
1824 * doc/find.texi: Corrected some spelling errors.
1826 * doc/find.texi: Added new "Security Considerations" chapter.
1828 2004-12-23 James Youngman <jay@gnu.org>
1831 Applied bugfixes from Bas van Gompel <patch-findutils.buzz@bavag.tmfweb.nl>.
1832 (lc_strcpy): Zero-terminate result.
1833 (add_visitor): Update lastinspector.
1834 (visit_substring_match_casefold): fix off-by-one error.
1835 (new_locate): Move visit_exists down to improve performance.
1836 (new_locate): Don't fold case when getting stats.
1838 2004-12-19 James Youngman <jay@gnu.org>
1841 Indicate that "cd /; find tmp -wholename /tmp" will never match anything.
1843 * doc/find.texi: Documented locate --statistics.
1845 * locate/locate.1: Documented the --statistics option.
1847 * locate/locate.c: Added support for the -S option.
1849 2004-12-12 James Youngman <jay@gnu.org>
1851 * NEWS: Added a summary of the changes so far.
1853 * find/tree.c: Made some of the error messages more self-explanatory
1855 * find/pred.c: Print pointers with %p, not %x.
1857 * find/find.c: Moved option data into struct options.
1859 * find/find.1: clarifications
1861 * find/testsuite/find.gnu/comma.exp:
1862 Limit the amount of searching with maxdepth.
1864 * doc/find.texi: clearer description of how -prune works
1866 * ChangeLog: Removed duplicate entry.
1868 * configure.in, find/defs.h, find/find.c, find/fstype.c, find/parser.c, find/pred.c, find/tree.c, find/util.c:
1869 Separated ariables representing current state from variable representing option information
1871 2004-12-11 James Youngman <jay@gnu.org>
1873 * find/parser.c: Readability improvement to the usage message.
1875 * find/find.c: Oops. Fixed unmatched #endif.
1877 * find/testsuite/find.gnu/printf.exp, find/testsuite/find.gnu/printf.xo, THANKS, configure.in, find/testsuite/Makefile.am, find/testsuite/config/unix.exp:
1878 Fixed Savannah bug #11280
1881 Remember to set path_length and curdepth in process_top_path().
1883 2004-12-07 James Youngman <jay@gnu.org>
1885 * find/fstype.c: Use xstat() not stat() to examine things.
1887 * find/find.c: Explain why #ifdef EOVERFLOW.
1889 * find/find.c: EOVERFLOW is not defined on UNICOS.
1891 * NEWS: Corrected typo.
1893 2004-12-06 James Youngman <jay@gnu.org>
1895 * ChangeLog: Brought up to date.
1897 * NEWS, configure.in: releasing 4.2.10
1899 * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po:
1902 * ChangeLog: Updated prior to release of finsutils-4.2.10.
1904 * import-gnulib.sh, find/fstype.c:
1905 Use gnulib's mountlist module instead of grokking it ourselves.
1908 Removed all the out-of-date cruft for grokking getmntent().
1911 Added the -I and -L options; also -E takes an argument which is not optional.
1913 2004-12-05 James Youngman <jay@gnu.org>
1915 * README, configure.in, find/defs.h, find/find.c, find/parser.c, find/pred.c, find/tree.c:
1916 Allow debug output to be turned on or off by saying --enable-debug on the configure command line
1919 Removed disparaging (it is now, it probably wasn't then) comment about
1920 the production-readiness of Automake.
1922 * README: Qualify remarks about POSIX compliance.
1924 * NEWS, configure.in: Preparation for release 4.2.9
1926 * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po:
1929 * ChangeLog: Brought up to date.
1932 Avoid duplicate error message when we cannot chdir() into a subdirectory.
1934 * THANKS: Added recent thankees.
1937 Brought up to date with respect to the current set of fixed bugs.
1939 * NEWS, xargs/xargs.1, xargs/xargs.c:
1940 Implemented POSIX options -L, -I and -E
1942 2004-12-03 James Youngman <jay@gnu.org>
1945 -xdev is an option, not a test. Fixes Savannah bug 11192.
1947 * find/find.1, xargs/xargs.1:
1948 Escape dashes with a backslash (for fix Savannah bug 11189).
1950 2004-11-27 James Youngman <jay@gnu.org>
1953 More use of safely_chdir(). Also bugfix: -L should imply -noleaf. Be more careful about when xstat should fall back on lstat() when stat() fails.
1955 * find/find.1: "necessary" only has one "C".
1958 If stat() fails with ELOOP, we issue a diagnostic message.
1960 2004-11-26 James Youngman <jay@gnu.org>
1962 * find/find.c: Removed some unused code.
1964 * Makefile.am: Don't do anything in the 'intl' subdirectory
1967 Enhanced safely_chdir() to the point where the test suite passes, and report infinite loops in the directory hierarchy
1970 belt and braces; ensure that SYMLINK_NEVER_DEREF has value zero
1973 Describe our strategy for detecting and reporting infinite loops
1975 2004-11-24 James Youngman <jay@gnu.org>
1978 Updated the discussion of th error messages for findutils-4.2.8.
1980 * configure.in: Next version will be 4.2.9...
1983 Don't issue a warning if we notice the mounting of a filesystem that's
1984 likely just to be an automounter.
1986 * doc/find.texi, find/find.1:
1987 Explain how rounding is performed for -atime and friends.
1990 Once we collect enough arguments (for the value specified by the -n
1991 option) to do an exec(), do it immediaely instead of waiting for the
1992 next one to arrive. This fixes Savannah bug #7340.
1994 * ChangeLog, configure.in, NEWS: Prepare to release 4.2.8.
1996 * NEWS: Updates for 4.2.8.
1998 * configure.in: check for sys/types.h
2001 If wd_sanity_check() discovers that the mount table has changed, remember the updated device number and inode so that we also consider these to be valid on the way back up.
2004 Declarations of xmalloc() and friends belong in xalloc.h, not in defs.h
2006 * find/parser.c: avoid signed/unsigned warning, and #include xalloc.h
2009 Changed to alloc get_mounted_devices() to compile on Solaris
2012 Automake requires GNU m4, so point out that the reader needs that.
2014 * find/defs.h, find/find.c, find/fstype.c:
2015 When wd_sanity_check() fails, enumerate the mounted devices, rather than the mounted filesystem names
2017 * NEWS: prepare for 4.2.8
2020 Look for some Solaris headers which are used by get_mounted_devices()
2022 * lib/Makefile.am: don't build savedirtypes yet
2024 * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po:
2028 Avoid suprious output of the test data when the tests fail.
2030 2004-11-21 James Youngman <jay@gnu.org>
2032 * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po:
2033 Messages changed again
2035 * ChangeLog, configure.in: Preparing to release 4.2.7.
2037 * NEWS: Updated for release of 4.2.7.
2039 * import-gnulib.sh: Also need canonicalize module.
2042 When checking to see if a filesystem has changed state, use an
2046 No need to pause to allow James to view his handiwork, it (allegedly)
2050 Oops. Check for setlocale() to re-enable the i18n support which was
2051 accidentally disabled in 4.2.5.
2054 Check to see if the new directory is a transitioned mount point by
2055 using its ABSOLUTE name, if we can figure it out.
2058 Added guidance on some of the error messages. Not the most common
2059 ones, but the ones where the user might most benefit from some handy
2060 hints or an explanation of what is going on.
2063 Actually emit an error message if we fail to stat a symlink (for
2064 reasons other than nonexistence of the link and infinite loop).
2066 * doc/texinfo.tex: Updated texinfo.tex
2068 * NEWS, configure.in, find/find.c, find/fstype.c:
2069 Enable the 'Warning: filesystem XXX has recently been mounted' check on Solaris, which prevents it exiting fatally when traversing an automount mount point
2071 * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po:
2072 messages changed again
2074 * NEWS: Implemented xargs --arg-file.
2076 * doc/find.texi, xargs/xargs.1, xargs/xargs.c, NEWS:
2077 Implemented xargs --arg-file
2080 Where a filesystem was recently (un)mounted, try togive its full name
2083 Try to avoid requesting -lsun if we don't seem to need it (e.g. on
2084 UNICOS where it is not present and trying to link against it produces
2087 * find/defs.h, lib/modetype.h: Guard against multiple inclusion
2090 We now need <mntent.h> even if we are not using getmntent() to figure
2091 out the type of a filesystem, because wd_sanity_check() needs to
2092 enumerate the system mount points.
2094 * configure.in: Next release will be 4.2.7.
2097 get_mounted_filesystems() should use getmntent() if that function is
2098 present, rather than just if configure didn't find anything better for
2099 filesystem_type_uncached() to use than that.
2102 If -delete is the only action on a file, don't assume the default
2105 * ChangeLog, configure.in, po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po:
2106 Preparation to release findutils-4.2.6.
2108 * find/Makefile.am, xargs/Makefile.am:
2109 Enable checking of support for --version and --help
2111 * locate/Makefile.am:
2112 Con't check command-line options for frcode, code or bigram
2114 * locate/code.c: Support --version and --help.
2116 * ChangeLog: *** empty log message ***
2118 * find/defs.h, find/find.c, find/fstype.c, lib/Makefile.am, lib/extendbuf.c, lib/extendbuf.h, NEWS:
2119 Avoid fatal error if automount mounts a filesystem on a directory because we chdir()ed into it
2121 * configure.in: Next release will be 4.2.6.
2124 Indicate that the '-' flag does work for most fields. Also provide
2125 an example of using the comma operator to traverse the filesystem just
2126 once but search for more than one thing.
2128 * doc/find.texi: Indicate that the '-' flag does work for most fields.
2130 2004-11-19 James Youngman <jay@gnu.org>
2132 * configure.in: releaseing findutils-4.2.5
2134 * find/testsuite/Makefile.am, locate/testsuite/Makefile.am, xargs/testsuite/Makefile.am:
2135 If a directory has no Makefile.am, omit it from the parent's DIST_SUBDIRS - automake-1.9 requires this
2137 * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po:
2138 updated by make distcheck
2140 * ChangeLog, NEWS: Updated for release 4.2.5.
2142 * find/find.1, doc/find.texi:
2143 Tell the reader that format flags may not work as they expect.
2146 Use the correct name for the macro gl_AC_TYPE_LONG_LONG (not
2147 jm_AC_TYPE_LONG_LONG).
2149 2004-11-15 James Youngman <jay@gnu.org>
2152 Avoid test -e because not all systems are POSIX-compliant (bug
2153 #11005). Also don't need regex module any more if we're not building
2156 * Makefile.am, configure.in:
2157 These days gnulib likes to include 'libintl.h' which our very old intl/ directory lacks. For the moment, disable use of the internal intl/ directory
2160 Use @ref not @xref for a reference at the beginning of a sentence.
2163 Make sure gnulib.lib is on the #include path (Savannah bug #11002)
2166 Use base_name instead of basename - fixes Savannah bug 11003.
2168 * configure.in, find/defs.h, find/find.c, find/parser.c, find/pred.c, locate/bigram.c, locate/locate.c:
2169 Don't need banner to emphasise the location of the call to jy_SORTZ
2171 2004-11-12 James Youngman <jay@gnu.org>
2173 * NEWS, doc/find.texi, find/defs.h, find/find.1, find/find.c, find/parser.c, find/pred.c, find/testsuite/find.gnu/posix-dflt.exp, find/testsuite/find.gnu/posix-dflt.xo, find/testsuite/find.gnu/posix-h.exp, find/testsuite/find.gnu/posix-h.xo, find/testsuite/find.gnu/posix-l.exp, find/testsuite/find.gnu/posix-l.xo, find/util.c:
2174 Implemented BSD option -P and also the correct defautl behaviour of find with respect to symlinks if neither -L nor -H is specified [i.e. same as -P]
2176 2004-11-11 James Youngman <jay@gnu.org>
2178 * NEWS, doc/find.texi, find/defs.h, find/find.1, find/find.c, find/parser.c:
2179 Implemented -H and -L options.
2181 * find/util.c: Added in the -H and -L options on the usage message.
2183 2004-11-10 James Youngman <jay@gnu.org>
2185 * doc/find.texi, find/find.1, find/parser.c, find/pred.c:
2186 Implemented %M and %A+ format specifiers
2188 * doc/find.texi, find/find.1, find/parser.c, find/pred.c:
2189 Documented the fact that only %d and %m format specifiers honour the various formatting flags
2192 Get the right number of bytes in a Kilobyte (hint: it's not 1048; that
2193 was a typo, honest :)
2195 * po/pl.po: Applied Polish translations
2197 2004-11-08 James Youngman <jay@gnu.org>
2199 * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po, po/sv.po, po/tr.po:
2200 distcheck changed the po files again
2202 * locate/Makefile.am:
2203 Make install-data-hook honour the setting of DESTDIR so that "make
2204 DESTDIR=/tmp/foo install" works and puts localstater in the right
2207 * configure.in: We're now working on findutils-4.2.5.
2209 * doc/find.texi, xargs/xargs.1:
2210 Point out that xargs -i only splits input items at newlines
2212 * ChangeLog: Indicate that we released 4.2.4.
2214 * ChangeLog: Updated for release 4.2.4
2216 * NEWS, configure.in: Prepare for release of 4.2.4.
2218 * NEWS: Brought up to date with latest changes.
2220 * NEWS, doc/find.texi, find/defs.h, find/find.1, find/find.c, find/parser.c, po/da.po, po/de.po, po/es.po, po/findutils.pot, po/gl.po, po/id.po, po/ko.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sv.po:
2221 Turn warning messages off by default if stdin is not a tty; allow these to be controlled explicitly by options -warn and -nowarn
2223 * po/et.po, po/it.po: Updated translation files
2225 * po/sk.po: New translation file
2227 * po/fr.po, po/nl.po, po/tr.po: Updated translation files
2229 * configure.in: Added Slovak (sk) language.
2232 Enforcing a lower limit on the value specified by -s makes the test
2233 suite fail. Removed that lower limit.
2235 * locate/Makefile.am: Oops, multilocate doesn't exist yet.
2237 * NEWS: *** empty log message ***
2239 * doc/find.texi, locate/updatedb.1, locate/updatedb.sh:
2240 Added option --findoptions to updatedb
2242 * locate/Makefile.am, locate/locatedb.5, locate/updatedb.1, xargs/xargs.1:
2243 Fixed section numbers in manpage titles and cross-references
2245 * NEWS, doc/find.texi, xargs/xargs.1, xargs/xargs.c:
2246 Increased the default argument length and improved POSIX compliance of the handling of out-of-range values for the -s option
2248 2004-11-07 James Youngman <jay@gnu.org>
2251 Added in the extra files we need to distribute, nullsort.m4
2252 order-bad.bin order-good.bin
2254 * doc/find.texi: Documented locate's --limit option
2256 * locate/locate.1, locate/locate.c:
2257 Implmented --limit and corrected the implementation of the -i option.
2259 2004-11-06 James Youngman <jay@gnu.org>
2261 * NEWS, doc/find.texi, locate/locate.1:
2262 Documented --wholename and --basename and updated the NEWS file
2265 Give the autogen commands in a form that you can usefully cut and paste into a shell
2267 * NEWS: Options --null and --count) for locate
2270 Don't return '.' for an empty path element, because the path we are splitting may not be intended to contain directories
2272 * configure.in: we're working on findutils-4.2.4 now
2274 * locate/Makefile.am: Substitute @SORT_SUPPORTS_Z@
2277 Documented new locate option --null and newline handling
2279 * locate/locate.1, locate/locate.c:
2280 New locate options --null, --wholename, --basename, --count
2282 * locate/frcode.c, locate/updatedb.1, locate/updatedb.sh:
2283 correctly handle newlines in the file names
2285 * configure.in: Determine if sort -z works
2287 * m4/nullsort.m4, m4/order-bad.bin, m4/order-good.bin:
2288 jy_SORTZ: a macro to determine if the system has a sort command with a working -z option
2290 2004-11-01 James Youngman <jay@gnu.org>
2292 * NEWS: Fixed "find -printf '%H\n'".
2295 Avoid segfault if -printf %H is used where the matched file was the default, unspecified starting point, the current directory
2297 2004-10-31 James Youngman <jay@gnu.org>
2299 * find/find.1, find/parser.c: NetBSD also supports -d.
2301 * find/find.1, doc/find.texi:
2302 Documented the behaviour of -daystart and -follow in more detail
2304 * find/parser.c: Corrected the usage message.
2307 When deciding whether to issue a warning about options following
2308 non-options, ignore any options whose position affects the tests
2309 (i.e. -daystart and -follow).
2311 * find/parser.c: -daystart is a positional option like -follow.
2314 Issue a warning message if an option is specified after a test or an
2315 action (because the user might have believed that the behaviour of the
2316 option is in some way conditional on the preceding tests).
2318 * locate/updatedb.sh:
2319 Oops; removed some test code that I shouldn't have checked in.
2321 * locate/updatedb.sh:
2322 Indicate that the old locate database format will shortly be unsupported.
2325 Use @direntry instead of hard-coding START-INFO-DIR-ENTRY inside @ifinfo.
2327 * locate/updatedb.1: Updated default location of locatedb file.
2330 Updated to give correct FTP location and to not talk about "test"
2331 versions of automake, which are no longer required.
2333 * locate/updatedb.sh:
2334 Incorporated the default list of filesystems to avoid from the Debian
2335 package. Also added /afs and /sfs to the default pruned paths.
2337 * configure.in: Released findutils 4.2.3
2339 * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sv.po, po/tr.po:
2340 did make distcheck, which updates these files
2342 * find/defs.h, find/fstype.c:
2343 Use const qualifier in arguments to filesystem_type() to allow callers with const variables to use them
2345 * ChangeLog: Updated.
2347 * NEWS: Added new news.
2350 Extra diagnositcs for the case where we have the error "%s changed
2351 during execution of %s" - that is when we chdir back to the parent
2352 directory only to find that it has changed.
2354 2004-10-30 James Youngman <jay@gnu.org>
2356 * .cvsignore, NEWS, doc/find.texi, find/defs.h, find/find.1, find/parser.c, find/pred.c:
2357 Implemented the -quit action
2359 * NEWS, doc/find.texi, find/find.1, find/parser.c, find/pred.c:
2360 Refactored time handling routines in preparation for support of absolute timestamp comparison predicates
2363 Applied Savannah patch #2952 ("getline off-by-one bugfix").
2365 * NEWS, doc/find.texi, find/defs.h, find/find.1, find/parser.c, find/pred.c:
2366 Added -delete action (Savannah patch #3454 with additions)
2369 Applied Savannah patch #2692 (allowing get_short to process negative integers).
2372 If we are iossuing an error message because $FIND_BLOCK_SIZE is set,
2373 ignore the setting of errno.
2375 * find/parser.c: More fixes for pedantic compiler warnings
2377 * NEWS, find/parser.c, find/tree.c: Eliminated some compiler warnings
2379 * find/find.c, find/parser.c, find/pred.c:
2380 Various fixes for compiler warninga sbout unreachable code or unused function arguments
2382 * intl/plural.y: Silence compiler warning about unused argument.
2384 * locate/testsuite/Makefile.am:
2385 Subdirectory "inputs" does not exist, so remove it from DIST_SUBDIRS.
2388 Corrected the explanation of why we have to use no parentheses around
2389 the String argument to the N_ macro in its expansion.
2391 * configure.in: Nextr release is 4.2.3.
2393 * configure.in: IOndicate this is no longer the pristine release.
2396 Oops, comments for release 4.2.0 should have said 20480 bytes, not 2480.
2399 The -ls predicate should not truncate usernames. Fixes Savannah bug #10800.
2401 * find/fstype.c, locate/locate.c:
2402 Fixes for Savannah bug #3727 (Intel icc compilation errors).
2404 2004-10-25 James Youngman <jay@gnu.org>
2406 * doc/find.texi, find/find.1, find/parser.c, find/pred.c:
2407 Support -printf %D, which prints the device number of the containing filesystem
2409 * locate/updatedb.sh:
2410 Avoid confusion between James Woods and James Youngman, by using the
2411 disambiguating surname.
2413 * find/parser.c: Use RE_ICASE instead of re->translate.
2415 * configure.in, find/parser.c, find/pred.c, xargs/xargs.c:
2416 No need to #define _GNU_SOURCE if we use gl_INIT.
2418 2004-10-24 James Youngman <jay@gnu.org>
2420 * ChangeLog: Prepared to release findutils-4.2.2.
2422 * ChangeLog, NEWS, po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sv.po, po/tr.po:
2423 Updates prior to release of 4.2.2
2425 * NEWS: Updated with news for findutils-4.2.2.
2427 * find/testsuite/config/unix.exp, lib/forcefindlib.c, lib/listfile.c, lib/modetype.h, lib/nextelem.c, locate/bigram.c, locate/code.c, locate/frcode.c, locate/locate.c, locate/locatedb.h, locate/testsuite/config/unix.exp, locate/updatedb.sh, xargs/testsuite/config/unix.exp, xargs/xargs.c, NEWS, find/defs.h, find/find.c, find/fstype.c, find/parser.c, find/pred.c, find/tree.c, find/util.c, import-gnulib.sh:
2428 Corrected typo in the address of the FSF office
2430 * lib/strspn.c: Updated FSF address.
2432 * m4/.cvsignore: 'cvs status' should ignore Makefile.in
2434 * m4/Makefile.am, Makefile.am, NEWS, README-CVS, configure.in, doc/texinfo.tex, find/defs.h, find/fstype.c, find/parser.c, find/pred.c, import-gnulib.sh, intl/bindtextdom.c, intl/dcgettext.c, intl/dcigettext.c, intl/dcngettext.c, intl/dgettext.c, intl/dngettext.c, intl/explodename.c, intl/finddomain.c, intl/gettext.c, intl/intl-compat.c, intl/l10nflist.c, intl/loadmsgcat.c, intl/localcharset.c, intl/localealias.c, intl/ngettext.c, intl/plural.y, intl/textdomain.c, lib/Makefile.am, lib/forcefindlib.c, lib/listfile.c, lib/nextelem.c, lib/strspn.c, lib/waitpid.c, locate/bigram.c, locate/code.c, locate/frcode.c, locate/locate.c, m4/findlib.m4, po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sv.po, po/tr.po, xargs/xargs.c:
2435 Use gnulib-tool --import to import the gnulib code, rather than the odd way we were doing it before
2437 * find/find.c, find/fstype.c, find/parser.c, find/pred.c, find/tree.c, find/util.c, locate/code.c, locate/locate.c, xargs/xargs.c:
2438 Work round an apparent compiler bug in HP-UX 11.23 for
2442 Work around what appears to be a C compiler bug in HP-UX 11.23 for
2445 * INSTALL, depcomp, install-sh, missing, mkinstalldirs:
2446 Updated from automake
2448 * locate/bigram.c, locate/code.c, locate/frcode.c, locate/locate.c, xargs/xargs.c, find/find.c:
2449 Avoid use of exit() within main, to silence warnings about unreachable code
2451 2004-10-22 James Youngman <jay@gnu.org>
2453 * doc/find.texi: Syntax corrections.
2455 * doc/find.texi: Indicate that "-exec {}+" is not yet supported.
2457 * find/find.1: Indicate that "{}+" is not yet supported.
2459 * find/testsuite/find.gnu/name-period.xo, find/testsuite/find.gnu/name-period.exp, find/find.1, doc/find.texi:
2460 The -name predicate must allow '*' to match '.foo' as demanded by IEEE
2461 Std 1003.2-1992 Interpretation #126.
2464 Remove use of FNM_PERIOD for -name as demanded by IEEE Std 1003.2-1992
2467 * find/parser.c: Fix for compilation (on AIX 4.3) with GCC 2.x.
2470 Changed the erorr message issued when there is an unmatched quote to
2471 point out that the user might have wanted to use the -0 option instead.
2473 2004-10-17 James Youngman <jay@gnu.org>
2476 Define intmax_t if it is not already defined - allows parser.c to compile on AIX 4.3
2479 Adjust version number to indicate that this s/w has moved on since the
2482 * configure.in: preparing to release 4.2.1
2484 * ChangeLog: updated with current changes
2486 * README-CVS: Updated to go with newer version of gnulib.
2488 * po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sv.po, po/tr.po:
2489 preparation for release
2491 * NEWS: Mention the changes to "trap".
2493 * NEWS: Brought up to date.
2496 Use xalloc-die module from gnulib, since that has now been split out
2499 Check fnmatch() when other predicates that rely on fnmatch() are used.
2501 * find/parser.c: bug #10701: find needs fnmatch sanitycheck on startup
2503 2004-10-16 James Youngman <jay@gnu.org>
2506 Switch to requirement for GNU fnmatch because it supports FNM_CASEFOLD.
2508 * locate/updatedb.sh:
2509 Bug #9465: use of signal numbers for 'trap' is deprecated. Should use
2511 http://www.opengroup.org/onlinepubs/009695399/utilities/trap.html,
2512 which indicates that support for signal numbers is optional, while
2513 support for signal names is mandatory.
2516 Indicate that this is the CVS version (once again) now that findutils
2517 4.2.0 has been released.
2519 * ChangeLog, configure.in, po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sv.po, po/tr.po:
2520 findutils 4.1.20 check-in for tagging
2522 2004-10-02 James Youngman <jay@gnu.org>
2524 * po/Makefile.in.in:
2525 Search in $(top_srcdir) for mkinstalldirs, since that's where we keep it.
2527 * NEWS: Brought up to date, organised more clearly, and tidied up.
2529 * NEWS: brought up to date with recent changes
2531 * locate/testsuite/config/unix.exp, locate/testsuite/locate.gnu/ignore_case1.exp, locate/testsuite/locate.gnu/ignore_case3.exp, locate/updatedb.sh:
2532 Added new option --changecwd to updatedb so that the 'cd /' which it does can be compatible with the requirements of the test suite. Specifically, the test suite relies on being able to use relative pathnames
2535 Fixed usage of human_readable() in '%k' format specifier to fix a bug
2536 reported by Dmitry V. Levin (arguments to human_readable() were
2537 specified in the wrong order, which resulted in a floating-point
2540 2004-08-08 James Youngman <jay@gnu.org>
2542 * locate/updatedb.sh:
2543 cd to / to avoid inability to examine the current directory if we're
2544 invoked via cron (and hence in root's home directory for example).
2546 * doc/find.texi, find/find.1:
2547 Deprecate -path and -ipath in favour of -wholename and -iwholename
2550 As per RMS's suggestion, deprecate -path and -ipath in favour of
2551 -wholename and -iwholename.
2554 Fixed Savannah bug #9923, in which get_short() returns large positive
2555 ints when it should be returning negative shorts.
2558 Applied documentation improvements suggested by Dan Jacobson
2559 <jidanni@jidanni.org>.
2562 Don't check size_of_environment against arg_max since that causes the
2565 * xargs/xargs.1, xargs/xargs.c: Better documentation for the -i option
2567 2004-05-03 James Youngman <jay@gnu.org>
2570 document the various suffixes for -size and also the new
2571 option -ignore_readdir_race
2574 Fixes Savannah bug #8623 (failure to check consistency of data
2575 read from locate database)
2577 * locate/updatedb.sh:
2578 Resolves Savannah bug 4380, that updatedb generates an empty
2579 database if one of the commands fails
2581 * NEWS: Talk about -ignore_readdir_race
2584 Documented -ignore_readdir_race and -noignore_readdir_race
2587 -ignore_readdir_race should have no effect if the reason for the
2588 failure of stat(2) was anything other than ENOENT.
2590 * find/defs.h, find/find.c, find/parser.c:
2591 Fixed Savannah bug 4391 (readdir race condition leading to
2592 spurious error messages)
2594 2004-04-24 James Youngman <jay@gnu.org>
2596 * README-CVS: Corrected the instructions for getting gnulib via CVS.
2598 2004-04-13 James Youngman <jay@gnu.org>
2601 Actioned Savannah bug #8558 (find complains when it tries to recurse
2602 into directories that it had removed).
2604 2004-03-13 James Youngman <jay@gnu.org>
2606 * ChangeLog: Updated from checkin comments.
2609 Oops, there is no access to the predicate name table if DEBUG is
2613 Detect arithmetic overflow (poorly) in insert_time(), which diagnoses
2614 the failure to handle large arguments to -mtime. The existing code
2615 does careful computation and then bungs the value into a time_t, which
2616 ruins all our careful effort. The new code is not a great
2617 improvement. We just check the result to detect overflow, rather than
2618 actually avoiding the overflow.
2621 Fixed Debian bug #185202 by checking for any trailing predicates after
2622 the top-level invocation of get_expr() has done its work.
2624 * locate/locate.1, xargs/xargs.1:
2625 Fixed Debian bug 175372, inappropriate 'L' suffixes on manual
2626 page section indicators
2629 Removed "L" suffixes from manual page section indicators, to fix
2632 * debian/updatedb.conf:
2633 Updated with list of filesystems from current Debian release. This
2634 includes devfs, for example.
2637 Modified documentation of "-s" option to take into account the fix for
2641 Fixed Debian bug #176201, "xargs enviroment size limited to 20k", by
2642 reading a patch offered by Bob Prolux and implementing something
2643 substantially similar myself.
2645 2004-01-03 James Youngman <jay@gnu.org>
2648 Indicate that prep_child_for_exec() fixes Savannah bug #3992.
2651 Attach the stdin of xargs' child process to /dev/null so that if it
2652 tries to read from its stdin it doesn't consume any of the list of
2653 files that xargs is trying to use.
2656 Documented that the -regex option follows Gnulib's re_match()
2659 * NEWS, locate/locate.c: Applied Savannah patch 2108
2661 * xargs/xargs.c: Applied Savannah patch 1500
2663 * find/find.1, doc/find.texi:
2664 Improved the documentation for the %k and %b format specifiers to
2665 -printf (Savannah bug #5034). Also pointed out that this handling is
2666 different to that used by the "b" and "k" suffixes with "-size".
2668 * find/find.1: Improved the documentation for %k (Savannah bug #5034).
2671 Improved the documentation for -print0 in the manpage, fixing Debian
2674 * README-CVS, find/pred.c, lib/listfile.c:
2675 Brought up-to-date with change in gnulib's human.c - we no longer
2676 use human_readable_inexact(), because it is no longer provided.
2678 2003-08-08 James Youngman <jay@gnu.org>
2681 Documented the fact that -printf also supports the '\0' escape code.
2682 Added "STANDARDS CONFORMANCE" section.
2684 2003-08-02 James Youngman <jay@gnu.org>
2687 Explain that braces are not special when performing filename matching
2691 added example of the use of -exec to the EXAMPLES section
2693 * find/fstype.c, locate/locate.c:
2694 Savannah bug #4295 - implicit declarations of ctype.h functions
2697 Savannah bug #4279 - missing newline on locate help message
2699 * find/find.1, xargs/xargs.1:
2700 Improved discussion of the -print0 option of find and the -0 option of xargs
2702 2003-06-26 James Youngman <jay@gnu.org>
2705 Remove reference to nonexistent module "basename" ("dirname" exists
2706 and we already use that).
2708 2003-06-21 James Youngman <jay@gnu.org>
2711 Indicate that xargs stops immediately if a command exits with status 255
2714 Document the fact that xargs exits immediately with an error message
2715 if the command it executes exits with a status of 255.
2717 2003-06-18 James Youngman <jay@gnu.org>
2720 Indicate that -fls and friends always create their output file
2722 2003-06-16 James Youngman <jay@gnu.org>
2724 * ChangeLog, find/find.1, locate/locate.1, locate/locatedb.5, locate/updatedb.1, xargs/xargs.1:
2725 Added BUGS section to manual pages. This section includes information about known bugs and how to report new bugs.
2727 * AUTHORS: Identify the current maintainer.
2729 * TODO: Removed the TODO items which have now been done.
2731 * THANKS: Added Bruno Haible and Bob Prolux.
2733 * xargs/xargs.c: xargs/xargs.c (DO_MULTIBYTE): New macro.
2734 (mbstrstr): New function.
2735 (do_insert): Use it instead of strstr.
2737 * config.guess, config.sub:
2738 Use config.guess and config.sub from automake
2741 Bruno Haible: (fstype_to_string) Don't define this function if
2742 HAVE_F_FSTYPENAME_IN_STATFS is defined.
2745 Bruno Haible: Prefer the 4.4BSD API (if present) to the 4.3BSD API,
2746 because some 4.4BSD systems have <mntent.h> but no /etc/mtab file.
2748 * doc/find.texi, find/find.1:
2749 Applied patch 1498 (documenting the backslash escape sequence)
2751 * locate/updatedb.sh: Applied (my own version of) Savannah patch 1601.
2754 Applied Savannah patch #1547 (document the fact that printf
2755 field-width specifiers are supported).
2758 Applied Savannah patch #1499 (adds final newline to usage message).
2760 2003-06-14 James Youngman <jay@gnu.org>
2762 * NEWS, configure.in:
2763 Updated version number to 4.2.0-CVS [not ready for release yet]
2765 * configure.in, doc/.cvsignore, doc/Makefile.in, find/.cvsignore, find/Makefile.am, find/Makefile.in, find/defs.h, find/find.c, find/fstype.c, find/parser.c, find/pred.c, find/testsuite/.cvsignore, find/testsuite/Makefile.in, find/testsuite/config/unix.exp, find/tree.c, find/util.c, import-gnulib.sh, intl/bindtextdom.c, intl/dcgettext.c, intl/dcigettext.c, intl/dcngettext.c, intl/dgettext.c, intl/dngettext.c, intl/explodename.c, intl/finddomain.c, intl/gettext.c, intl/intl-compat.c, intl/l10nflist.c, intl/loadmsgcat.c, intl/localcharset.c, intl/localealias.c, intl/ngettext.c, intl/plural.y, intl/textdomain.c, lib/.cvsignore
2766 also need stpcpy (e.g. for Solaris)
2768 * intl/dcigettext.c:
2769 plural_lookup: don't use a variable called "index", because we may
2770 have done "#define strchr index", in which case using a variable
2771 called index will prevent us calling strchr(p, ch) in the same scope.
2773 * find/defs.h, find/find.c, find/fstype.c, find/parser.c, find/pred.c, find/testsuite/config/unix.exp, find/tree.c, find/util.c, import-gnulib.sh, lib/Makefile.am, lib/listfile.c, lib/modetype.h, lib/nextelem.c, locate/bigram.c, locate/code.c, locate/frcode.c, locate/locate.c, locate/locatedb.h, locate/testsuite/config/unix.exp, locate/updatedb.sh, xargs/testsuite/config/unix.exp, xargs/xargs.c:
2774 Updated copyright years and the address of the FSF
2776 * aclocal.m4, config.h.in, configure:
2777 Removed files that are generated from other files (e.g. configure)
2779 * NEWS: Updated NEWS file for 4.1.20.
2781 * configure.in, lib/Makefile.am, po/POTFILES.in, po/da.po, po/de.po, po/es.po, po/et.po, po/findutils.pot, po/fr.po, po/gl.po, po/id.po, po/it.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sv.po, po/tr.po:
2782 Updates to the i18n files to ensure that 'make dist' succeeds
2784 * lib/posix/.cvsignore, lib/posix/Makefile.am,
2785 lib/posix/Makefile.in, lib/posix/regex.h, lib/strftime.c,
2786 lib/strncasecmp.c, lib/strspn.c, lib/strstr.c, lib/strtol.c,
2787 lib/strtoul.c, lib/strtoull.c, lib/strtoumax.c, lib/wait.h,
2788 lib/waitpid.c, lib/xalloc.h, lib/xgetcwd.c, lib/xmalloc.c,
2789 lib/xstat.in, lib/xstrdup.c, lib/xstrtol.c, lib/xstrtol.h,
2790 lib/xstrtoul.c, lib/xstrtoul.h, lib/xstrtoumax.c, lib/yesno.c,
2791 locate/Makefile.am, locate/Makefile.in, locate/locate.c,
2792 locate/testsuite/Makefile.in, m4/.cvsignore, m4/ChangeLog,
2793 m4/Makefile.am, m4/Makefile.am.in, m4/Makefile.in, m4/README,
2794 m4/afs.m4, m4/assert.m4, m4/c-bs-a.m4, m4/check-decl.m4,
2795 m4/codeset.m4, m4/d-ino.m4, m4/d-type.m4, m4/error.m4,
2796 m4/fnmatch.m4, m4/fnmatchcase.m4, m4/fstypename.m4, m4/getline.m4,
2797 m4/gettext.m4, m4/glibc.m4, m4/glibc21.m4, m4/iconv.m4,
2798 m4/inttypes_h.m4, m4/isc-posix.m4, m4/jm-glibc-io.m4,
2799 m4/jm-macros.m4, m4/jm-mktime.m4, m4/lcmessage.m4, m4/libintl.m4,
2800 m4/link-follow.m4, m4/ls-mntd-fs.m4, m4/lstat-slash.m4,
2801 m4/lstat.m4, m4/malloc.m4, m4/mbstate_t.m4, m4/memcmp.m4,
2802 m4/prereq.m4, m4/progtest.m4, m4/readdir.m4, m4/realloc.m4,
2803 m4/regex.m4, m4/st_dm_mode.m4, m4/st_mtim.m4, m4/stat.m4,
2804 m4/strerror_r.m4, m4/strftime.m4, m4/timespec.m4, m4/uintmax_t.m4,
2805 m4/ulonglong.m4, m4/xstrtoumax.m4, xargs/Makefile.am,
2806 xargs/Makefile.in, xargs/testsuite/Makefile.in,
2807 find/testsuite/Makefile.in, lib/.cvsignore, lib/Makefile.am,
2808 lib/Makefile.in, lib/alloca.c, lib/ansi2knr.1, lib/ansi2knr.c,
2809 lib/argmatch.c, lib/argmatch.h, lib/basename.c, lib/basename.h,
2810 lib/dirname.c, lib/dirname.h, lib/error.c, lib/error.h,
2811 lib/fileblocks.c, lib/filemode.c, lib/filemode.h, lib/fnmatch.c,
2812 lib/fnmatch.h, lib/getline.c, lib/getline.h, lib/getopt.c,
2813 lib/getopt.h, lib/getopt1.c, lib/human.c, lib/human.h,
2814 lib/idcache.c, lib/malloc.c, lib/memcmp.c, lib/memcpy.c,
2815 lib/memset.c, lib/mktime.c, lib/modechange.c, lib/modechange.h,
2816 lib/pathmax.h, lib/quotearg.c, lib/quotearg.h, lib/realloc.c,
2817 lib/regex.c, lib/regex.h, lib/rpmatch.c, lib/savedir.c,
2818 lib/savedir.h, lib/stpcpy.c, lib/strcasecmp.c, lib/strdup.c,
2819 find/Makefile.am, find/Makefile.in, find/find.c, find/pred.c:
2820 Updated to work with current version of gnulib
2822 * import-gnulib.sh: New file.
2824 * config.h.in, configure, configure.in, doc/Makefile.in, import-gnulib.sh:
2825 Updated to work with current version of gnulib
2827 * README-CVS: New file.
2829 * Makefile.am, Makefile.in, README-CVS, aclocal.m4:
2830 Updated to work with current version of gnulib
2832 2001-06-09 Kevin Dalley <kevin@seti.org>
2835 Changes the location of bison.simple after running bison on local
2838 * ChangeLog: *** empty log message ***
2840 * Makefile.in, aclocal.m4, config.h.in, configure,
2841 doc/Makefile.in, find/Makefile.in, find/testsuite/Makefile.in,
2842 lib/Makefile.in, lib/posix/Makefile.in, locate/Makefile.in,
2843 locate/testsuite/Makefile.in, m4/Makefile.in, xargs/Makefile.in,
2844 xargs/testsuite/Makefile.in: Updates mostly from gettext-0.10.38
2846 * ABOUT-NLS: * ABOUT-NLS: updated from gettext-0.10.38.
2848 * configure.in: * configure.in: add tr to ALL_LINGUAS.
2850 * intl/config.charset, intl/dcigettext.c, intl/dcngettext.c,
2851 intl/dngettext.c, intl/libgnuintl.h, intl/localcharset.c,
2852 intl/locale.alias, intl/ngettext.c, intl/plural.y,
2853 intl/ref-add.sin, intl/ref-del.sin: updated from gettext-0.10.38
2855 * intl/cat-compat.c, intl/linux-msg.sed, intl/po2tbl.sed.in,
2856 intl/xopen-msg.sed, m4/ChangeLog: *** empty log message ***
2859 * jm-macros.m4 (jm_MACROS): remove jm_ICONV, which is replaced by
2860 AM_ICONV, which is imported from gettext-0.10.38. removed
2861 jm_GLIBC21, which is required in AM_GNU_GETTEXT, which is
2862 imported from gettext-0.10.38.
2864 * po/stamp-cat-id: * stamp-cat-id: Remove file.
2866 * po/Makefile.in.in: * Makefile.in.in: Upgrade to gettext-0.10.38.
2868 * po/ChangeLog: * cat-id-tbl.c: Remove file.
2870 * po/de.po, po/es.po, po/et.po, po/fr.po:
2871 * fr.po, et.po, es.po, de.po: updated translations to
2874 * po/tr.po: * tr.po: New Turkish translation.
2876 * m4/ChangeLog: *** empty log message ***
2878 * intl/dgettext.c, intl/explodename.c, intl/finddomain.c,
2879 intl/gettext.c, intl/gettext.h, intl/gettextP.h,
2880 intl/hash-string.h, intl/intl-compat.c, intl/l10nflist.c,
2881 intl/libgettext.h, intl/loadinfo.h, intl/loadmsgcat.c,
2882 intl/localealias.c, intl/plural.c, intl/textdomain.c,
2883 intl/ChangeLog, intl/Makefile.in, intl/VERSION,
2884 intl/bindtextdom.c, intl/dcgettext.c: Updated from gettext-0.10.38
2887 reflects addition of codeset.m4 from gettext-0.10.38, automatically
2890 * m4/codeset.m4, m4/gettext.m4, m4/glibc21.m4, m4/iconv.m4,
2891 m4/isc-posix.m4, m4/lcmessage.m4, m4/progtest.m4: *
2892 progtest.m4, lcmessage.m4, isc-posix.m4, iconv.m4,
2893 glibc21.m4, gettext.m4, codeset.m4: updated from
2896 * ChangeLog: *** empty log message ***
2898 * THANKS: added "Gerrit P. Haase" <gerrit.haase@t-online.de>
2900 * m4/ChangeLog, locate/testsuite/.cvsignore,
2901 xargs/testsuite/.cvsignore, config.h.in, configure, aclocal.m4,
2902 doc/.cvsignore: *** empty log message ***
2904 * m4/jm-macros.m4: * jm-macros.m4 (jm_MACROS): add jm_FSTYPENAME
2906 * doc/Makefile.in: *** empty log message ***
2909 * doc/Makefile.am (MOSTLYCLEANFILES): add find.cps, which is
2910 created by dvips. This should be taken care of by automake, but
2911 the code is commented out.
2913 2001-06-09 Kevin Dalley <kevin@seti.org>
2915 * ABOUT-NLS: updated from gettext-0.10.38.
2917 * configure.in: add tr to ALL_LINGUAS.
2919 * doc/Makefile.am (MOSTLYCLEANFILES): add find.cps, which is
2920 created by dvips. This should be taken care of by automake, but
2921 the code is commented out.
2923 2001-06-05 Kevin Dalley <kevin@seti.org>
2925 * locate/updatedb.sh: replace "whoami" with "id -u" when testing
2928 2001-06-04 Kevin Dalley <kevin@seti.org>
2930 * locate/testsuite/Makefile.am (DIST_SUBDIRS): remove second
2931 instance of DIST_SUBDIRS.
2933 * locate/Makefile.am (install-data-hook): changed install target
2934 to install-data-hook, which still installs other files.
2936 * doc/Makefile.am (MOSTLYCLEANFILES): added find.cps, which should
2937 probably be handled by automake.
2939 * doc/mdate-sh: removed file in doc directory. It now exists only
2940 in top_srcdir, but this changed required a patch to automake.
2942 2001-05-20 Kevin Dalley <kevin@seti.org>
2946 * lib/Makefile.am (EXTRA_DIST): add strcasecmp.c
2948 * find/testsuite/Makefile.am (EXTRA_DIST): new tests:
2949 find.gnu/name-opt.exp find.gnu/perm.exp find.gnu/perm.xo
2950 find.gnu/prune-default-print.exp find.gnu/prune-default-print.xo
2952 * configure.in: update to 4.1.7
2954 * config.sub, config.guess: upgraded to recent versions of
2955 config.sub and config.guess.
2957 * locate/updatedb.sh: Add space to "#! /bin/sh"
2959 * configure.in: Add id to ALL_LINGUAS
2961 * lib/Makefile.am (EXTRA_DIST): getline.[ch] added
2962 (libfind_a_SOURCES): getline.[ch] removed since getline.c is not
2965 2001-05-20 Lionel CONS <lionel.cons@cern.ch>
2967 * find/find.c: Fixed security holes. 1. There is a race
2968 condition between the lstat() to detect a symbolic link and the
2969 actual chdir(). 2. An attacker can move directories while find
2970 is _inside_ so that chdir(..) goes out of the intended file tree.
2972 * lib/modetype.h: support for Solaris door files is added.
2974 * lib/filemode.c: S_ISDOOR is undef'ed if STAT_MACROS_BROKEN
2976 * find/pred.c (pred_type): -D option (for Solaris door files) is
2979 * find/parser.c (insert_type): -D option (for Solaris door files)
2982 * find/find.1: -D option (for Solaris door files) is documented
2984 * doc/find.texi (Type): -D option (for Solaris door files) is
2987 2001-05-02 Kevin Dalley <kevin@seti.org>
2989 * configure.in: Change AC_CHECK_MEMBERS to conform to new
2990 autoconf. Add Danish.
2992 2001-01-20 Kevin Dalley <kevin@seti.org>
2994 * doc/find.texi (Adding Tests): Place space in "#! /bin/sh".
2996 * find/testsuite/find.gnu/prune-default-print.xo,
2997 find/testsuite/find.gnu/prune-default-print.exp: test for "find
2998 . -prune" which passes after changes. Also see name-opt.exp.
3000 * find/util.c (get_new_pred):
3001 * find/tree.c (set_new_parent):
3002 * find/parser.c (various parse functions):
3003 * find/find.c (main):
3004 (default_prints): new function
3005 * find/defs.h (struct predicate): added no_default_print
3006 side_effects are no separated from no_default_print. predicates
3007 which cause side effects should not be reordered (optimized).
3008 predicates which cause printing should have printing turned off.
3009 Printing statements also cause side effects.
3011 2000-10-29 Bruno Haible <haible@ilog.fr>
3013 * locate/code.c (main), doc/find.texi: improve handling of
3014 non-ASCII characters used old format.
3016 2000-10-21 Paul Eggert <eggert@twinsun.com>
3018 If open + fchdir fails, fall back on xgetcwd + chdir.
3019 The old code tested for this at compile-time,
3020 but SunOS 4.1.4 fchdir can fail at run-time.
3022 * find/defs.h (fchdir): Define to -1 if not available.
3023 * find/defs.h (starting_dir, starting_desc):
3024 Always declare. starting_dir now points to const.
3025 * find/find.c (starting_dir, starting_desc): Likewise.
3026 * find/find.c (starting_dir):
3027 Now "." if starting_desc is nonnegative, for benefit of diagnostics.
3028 (main, process_top_path, process_dir):
3029 If open + fchdir fails, fall back on xgetcwd + chdir.
3030 * find/pred.c (launch): Likewise.
3032 2000-10-20 Kevin Dalley <kevin@seti.org>
3034 * xargs/xargs.c, locate/updatedb.sh, locate/locate.c (usage),
3035 find/parser.c (parse_help): add bug reporting address to help
3037 2000-10-13 Kevin Dalley <kevin@seti.org>
3039 * depcomp, lib/depcomp: depcomp moved from lib to .
3041 2000-10-11 Kevin Dalley <kevind@rahul.net>
3045 * locate/testsuite/config/unix.exp: set PRUNEFS to "" for the
3048 2000-10-10 Bruno Haible <haible@ilog.fr>
3050 * lib/Makefile.am (libfind_a_SOURCES): added yesno.c
3052 * lib/yesno.c, lib/rpmatch.c: new files.
3054 * find/pred.c: use function yesno().
3056 2000-10-10 Kevin Dalley <kevind@rahul.net>
3058 * locate/testsuite/Makefile.am: Added missing \ at end of
3061 * locate/testsuite/locate.gnu/ignore_case3.xo,
3062 locate/testsuite/locate.gnu/ignore_case3.exp,
3063 locate/testsuite/locate.gnu/ignore_case2.exp,
3064 locate/testsuite/locate.gnu/ignore_case1.xo,
3065 locate/testsuite/locate.gnu/ignore_case1.exp: place locatedb
3066 inside tmp directory, add subdir directory under tmp.
3068 * locate/testsuite/config/unix.exp: clean up tmp after test is
3071 2000-10-10 Kevin Dalley <kevind@rahul.net>
3073 * locate/testsuite/config/unix.exp (Repository):
3075 2000-10-09 Kevin Dalley <kevind@rahul.net>
3077 * lib/fnmatch.c, lib/fnmatch.h: reverted to older version of
3078 fnmatch which works with Solaris.
3080 * locate/testsuite/config/unix.exp: dejagnu unix.exp
3082 * xargs/testsuite/config/unix.exp: remove temporary file
3084 * xargs/xargs.c: spelling correction
3086 * m4/prereq.m4: updated and changed some macros
3088 * m4/jm-macros.m4: replaced jm_FUNC_FNMATCH with
3089 kd_FUNC_FNMATCH_CASE_REPL
3091 * m4/timespec.m4, m4/strerror_r.m4, m4/mbstate_t.m4,
3092 m4/largefile.m4, m4/gettext.m4, m4/fnmatchcase.m4, m4/d-type.m4,
3093 m4/d-ino.m4, m4/c-bs-a.m4: new m4 macros.
3095 * m4/Makefile.am: add fnmatchcase.m4 and mbstate_t.m4
3097 * locate/testsuite/locate.gnu/ignore_case3.xo,
3098 locate/testsuite/locate.gnu/ignore_case3.exp,
3099 locate/testsuite/locate.gnu/ignore_case2.xo,
3100 locate/testsuite/locate.gnu/ignore_case2.exp,
3101 locate/testsuite/locate.gnu/ignore_case1.xo,
3102 locate/testsuite/locate.gnu/ignore_case1.exp,
3103 locate/testsuite/config/unix.exp: tests related to "--ignore-case"
3106 * locate/testsuite/locate.gnu: testsuite directory
3108 * locate/testsuite/Makefile.am (Repository):
3110 * locate/testsuite: add directory for locate testsuite
3112 * po/findutils.pot: updated file
3114 * po/sv.po, po/ru.po, po/pt_BR.po, po/pl.po, po/nl.po, po/ko.po,
3115 po/it.po, po/gl.po, po/fr.po, po/et.po, po/es.po, po/de.po:
3116 updated various po files.
3118 * locate/updatedb.sh: export TMPDIR, which is used by child
3121 * locate/locate.1, locate/locate.c: add "--ignore-case" option.
3123 * locate/Makefile.am: add testsuite subdirectory
3125 * find/testsuite/find.gnu/perm.xo,
3126 find/testsuite/find.gnu/perm.exp,
3127 find/testsuite/find.gnu/name-opt.xo,
3128 find/testsuite/find.gnu/name-opt.exp: added test suites
3130 * configure.in: add locate/testsuite/Makefile
3132 * doc/find.info*: removed from repository
3134 * doc/find.texi: add documentation for "-i" option.
3136 * aclocal.m4: removed from repository, as it is generated.
3138 * find/pred.c: fixes problem with "find -perm -0100".
3140 * lib/lstat.c, lib/stat.c: removed from repository. These files
3141 are generated from lib/xstat.in.
3143 2000-08-24 Kevin Dalley <kevind@rahul.net>
3145 * doc/find.texi (Invoking xargs): changed @var{-s} to @samp{-s}.
3147 2000-05-13 Kevin Dalley <kevind@rahul.net>
3149 * find/tree.c (opt_expr): move iname and ipath to the front of the
3152 * doc/find.texi (Directories): changed wording for "-prune".
3154 * find/parser.c (parse_prune): set side_effects to true, to
3155 prevent prune from being moved in opt_expr.
3157 2000-04-12 Kevin Dalley <kevind@rahul.net>
3159 * doc/find.texi, doc/permi.texi: fix spellings, add LocalWords.
3161 * lib/Makefile.am: put getline.c back into libfind_a_SOURCES,
3162 since getstr is needed.
3166 * po/POTFILES.in: updated list of files, updated po files.
3169 2000-04-02 Paul Eggert <eggert@twinsun.com>
3171 Add support for large files, and port to Solaris 8 and earlier
3174 * lib/human.c (getenv): Depend on NEED_GETENV_DECL, not
3177 * lib/strftime.c (my_strftime): Make sure we call the system
3178 strftime, not ourselves, when invoking the underlying strftime.
3180 * m4/check-decl.m4 (jm_CHECK_DECLS): Remove memchr, nanosleep.
3182 * m4/jm-macros.m4 (jm_MACROS): Don't check for utime.h. Do not
3183 require jm_BISON, jm_CHECK_TYPE_STRUCT_UTIMBUF, jm_FUNC_LCHOWN,
3184 jm_FUNC_CHOWN, jm_FUNC_NANOSLEEP, jm_FUNC_GROUP_MEMBER,
3185 jm_FUNC_PUTENV, jm_FUNC_GETGROUPS, AM_FUNC_GETLOADAVG,
3186 jm_SYS_PROC_UPTIME, jm_FUNC_FTRUNCATE, jm_FUNC_UTIME. Do not
3187 replace strcasecmp, dup2, gethostname, getusershell, stime,
3188 strcspn, strpbrk, euidaccess, mkdir, rmdir, rpmatch, strndup,
3189 strverscmp, memchr, memmove. Do not check for declaration of
3190 lchown. Remove invocations of AM_FUNC_OBSTACK, AM_FUNC_STRTOD,
3191 POW_LIBM, jm_LANGINFO_CODESET, jm_ICONV. Remove df tests.
3192 (jm_CHECK_ALL_TYPES): Include <sys/stat.h> when checking for
3193 struct stat.st_blksize.
3195 * m4/strftime.m4 (jm_FUNC_GNU_STRFTIME): Set environment variable
3196 in shell rather than using putenv, which isn't portable.
3198 * COPYING, lib/alloca.c, lib/dirname.c, lib/error.c,
3199 lib/savedir.c, lib/strstr.c, m4/check-decl.m4, m4/d-ino.m4,
3200 m4/d-type.m4, m4/getline.m4, m4/jm-glibc-io.m4, m4/jm-macros.m4,
3201 m4/jm-mktime.m4, m4/ls-mntd-fs.m4, m4/memcmp.m4, m4/prereq.m4,
3202 m4/readdir.m4, m4/regex.m4, m4/strftime.m4, m4/uintmax_t.m4: Sync
3203 to latest version from sh-utils-2.0g.
3205 * config.guess, config.sub, lib/argmatch.c, lib/argmatch.h,
3206 lib/human.c, lib/human.h, lib/memcpy.c, lib/quotearg.c,
3207 lib/quotearg.h, lib/strtoull.c, lib/strtoumax.c,
3208 lib/xstrtoumax.c, m4/c-bs-a.m4, m4/gettext.m4,
3209 m4/largefile.m4, m4/lcmessage.m4, m4/link-follow.m4,
3210 m4/progtest.m4, m4/strerror_r.m4, m4/timespec.m4,
3211 m4/xstrtoumax.m4: New files, taken from sh-utils-2.0g.
3213 * lib/ansi2knr.1, lib/ansi2knr.c, lib/basename.c, lib/getopt.h,
3214 lib/fnmatch.c, lib/fnmatch.h, lib/modechange.c: Sync to latest
3215 unreleased version of GNU tar (between 1.13.17 and 1.13.18).
3217 * lib/basename.h, lib/waitpid.c: New files, taken from same
3220 * lib/regex.c, lib/regex.h: Sync to GNU grep 2.4.2.
3222 * lib/posix/Makefile.am, lib/posix/regex.h: New files, taken from
3225 * lib/strftime.c: Sync to textutils 2.0e.
3227 * acconfig.h, depcomp, lib/strcasecmp.c, m4/check-type.m4,
3228 m4/const.m4, m4/decl.m4, m4/lfs.m4, m4/mktime.m4, m4/perl.m4,
3229 m4/putenv.m4, m4/uptime.m4, m4/utimbuf.m4, m4/utime.m4,
3230 m4/utimes.m4: Remove these files; no longer needed.
3232 * configure.in (AC_CANONICAL_HOST, AC_SYS_LARGEFILE,
3233 jm_AC_TYPE_UINTMAX_T): Add.
3234 (CACHE_IDS, FSTYPE_STATVFS, FSTYPE_USG_STATFS, FSTYPE_AIX_STATFS,
3235 FSTYPE_MNTENT, FSTYPE_STATFS, FSTYPE_GETMNT): Add comment, so that
3236 we don't need acconfig.h.
3237 (AC_CHECK_TYPE): Add ssize_t.
3238 (AC_REPLACE_FUNCS): Add waitpid.
3239 (AC_CHECK_FUNCS): Remove basename.
3240 (AC_FUNC_MKTIME): Remove.
3241 (LIBOBJS): Add no-ops to work around automake 1.4 bug.
3242 (AC_OUTPUT): Add lib/posix/Makefile.
3244 * find/defs.h: Include <config.h>, <sys/types.h>, <sys/stat.h>,
3245 <stdio.h>, <limits.h>, <inttypes.h>. All includers changed to not
3246 include these files, and to include "defs.h" first (since config.h
3247 must be included first).
3248 (CHAR_BIT, S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IWUSR, S_IXUSR,
3249 S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH, MOD_WXUSR,
3250 MODE_R, MODE_RW, MODE_RWX, MODE_ALL): New macros.
3251 (enum permissions_type): New enum.
3252 (struct long_val.negative): New member.
3253 (struct long_val.l_val): Now uintmax_t, not unsigned long.
3254 (struct size_val.size): Likewise.
3255 (struct perm_val): New type.
3256 (struct predicate.perm): Now struct perm_val, not unsigned long.
3257 (struct predicate.type): Now mode_t, not unsigned long.
3258 (list_file): New parameters current_time, output_block_size.
3259 All callers changed.
3260 (savedir, basename): Remove decls.
3261 (output_block_size, start_time): New extern vars.
3263 * find/find.c: Include <human.h>, <savedir.h>.
3264 (output_block_size, start_time): New vars.
3265 (main): Initialize them. No need to check for negative st_size,
3266 since savedir now does it for us.
3268 * find/fstype.c: Include "dirname.h".
3270 (filesystem_type_uncached): Use xstrtoumax instead of xatoi.
3272 * find/parser.c: Include "xstrtol.h".
3273 (get_num_days, get_num, parse_amin, parse_cmin, parse_mmin,
3274 parse_size, parse_used, insert_time, insert_num): Compute using
3275 uintmax_t, not unsigned long.
3276 (parse_amin, parse_cmin, parse_mmin, parse_used, insert_time):
3277 Keep track of whether time was negative before converting it to an
3279 (parse_daystart): Don't assume that localtime succeeds; e.g. it
3280 can fail with 64-bit time_t and 32-bit tm_year.
3281 (parse_perm, insert_type): Compute using mode_t, not unsigned
3283 (insert_type): Use symbolic constants like MODE_ALL instead of
3284 traditional ones like 07777. Set new kind member to indicate
3285 permissions type, instead of using unportable magic numbers.
3286 (make_segment): We will use human_readable to convert most numeric
3287 values, so simplify the cases.
3288 (get_num_days): Write in terms of get_num, to avoid duplicated
3290 (insert_time, insert_num): When debugging, convert large values to
3291 uintmax_t and output with %ju.
3292 (get_num): Use xstrtoumax to do the real work.
3294 * find/pred.c: Include "basename.h", "human.h".
3295 (DEV_BSIZE, ST_BLKSIZE, ST_NBLOCKSIZE): New macros, taken from
3297 (ST_NBLOCKS): Replace with fileutils defn.
3299 (ctime_format): New function.
3300 (pred_fprintf, format_date): Use human_readable to output large
3302 (pred_fprintf): Use ctime_format to output ctime-style dates. Use
3303 base_name to compute the base name of a path. With %m, output the
3304 mode portably using traditional numbers, even if the host uses
3305 some other numbering scheme.
3306 (pred_iname, pred_name): basename -> base_name.
3307 (pred_perm): Use new kind member to deduce permissions type,
3308 instead of relying on magic numbers.
3309 (pred_size): Compute using uintmax_t, not unsigned long. Avoid
3310 overflow if file size is near the maximum.
3311 (pred_type): Compute using mode_t, not unsigned long.
3312 (launch): Use waitpid, not wait. Check for EINTR.
3313 (format_date): Don't assume that localtime succeeds.
3315 * find/util.c (basename): Remove; we now use base_name.
3317 * lib/Makefile.am (SUBDIRS): New macro.
3318 (libfind_a_SOURCES): Add argmatch.h, argmatch.c, basename.h,
3319 basename.c, human.c, human.h, quotearg.c, quotearg.h, xstrtoumax.c.
3320 Remove error.h, error.c, getline.c.
3321 (EXTRA_DIST): Add mktime.c, regex.c.
3323 * lib/listfile.c: Include "human.h".
3324 (alloca): Declare, or include appropriate files to declare.
3325 (DEV_BSIZE, ST_NBLKSIZE, ST_NBLOCKS, ST_NBLOCKSIZE): New macros.
3326 (convert_blocks): Remove.
3327 (list_file): New current_time and output_block_size args.
3328 Revamp quite a bit, to handle large numbers correctly
3329 and to match GNU ls behavior more closely.
3331 * m4/Makefile.am (EXTRA_DIST): Add c-bs-a.m4, gettext.m4,
3332 largefile.m4, lcmessage.m4, link-follow.m4, progtest.m4,
3333 strerror_r.m4, xstrtoumax.m4. Remove check-type.m4, const.m4,
3334 decl.m4, lfs.m4, mktime.m4, perl.m4, putenv.m4, timespec.m4,
3335 uptime.m4, utimbuf.m4, utime.m4, utimes.m4.
3337 * xargs/xargs.c (wait_for_proc): Retry wait if it fails with
3340 2000-04-05 Kevin Dalley <kevind@rahul.net>
3342 * xargs/Makefile.am: add ansi2knr
3344 * xargs/xargs.c: add macros PARAMS rather than P_. Add
3347 * po/POTFILES: new file listing all POFILES.
3349 * m4/gl.po, m4/et.po: new files
3351 * m4/Makefile.am.in: updated file
3353 * m4: update directory
3355 * locate/Makefile.am: create updatedb from updatedb.sh
3357 * locate/updatedb.sh, locate/updatedb.in: removed file. Replaced
3360 * locate/frcode.c, locate/code.c, locate/bigram.c: add macros
3361 PARAMS rather than P_. Add prototypes.
3363 * lib/xstat.in: new file
3365 * lib/Makefile.am: update to latest versions of library files.
3367 * find/testsuite/Makefile.am: add CLEANFILES
3369 * find/util.c: remove definition of basename
3371 * find/util.c, find/tree.c, find/pred.c, find/parser.c,
3372 find/fstype.c, find/find.c, find/defs.h: add macros PARAMS rather
3373 than P_, for consistency, change to prototypes
3375 * find/Makefile.am: Add prototypes and ansi2knr
3377 * configure.in: add Galition and Estonian languages.
3378 Miscellaneous other fixes.
3381 2000-03-11 Kevin Dalley <kevind@rahul.net>
3383 * lib/basename.c: Add file from libit.
3384 * lib/Makefile.am (libfind_a_SOURCES): add basename.c since it is
3385 no longer replaceable.
3387 * find/util.c: Remove definition of basename, which is now in
3388 lib/basename.c (as base_name).
3389 * find/pred.c: Use base_name, not basename.
3390 * find/defs.h: Likewise.
3392 * configure.in : Don't replace basename. Now we use only
3395 2000-02-26 Kevin Dalley <kevind@rahul.net>
3399 * lib/strtoul.c: added to distribution
3401 * configure.in: added strtoul to AC_REPLACE_FUNCS
3403 * configure.in: added jm_CHECK_ALL_TYPE
3405 2000-02-23 Kevin Dalley <kevind@rahul.net>
3407 * po/ChangeLog: removed, merged with top-level ChangeLog.
3409 * po/de.po: new version of German file.
3411 * po/gl.po, po/et.po: new languages, Estonian and Galician.
3413 * locate/updatedb.sh (PRUNEFS): enclose paths in quotes
3415 2000-02-17 Kevin Dalley <kevind@rahul.net>
3417 * po/it.po: new version of Italian file.
3419 * locate/updatedb.sh (prunefs_exp): have sed statement use '*'
3420 rather than the often unsupported '+'.
3422 2000-02-13 Kevin Dalley <kevind@rahul.net>
3424 * configure.in: removed AC_ARG_PROGRAM, which is already in
3427 * locate/Makefile.am (updatedb), locate/updatedb.sh: add
3428 transforms of find, frcode, bigram, and code back into
3429 updatedb.sh, which were accidentally removed.
3431 2000-02-12 Kevin Dalley <kevind@rahul.net>
3433 * lib/wait.h: updated address.
3435 2000-01-26 Kevin Dalley <kevind@rahul.net>
3439 * acconfig.h: added internationalization.
3441 * intl/*: copied from tar-1.13.17.
3443 * locate/Makefile.am, locate/locate.c, locate/code.c:
3444 internationalized file.
3446 * locate/frcode.c, locate/bigram.c: include headers from ../lib
3449 * xargs/Makefile.am, xargs/xargs.c: internationalized directory.
3451 2000-01-26 Kevin Dalley <kevind@rahul.net>
3453 * POTFILES.in: added list of files with translatable strings.
3455 * de.po, es.po, fr.po, it.po, ko.po, nl.po, pl.po, pt_BR.po,
3456 ru.po, sv.po: New, slightly out of date, files imported from the
3457 Translation Project: http://www.iro.umontreal.ca/contrib/po/HTML/,
3458 German, Spanish, French, Italian, Korean, Dutch, Polish, Brazilian
3462 2000-01-24 Kevin Dalley <kevind@rahul.net>
3464 * lib/xmalloc.c, lib/regex.c, lib/getopt.c: internationalization
3465 works with current version of gettext.
3467 * lib/getline.h : added declaration of getstr.
3468 * lib/Makefile.am (libfind_a_SOURCES): added getline.[ch] to
3469 standard compilation. Added internationalization.
3470 * find/Makefile.am (INCLUDES): corrected -I options for building
3471 in other directories.
3472 (LDADD): changes for internationalization.
3474 * configure.in (ALL_LINGUAS): added internationalization.
3475 getline.c is always compiled and linked, because of getstr.
3479 (DISTCLEANFILES): added intl/libintl.h
3480 (AUTOMAKE_OPTIONS): added gnits to AUTOMAKE_OPTIONS
3481 (SUBDIRS): added intl and po
3483 * acconfig.h: added internationalization values
3485 * THANKS: added thanks file for gnits compatibility.
3487 2000-01-22 Kevin Dalley <kevind@rahul.net>
3489 * added intl directory.
3491 * Added internationalization, only with slightly out of date po
3492 files for many locales.
3494 2000-01-18 Kevin Dalley <kevind@rahul.net>
3498 * locate/Makefile.am: remove creation of updatedb, since it is now
3501 * configure.in: updatedb is now created by configure.
3503 * xargs/Makefile.am: added testsuite to xargs directory
3505 * locate/updatedb.in: updatedb is now created by configure
3507 * locate/frcode.c, locate/code.c, locate/bigram.c: change return
3508 from main to int. Replace getstr with getline, where possible.
3510 * locate/Makefile.am: place frcode, code, bigram in
3513 * lib/xstrdup.c, lib/xmalloc.c, lib/xgetcwd.c, lib/xalloc.h,
3514 lib/strtol.c, lib/strstr.c, lib/strftime.c, lib/strdup.c,
3515 lib/stpcpy.c, lib/stat.c, lib/savedir.h, lib/savedir.c,
3516 lib/regex.h, lib/regex.c, lib/realloc.c, lib/pathmax.h,
3517 lib/modechange.h, lib/modechange.c, lib/mktime.c, lib/memset.c,
3518 lib/memcmp.c, lib/malloc.c, lib/lstat.c, lib/idcache.c,
3519 lib/getopt1.c, lib/getopt.c, lib/getopt.h, lib/getline.c,
3520 lib/getline.h, lib/fnmatch.c, lib/fnmatch.h, lib/filemode.c,
3521 lib/filemode.h, lib/fileblocks.c, lib/error.c, lib/error.h,
3522 lib/dirname.c, lib/alloca.c: updated to newer version of file from
3525 * find/version.c: version number is now automatically generated by
3528 * find/fstype.c (filesystem_type_uncached): fixes bug described as
3529 follows: When 'find' looks for a fstype, it parses the /etc/mtab
3530 until it finds the good line. But, if there is, before the good
3531 line, a line whose mountpoint is unreachable, it fails.
3533 * doc/texinfo.tex: updated to newer version
3535 * doc/find.texi: added version.texi, fixed a few documentation bugs.
3537 * configure.in: new m4 features.
3539 * Makefile.am: moved testsuite to below corresponding directories
3542 * acconfig.h: updated to match new m4 files.
3544 * m4: added m4 directory, largely borrowed from Jim Meyering's
3547 2000-01-17 Kevin Dalley <kevind@rahul.net>
3549 * doc/find.texi (Multiple Files): placed missing xargs in examples
3551 * find/testsuite/find.gnu/depth.exp: added find tests to test
3554 * doc/find.texi: include version.texi for automatic determination
3555 of version number, update bug report email address to
3556 bug-findutils@gnu.org.
3557 (Combining Primaries With Operators): add indices for " ,", "()",
3560 2000-01-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3562 * find/tree.c (opt_expr): Never rearrange the arguments of the
3563 comma operator, since it is not commutative. Remove useless
3566 2000-01-17 Jonathan R. Ferro <jferro@corwin.ece.cmu.edu>
3568 * find/find.c (process_path): fix problem with "-depth" which is
3569 tested in depth.exp test.
3571 1999-08-15 Kevin Dalley <Kevin Dalley <kevin@seti.org>>
3573 * find/fstype.c (filesystem_type_uncached): a stat failure with
3574 EACCESS will ignore this file system keep on looking. Patch
3575 suggested by Vincent Danjean <vdanjean@ens-lyon.fr>.
3577 1999-08-15 Mark Kettenis <kettenis@gnu.org>
3579 * xargs/xargs.c (LONG_MAX): Define if necessary.
3580 (main): If ARG_MAX is -1 (that is sysconf
3581 (_SC_ARG_MAX) returns -1) the system does not impose a limit. In
3582 that case, use LONG_MAX as the limit.
3584 1999-08-15 Kevin Dalley <Kevin Dalley <kevind@rahul.net>
3586 * find/version.c: version string is now set by config.h
3588 1999-08-08 Kevin Dalley <kevin@seti.org>
3592 * README-alpha: added alpha README file
3594 * find/defs.h: move lstat declarations into defs.h
3596 * xargs/Makefile.am, testsuite/Makefile.am, locate/Makefile.am,
3597 lib/Makefile.am, find/Makefile.am, doc/Makefile.am, configure.in,
3598 Makefile.am: update for automake-1.4
3600 1999-08-02 Kevin Dalley <kevind@rahul.net>
3602 * AUTHORS: added file listing AUTHORS
3604 * lib/Makefile.am: modified code for EXTRA sources
3606 1999-01-30 Kevin Dalley <kevind@rahul.net>
3608 * added const to declaration of basename, which should satisfy
3609 Linux as well as Hurd (fixes bug #31325).
3611 1998-12-04 Kevin Dalley <kevind@rahul.net>
3613 * lib/nextelem.c: removed declaration of strdup and free, which
3614 meets GNU coding standards and allows compilation on more
3617 * find.texi: corrected explanation of -amin option which described
3618 hours instead of minutes
3620 1998-09-26 Kevin Dalley <kevind@rahul.net>
3622 * lib/getline.c: fix getstr so that it correctly handles long file
3625 1998-09-20 Kevin Dalley <kevind@rahul.net>
3627 * removed more function declarations to meet GNU coding standards
3629 1998-08-30 Kevin Dalley <kevind@rahul.net>
3631 * lib/nextelem.c: removed declaration of strdup and free, which
3632 meets GNU coding standards and allow compilation on sparc
3634 * corrected explanation of -amin option which described hours
3637 1998-02-27 Kevin Dalley <kevind@rahul.net>
3639 * locate/locate.c: add --existing option to locate, which only
3640 prints the names of files which still exist
3642 1998-02-08 Kevin Dalley <kevind@rahul.net>
3644 * locate/locate.c: corrected get_short so that it correctly
3645 returns negative numbers.
3647 * remove declarations of various string functions. Removing the
3648 declarations almost matches the GNU Coding Standards.
3650 1997-03-03 Kevin Dalley <kevind@rahul.net>
3652 * xargs/xargs.c: xargs fixed to prevent occasional core dumping.
3654 1997-01-11 Kevin Dalley <kevind@rahul.net>
3656 * locate/updatedb.sh: add --localuser option to updatedb, which
3657 allows find to be run as nobody, while allowing database file to
3658 be created as root, change suggested by
3659 <Bernd_Eckenfels@Wittumstrasse13.76646Bruchsal.de>
3661 1996-12-28 Kevin Dalley <kevind@rahul.net>
3662 * added PRUNEFS as variable in updatedb and --prunefs as option to
3665 1996-05-27 Kevin Dalley <kevind@rahul.net>
3667 * updatedb.sh: when NETPATHS is used, only su to NETUSER if whoami
3669 1996-04-27 Kevin Dalley <kevind@rahul.net>
3671 * lib/getline.c (getstr): verify that nchars_avail is *really*
3672 greater than 0; set *n to a large enough number, stops some core
3675 Thu Nov 3 09:23:33 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
3679 * locate/Makefile.am: Move updatedb from LIBSCRIPTS to SCRIPTS.
3681 * Makefile.am (distname): Change distribution name from find to
3684 * testsuite/config/unix.exp: Don't abuse xfail; simulate it correctly.
3686 * locate/Makefile.am (CLEANFILES): Fix typo.
3688 Wed Nov 2 15:11:52 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
3692 * lib/listfile.c find/defs.h (list_file): Take a stream arg.
3693 * find/pred.c (pred_ls): pass it.
3694 * find/parser.c pred.c defs.h (parse_fls, pred_fls): New functions.
3696 Tue Oct 25 16:09:04 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
3698 * find/pred.c (pred_fprintf): Flush output after \c. From Chapman
3701 * find/parser.c (insert_fprintf): Warn about unrecognized \ and %
3704 Tue Oct 18 00:03:10 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
3706 * find/defs.h parser.c pred.c tree.c util.c: Globally change
3707 "victim" to "primary".
3709 * find/parser.c (insert_fprintf): For 'c' format, don't lose the
3710 need_stat information. From Chapman Flack.
3712 * doc/find.texi perm.texi: New files.
3713 * configure.in: Configure the doc directory.
3715 * find/pred.c (pred_regex): Check that the regex matched the whole
3718 Wed Oct 12 17:13:47 1994 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
3720 * find/find.c (main): Tell what the invalid arg is.
3723 Fri Oct 7 12:33:24 1994 David MacKenzie <djm@geech.gnu.ai.mit.edu>
3725 * find/parser.c: Add -mount as an alias for -xdev.
3726 From Klaus.Steinberger@physik.uni-muenchen.de (Klaus Steinberger).
3728 * lib/modechange.c: Make umask_value unsigned short.
3730 * xargs/xargs.c: Use symbolic constants in longopts.
3733 Wed Oct 5 11:23:09 1994 David MacKenzie <djm@geech.gnu.ai.mit.edu>
3735 * xargs/xargs.c (main, read_line, read_string, do_exec): Pass
3736 along the lengths of the args.
3737 (main): Calculate length of replace_pat.
3738 (push_arg, do_insert): Use those lengths instead of calculating
3741 Tue Oct 4 10:02:05 1994 David MacKenzie <djm@churchy.gnu.ai.mit.edu>
3743 * locate/updatedb.sh Makefile.in: Add substitutions to get
3744 the transformed program names.
3746 * xargs/xargs.c: Put back the global variables for now.
3747 Rename some variables. Increase default args_per_exec.
3748 Use boolean where applicable.
3749 (main): Reduce default arg_max by 2048 for POSIX.2.
3750 (read_string): Don't check EOF string.
3751 (read_line, read_string): Take initial args size into account.
3753 Sat Oct 1 17:43:13 1994 David MacKenzie <djm@geech.gnu.ai.mit.edu>
3755 * find/pred.c (launch): Use pid_t.
3757 * xargs/xargs.c (EOF_STR): Define and use.
3758 [__STDC__]: Declare xrealloc and xmalloc using void *.
3759 * find/defs.h: Likewise.
3761 * find/defs.h: Only declare stpcpy if !HAVE_STPCPY.
3763 * xargs/xargs.c: Replace most global variables with structure
3764 pointers passed as arguments. Use pid_t.
3765 * lib/wait.h: Include sys/wait.h if HAVE_SYS_WAIT_H.
3766 * configure.in: Call AC_TYPE_MODE_T and AC_HEADER_SYS_WAIT.
3768 * xargs/xargs.c: Improve paging performance and memory
3769 fragmentation by building command arguments in a pre-allocated
3770 buffer and re-implementing the child pid list as an expandable
3771 array. From tsi@gpu.srv.ualberta.ca (Marc Aurele La France).
3773 Thu Sep 29 11:38:07 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
3775 * xargs/xargs.c [__STDC__]: Prototype declarations.
3777 Wed Sep 28 11:25:53 1994 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
3779 * find/fstype.c [AFS, __STDC__]: Fix definition of _VICEIOCTL.
3781 Tue Sep 27 08:14:27 1994 David MacKenzie <djm@churchy.gnu.ai.mit.edu>
3783 * find/fstype.c (fstype_to_string): Add more cases. Use
3784 INITMOUNTNAMES if defined.
3785 * find/defs.h: Change boolean typedef from char to int.
3786 * configure.in: Check for mktime.
3788 Tue Sep 27 01:20:28 1994 Kaveh R. Ghazi (ghazi@noc.rutgers.edu)
3790 * configure.in: Add AC_HEADER_STAT.
3791 * lib/listfile.c, lib/modetype.h: Add STAT_MACROS_BROKEN.
3793 * find/pred.c: Move the inclusion of defs.h ahead of the first
3794 test of _POSIX_VERSION.
3796 * lib/xgetcwd.c: Remove _POSIX_VERSION, rely only on HAVE_GETCWD.
3798 Mon Sep 26 16:43:01 1994 David MacKenzie <djm@geech.gnu.ai.mit.edu>
3800 * configure.in: Add AC_CONFIG_HEADER.
3801 * find/*.c locate/*.c xargs/*.c: Include config.h.
3802 * locate/updatedb.sh: Add --version; --old -> --old-format.
3804 Sun Sep 25 23:43:37 1994 David MacKenzie <djm@geech.gnu.ai.mit.edu>
3806 * find/* [__STDC__]: Prototype declarations.
3808 * locate/updatedb.sh: Account for renaming code and frcode.
3810 * find/find.c (process_path): Store dev and ino of directories in
3811 current branch to avoid symlink loops. From DJ Delorie
3813 (process_dir): If following symlinks, don't cd to ..; instead,
3814 cd to the starting directory and then to the parent directory.
3815 (main) [HAVE_FCHDIR]: Save the dev, ino of the starting directory.
3816 (process_top_path) [HAVE_FCHDIR]: Use it.
3817 * find/pred.c (launch) [HAVE_FCHDIR]: Likewise.
3818 * defs.h [HAVE_FCHDIR]: Declare starting_desc instead of starting_dir.
3819 * configure.in: Check for dev_t, ino_t, fchdir, fcntl.h.
3821 Fri Sep 23 11:55:38 1994 David MacKenzie <djm@geech.gnu.ai.mit.edu>
3823 * lib/listfile.c: Change #ifdef S_IFLNK to #ifdef S_ISLNK.
3824 From Andreas Luik <luik@isa.de>.
3826 Thu Sep 22 11:42:40 1994 David MacKenzie <djm@geech.gnu.ai.mit.edu>
3828 * locate/locate.c (last_literal_end): Dynamically allocate enough
3829 memory for the subpattern.
3831 Wed Sep 21 06:12:56 1994 David MacKenzie <djm@geech.gnu.ai.mit.edu>
3833 * locate/locate.c (locate): Warn if database is >8 days old.
3834 From Ian Lance Taylor.
3836 * xargs/xargs.c (do_exec), find/pred.c (launch): Set SIGCHLD to
3837 default. From tsi@gpu.srv.ualberta.ca (Marc Aurele La France).
3838 * find/find.c pred.c util.c lib/listfile.c: Remove fflush(stdout)
3839 calls before error. error does it, and doesn't trash errno.
3840 From tsi@gpu.srv.ualberta.ca (Marc Aurele La France).
3842 * find/fstype.c (filesystem_type_uncached): Don't trust mtab dev
3843 number on HPUX. From Andreas Luik <luik@isa.de>.
3844 (filesystem_type_uncached): Don't cache unknown file system
3845 types. From casper@fwi.uva.nl (Casper Dik).
3847 * locate/updatedb.sh: Collect results in temp file and rename it
3848 atomically. From Andreas Luik <luik@isa.de>.
3850 * xargs/xargs.c (parse_num): Print a long using %ld. From Jim
3853 * find/defs.h find.c parser.c pred.c util.c, lib/nextelem.c:
3854 Emulate strchr and strrchr with index and rindex, not vice versa.
3856 Remove man directory; move man pages to the directories of the
3857 programs they document.
3859 * locate/frcode.c: Renamed from code.c.
3860 * locate/frcode.c (put_short): Renamed from puthalfword.
3861 * locate/locate.c (get_short): Renamed from gethalfword.
3862 (last_literal_end): Renamed from patprep.
3863 (locate): Recognize old-format databases too.
3864 * locate/locatedb.h: Add defines for old-format databases.
3865 * locate/bigram.c locate/code.c: Put back programs to create
3866 old-format databases.
3867 * locate/updatedb.sh: Take --old option to use them.
3869 Tue Sep 20 15:41:11 1994 David MacKenzie <djm@geech.gnu.ai.mit.edu>
3871 * configure.in: Update for Autoconf v2.
3872 * find/pred.c lib/savedir.c: Use new symbols for dir header.
3873 * locate/updatedb.sh: Add --help option.
3875 Sun Feb 13 11:21:58 1994 Jim Meyering (meyering@comco.com)
3877 * man/Makefile.in [man1ext, man5ext]: Set man5ext (not man1ext) to 5.
3879 Sun Aug 1 22:30:55 1993 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu)
3881 * bigram.c: File removed.
3882 * getline.c, memcmp.c, locatedb.h, updatedb.1, locatedb.5: New files.
3883 * updatedb.sh: Take command line options.
3884 Don't do bigram compression.
3885 * code.c, locate.c: Don't do bigram compression.
3886 Write and read counts in network byte order.
3887 Handle arbitrarily long paths.
3888 Use a magic number at the start of the databases.
3890 Thu Jul 29 20:44:53 1993 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu)
3892 * Makefile.in (config.status): Run config.status --recheck, not
3893 configure, to get the right args passed.
3895 Thu Jul 22 12:53:12 1993 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu)
3897 * listfile.c (list_file): Print inode as a long.
3899 Wed Jul 14 14:14:45 1993 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu)
3901 * fstype.c [STDC_HEADERS]: Include stdlib.h.
3903 * Move unistd.h include from parser.c and pred.c to defs.h.
3905 Wed Jun 30 14:14:47 1993 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu)
3907 * updatedb.sh: Construct PRUNEREGEX from PRUNEPATHS with sed.
3908 Prune /afs. Change NFSUSER to NETUSER and NFSPATHS to NETPATHS.
3910 Tue Jun 29 12:19:58 1993 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu)
3912 * pred.c (pred_fprintf): Abort in switch if `c' is not A, C, or T.
3914 Mon Jun 28 00:18:52 1993 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu)
3916 * fstype.c (in_afs) [AFS]: New function, derived from code by
3917 Sanjay Ramamurthy <ramams@rpi.edu>.
3918 (filesystem_type_uncached) [AFS]: Call it if the fs type is
3921 * parser.c (parse_size): Recognize b and w suffixes for dd
3924 * code.c (puthalfword): New function.
3926 * locate.c (gethalfword): New function.
3928 From ifado!wb@germany.eu.net (Wilhelm B. Kloke).
3930 * listfile.c: Include pathmax.h.
3931 (get_link_name): Always allocate PATH_MAX + 1 bytes for
3933 * pred.c (pred_fprintf, insert_lname): Call get_link_name.
3935 * fstype.c (filesystem_type, filesystem_type_uncached),
3936 listfile.c (list_file): Take an arg for the path to access.
3937 * pred.c (pred_ls, pred_fstype, pred_fprintf): Pass it.
3939 * find.c (process_dir): Renamed from scan_directory.
3941 Changes from jrs@world.std.com (Rick Sladkey) to chdir into
3942 subdirectories instead of using string concatenation, for speed:
3943 * find.c (process_top_path): New function.
3944 (main): Call it, and xgetcwd.
3945 (process_path, scan_directory): Take new arg, the pathname
3946 relative to ".". Use it and pass it on.
3947 * pred.c (pred_and, pred_comma, pred_negate, pred_or,
3948 pred_xtype, pred_fprintf, pred_empty, insert_lname):
3949 access rel_pathname instead of pathname.
3950 (launch): chdir to starting_dir.
3951 * defs.h: Declare rel_pathname and starting_dir.
3952 * find.c: Define them.
3954 * xgetcwd.c: New file.
3956 * updatedb.sh: Recognize -fstype NFS as well as nfs.
3957 * locate.c (patprep): Skip trailing character classes correctly.
3958 From luik@pharao.stgt.sub.org (Andreas Luik).
3960 * parser.c (parse_group): Make gid a gid_t, not short or int.
3961 (parse_nogroup): Cast gid to unsigned when using it as an array index.
3962 (parse_user, parse_nouser): Similar changes for uid.
3963 * defs.h: Use uid_t and gid_t.
3965 * parser.c (parse_help): New function.
3966 (parse_table): Add --version, -help, and --help options.
3967 Rename struct parser_table_t to struct parser_table.
3968 (parse_version): Exit after printing message, on
3971 * xargs.c, locate.c (main, usage): Add --version and --help
3974 Wed Mar 31 22:39:57 1993 Jim Meyering (meyering@comco.com)
3976 * parser.c: Define isascii macro to be 1 also if STDC_HEADERS.
3979 Wed Mar 31 16:04:07 1993 David J. MacKenzie (djm@kropotkin.gnu.ai.mit.edu)
3981 * pred.c (pred_fprintf): If curdepth is 0, don't nuke
3982 segment->text; nuke cp.
3984 Mon Mar 29 15:57:20 1993 David J. MacKenzie (djm@kropotkin.gnu.ai.mit.edu)
3988 Fri Mar 26 16:36:59 1993 David J. MacKenzie (djm@hal.gnu.ai.mit.edu)
3990 * pred.c (pred_ilname, pred_iname, pred_ipath): New functions.
3991 (pred_table): Add them.
3992 (insert_lname): New function.
3993 (pred_lname): Call it.
3994 * parser.c (parse_ilname, parse_iname, parse_ipath,
3995 parse_iregex): New functions.
3996 (parse_table): Add them.
3997 (insert_regex): New function.
3998 (parse_regex): Call it.
4000 * fstype.c (filesystem_type): Cache previous result.
4001 (filesystem_type_uncached): New function.
4002 pred.c (pred_fstype, pred_fprintf): Adjust callers to not cache.
4004 * parser.c: Don't define const.
4006 * fstype.c [FSTYPE_STATFS] (fstype_to_string): #ifdef
4007 MOUNT_PC for 386bsd.
4009 Thu Mar 25 18:32:24 1993 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu)
4011 * parser.c (parse_regex): If ignore_case, set up a translate
4012 table for the regex.
4014 * defs.h: Include string.h or strings.h.
4015 * find.c fstype.c parser.c pred.c util.c: Don't.
4017 * nextelem.c [index]: Don't redefine.
4019 Wed Mar 24 17:47:10 1993 David J. MacKenzie (djm@kropotkin.gnu.ai.mit.edu)
4021 * xargs.c (wait_for_proc): Exit with a nonrunnable command's exit
4022 status, not the wait status value. From
4023 Andreas Schwab <schwab@lamothe.informatik.uni-dortmund.de>.
4025 * parser.c (make_segment, insert_fprintf), pred.c
4026 (pred_fprintf): Add '%F' to print filesystem type.
4028 * parser.c (parse_fprintf): Check if second arg is missing.
4030 Tue Mar 23 13:18:08 1993 David J. MacKenzie (djm@kropotkin.gnu.ai.mit.edu)
4032 * pred.c (pred_fprintf): For %P, don't move past an assumed
4033 slash if the ARGV element ends with one, because in that case
4036 * parser.c (parse_printf): Check for missing arg.
4037 From smj@cats.com (Steve James).
4039 * parser.c: Add #ifdef around atol decl for Linux.
4041 Fri Dec 11 08:17:07 1992 Jim Meyering (meyering@comco.com)
4043 * defs.h: Remove dcl of process_path.
4044 * find.c: Put dcl of p
4046 * pred.c (pred_fprintf): Don't print "\n" unless it's in the
4049 Mon Oct 21 22:30:35 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu)
4051 * defs.h, parser.c, pred.c: Rename some types that conflict
4052 with reserved POSIX.1 namespace (ended in _t).
4056 Thu Oct 17 22:39:06 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu)
4058 * xargs.c: Don't determine memory.h based on POSIX, which
4061 Sat Oct 5 16:11:05 1991 Jim Meyering (meyering at churchy.gnu.ai.mit.edu)
4063 * parser.c (parse_perm): Parse new `-perm +mode' notation.
4064 * pred.c (pred_perm): Interpret same.
4066 Fri Sep 13 14:58:27 1991 David J. MacKenzie (djm at churchy.gnu.ai.mit.edu)
4068 * xargs.c [POSIX]: Always use sysconf to get ARG_MAX.
4070 Thu Sep 5 23:57:06 1991 David J. MacKenzie (djm at apple-gunkies)
4072 * bigram.c, code.c (main): Make path_max int, not unsigned.
4073 * locate.c (main): Check for pathconf failure.
4075 Thu Sep 5 11:54:44 1991 Jim Meyering (meyering at churchy.gnu.ai.mit.edu)
4077 * parser.c (insert_fprintf): Add `\\' escape and fixed `%%'
4079 * pred.c (pred_fprintf): fixed off-by-one indexing problem
4080 when handling [gGuU] printf formats.
4082 Wed Aug 28 20:53:57 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu)
4086 Mon Aug 26 18:57:32 1991 David J. MacKenzie (djm at pogo.gnu.ai.mit.edu)
4088 * bigram.c, code.c: Fix handling of PATH_MAX.
4089 Check for anomalous input line lengths.
4092 Fri Aug 23 11:00:18 1991 David J. MacKenzie (djm at apple-gunkies)
4094 * pred.c (pred_fprintf): Round block number up to get K.
4096 Thu Aug 22 10:46:30 1991 David J. MacKenzie (djm at apple-gunkies)
4098 * pred.c (pred_fprintf, pred_lname) [_AIX]: Allocate PATH_MAX
4099 byte for link object since st_size is wrong.
4101 * listfile.c (list_file): Don't convert blocks to kilobytes if
4102 env. var POSIX_ME_HARDER is defined.
4104 * fstype.c [FS_AIX_STATFS]: New case.
4106 * configure: Make sure the sys/mount.h is the 4.4BSD version
4107 with grep instead of just testing whether it exists.
4109 * listfile.c (list_file): Add 1 to number of 512-byte blocks
4110 before dividing to get 1K blocks (so we round up, not down).
4112 Wed Aug 21 13:02:46 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu)
4116 * parser.c (parse_fprintf), pred.c (pred_fprintf): Add %k
4117 conversion to print 1K blocks.
4119 * listfile.c: Print counts of 1K blocks, for consistency with
4120 new fileutils release. Bad timing, there.
4124 * pred.c [VOID_CLOSEDIR]: Fake a return value for closedir,
4125 which returns void on some systems, like Sequents.
4126 * configure: Check sys/dir.h for 'void closedir'.
4128 Thu Aug 15 16:07:46 1991 David J. MacKenzie (djm at frob)
4130 * modetype.h: Define POSIX.1 stat stuff if missing.
4131 * pred.c, parser.c, find.c, fstype.c: Don't define it.
4132 * updatedb.sh: Use a variable substitution method like configure's.
4133 * Makefile.in: Add datadir variable to separate programs from
4136 * parser.c, pred.c: Rename -fulldays to -daystart.
4138 * defs.h, find.c, parser.c, pred.c: Add many new predicates
4139 from Jay Plett (jay@princeton.edu).
4141 Wed Aug 14 14:37:06 1991 David J. MacKenzie (djm at bleen)
4143 * parser.c (parse_size), pred.c (pred_size), defs.h (struct
4144 size_t): Allow `k' to follow number to measure size in Kbytes.
4145 * parser.c (parse_size, get_num, insert_num), defs.h (struct
4146 size_t): Use enum comparison_type instead of short.
4148 Fri Aug 9 00:49:32 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu)
4150 * xargs.c (read_line): Use isblank, to support POSIX locales.
4152 * fstype [FS_STATVFS]: New code for SVR4, from slootman@dri.nl
4154 * configure: Figure out when to use it.
4156 * configure: Check for st_blocks in struct stat.
4157 * listfile.c (ST_NBLOCKS): New macro.
4158 (list_file): Print file's block count.
4159 Use S_ISLNK instead of S_IFLNK.
4160 * fileblocks.c: New file, from fileutils.
4162 Thu Aug 8 17:20:19 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu)
4164 * parser.c, pred.c [CACHE_IDS]: Optional code to turn uid and
4165 gid lookups into table lookups.
4167 Wed Aug 7 00:22:29 1991 David J. MacKenzie (djm at wheat-chex)
4169 * configure, Makefile.in's: Support +srcdir option via VPATH.
4170 Clean up clean targets.
4172 Sat Jul 20 01:11:51 1991 David J. MacKenzie (djm at apple-gunkies)
4174 * configure: Filter /etc and /usr/etc from path.
4176 * xargs.c (wait_for_proc): Fix handling of child exit status.
4177 (main): Exit with a nonzero status if any child did.
4179 * pred.c (launch): Flush stdout and stderr before forking.
4181 * fstype.c (filesystem_type) [FS_MNTENT]: Skip entries of
4184 Fri Jul 19 22:53:42 1991 David J. MacKenzie (djm at bleen)
4186 * pred.c, locate.c: Use fnmatch instead of glob_match.
4187 * fnmatch.c, fnmatch.h: New files.
4189 * Many files: Use string.h if STDC_HEADERS, as well as if USG.
4191 * locate.c, code.c, bigram.c: Possibly use pathconf to get
4192 PATH_MAX. Use malloc to allocate path arrays.
4194 * xargs.c: Possibly use sysconf to get ARG_MAX.
4195 (env_size): Make definition unconditional.
4196 (main): Do arg_max adjustment that can't be done with
4197 preprocessor now that ARG_MAX might be a function call.
4198 (do_exec): Exit with status 126 or 127 after failed exec, for
4201 * xargs.c, pred.c, listfile.c: Use POSIX, not UNISTD_MISSING.
4202 * wait.h: Use POSIX, not WAIT_MACROS_MISSING.
4204 * COPYING: Use version 2. Update all files.
4206 * Replace Makefile and lib/Makefile with Makefile.in,
4207 lib/Makefile.in and configure. Update README.
4209 Fri Apr 5 12:49:09 1991 David J. MacKenzie (djm at apple-gunkies)
4213 Fri Mar 15 20:44:45 1991 David J. MacKenzie (djm at geech.ai.mit.edu)
4215 * xargs.c (main): Always run the command if some args are left over.
4216 Rename some variables.
4218 Fri Jan 18 03:35:57 1991 David J. MacKenzie (djm at geech.ai.mit.edu)
4220 * bigram.c, code.c, locate.c: Use LIMITS_MISSING, not
4221 _POSIX_SOURCE, to decide whether to include limits.h.
4223 * parser.c, pred.c, listfile.c: Use POSIX, not _POSIX_SOURCE,
4224 to decide whether to declare getpwuid and getgrgid.
4226 * xargs.c: Use POSIX, not _POSIX_SOURCE, to determine whether
4227 to include memory.h.
4229 Sat Jan 12 04:12:34 1991 David J. MacKenzie (djm at wookumz.ai.mit.edu)
4231 * defs.h, find.c, parser.c, pred.c: Remove -permmask option.
4233 Thu Jan 10 04:32:52 1991 David J. MacKenzie (djm at albert.ai.mit.edu)
4235 * wait.h: Include sys/types.h to get pid_t.
4237 * xargs.c [USG && !STDC_HEADERS]: Only include memory.h if not
4240 Tue Jan 1 23:53:32 1991 David J. MacKenzie (djm at albert.ai.mit.edu)
4244 Wed Dec 26 03:25:51 1990 David J. MacKenzie (djm at apple-gunkies)
4246 * locate.c, bigram.c, code.c: Attempt to get max. path length
4247 on more kinds of systems, incl. POSIX.
4249 * pred.c, listfile.c, xargs.c: Get some decls from unistd.h,
4252 * find.c, defs.h: Make `cur_day_start' a time_t, not long.
4254 Fri Dec 21 01:49:12 1990 David J. MacKenzie (djm at egypt)
4256 * defs.h, parser.c: Remove unused field from `struct exec_t'.
4258 * xargs.c: Add +no-run-if-empty option to cause the command to
4259 not be run if the input is empty.
4261 * defs.h (struct exec_t): Change the array of offsets into an
4262 array of `struct path_arg'.
4263 * parser.c (insert_exec_ok): Fill in new fields, to allow "{}"
4264 to be substituted (multiple times) anywhere in an arg to -exec
4266 * pred.c (pred_exec): Add code to substitute "{}" within args.
4267 (pred_ok): After prompting, just run pred_exec.
4269 Thu Dec 20 02:32:09 1990 David J. MacKenzie (djm at egypt)
4271 * fstype.c (filesystem_type) [FS_MNTENT]: Allow for optional
4272 "0x" at front of "dev=" mount option, which amd puts there but
4273 Sun automounter doesn't.
4275 Sat Dec 15 19:01:12 1990 David J. MacKenzie (djm at egypt)
4277 * find.c (main), util.c (usage): Make directory args optional,
4280 Sat Dec 15 18:36:29 1990 David J. MacKenzie (djm at apple-gunkies)
4282 * listfile.c: Define major and minor if not defined (as in POSIX).
4284 Mon Dec 3 01:04:35 1990 David J. MacKenzie (djm at alborz)
4286 * find.c, fstype.c, parser.c, pred.c, util.c: Flush stdout before
4287 writing to stderr, in case they have been redirected to the
4288 same file descriptor.
4290 * pred.c (launch): Use POSIX wait macros from wait.h.
4292 * xargs.c (print_xargs): Read from tty_stream, not stdin.
4294 Tue Nov 20 16:48:24 1990 David J. MacKenzie (djm at apple-gunkies)
4298 * fstype.c [FS_USG_STATFS]: New code.
4299 [FS_STATFS]: For symlinks, statfs the directory the link is in
4300 instead of the link.
4301 * Various files: Conditionalize some declarations on
4302 STDC_HEADERS or _POSIX_SOURCE.
4304 Fri Nov 16 12:24:43 1990 David J. MacKenzie (djm at egypt)
4306 * modetype.h: New file.
4307 parser.c, pred.c: Use it.
4309 Thu Nov 15 18:05:54 1990 David J. MacKenzie (djm at apple-gunkies)
4311 * xmalloc.c: New file from fileutils.
4313 * fstype.c (fstype_to_string): Add case for MFS.
4314 (filesystem_type): Take a pathname as a second arg.
4315 [FS_STATFS] return "unknown" instead of exiting if statfs
4316 fails because of ENOENT.
4317 * pred.c (pred_fstype): Pass the pathname. Set current_dev.
4318 * find.c (process_path): Make root_dev local again.
4320 Mon Nov 12 02:54:00 1990 David J. MacKenzie (djm at apple-gunkies)
4322 * pred.c (pred_fstype): Free old fs type.
4324 * fstype.c, pred.c (pred_fstype), parser.c (parse_fstype):
4325 Reread the file system type info. every time a filesystem
4326 mount point is crossed, to allow for automounting.
4328 * xstrdup.c: New file from fileutils.
4330 * find.c (process_path): Rename root_dev to current_dev and
4331 make it global, for -fstype.
4333 * wait.h: New file taken from xargs.c.
4335 * xargs.c: Make limits.h vs. sys/param.h conditional on
4336 LIMITS_MISSING instead of USG, to accomodate SVR2.
4338 Thu Nov 8 11:52:22 1990 David J. MacKenzie (djm at apple-gunkies)
4340 * parser.c, pred.c, listfile.c: If not _POSIX_SOURCE, declare
4341 getpwuid and getgrgid. Use them.
4343 * listfile.c: If not _POSIX_SOURCE, define S_ISDIR and
4346 * find.c: Use S_ISDIR instead of S_IFDIR, and define if not
4349 * Makefile: Define AR and RANLIB and pass to child makes.
4350 lib/Makefile: Use them.
4352 * xargs.c (WIFSIGNALED): Redefine so it works.
4354 Mon Nov 5 00:02:01 1990 David J. MacKenzie (djm at apple-gunkies)
4356 * find.c (process_path): For -xdev, process filesystem
4357 mountpoints (but don't descend them), instead of skipping them
4360 * find.c, parser.c, defs.h: Add -follow predicate.
4362 * xargs.c: Change ifdefs to support STDC POSIX systems.
4364 Sat Nov 3 20:18:05 1990 David J. MacKenzie (djm at apple-gunkies)
4366 * xargs.c (do_exec): Child process exits with status 255, not
4367 127, if command can't be run.
4369 Fri Nov 2 02:11:42 1990 David J. MacKenzie (djm at apple-gunkies)
4371 * xargs.c: Exit with status 127 if running commmand fails, as
4374 * fstype.c: Support -fstype for Ultrix (-DFS_GETMNT).
4375 Sun/BSD code is now -DFS_MNTENT.
4377 Thu Nov 1 13:06:01 1990 David J. MacKenzie (djm at egypt)
4379 * Reorganize into subdirectories and add xargs. Rewrite Makefiles.
4381 * find.c (process_path, main): Allow a maxdepth of 0, meaning
4382 only process command line args.
4384 * parser.c, pred.c: Add -print0 predicate.
4386 * xargs.c: Add -0 option and long options. Move standard
4387 library functions into separate files. Use error instead of
4388 fatal and fprintf/perror. Use POSIX macros for examining exit
4390 (read_string): New function.
4392 Fri Sep 21 10:21:09 1990 David J. MacKenzie (djm at apple-gunkies)
4394 * find.c (process_path): Take DEPTH as an arg instead of ROOT,
4397 Thu Sep 20 23:58:47 1990 David J. MacKenzie (djm at apple-gunkies)
4399 * parser.c (parse_maxdepth): New function.
4400 * find.c (process_path): If -maxdepth was given, don't go
4401 more than that many levels deep.
4402 * defs.h: Declare maxdepth.
4404 Wed Sep 12 02:12:31 1990 David J. MacKenzie (djm at apple-gunkies)
4406 * parser.c: Add -not as synonym for !.
4408 Sun Aug 26 06:16:08 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu)
4410 * Makefile (TAGS): New target.
4412 Sun Aug 12 00:32:01 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
4414 * xargs.c (main): Tell getopt to not permute.
4416 Sat Aug 4 21:43:45 1990 David J. MacKenzie (djm at pogo.ai.mit.edu)
4418 * parser.c (parse_perm), pred.c (pred_perm): Always compare
4421 * locate.c, Makefile: Rename 'fastfind' program to 'locate',
4422 following comment in POSIX.2 draft 10 rationale for find.
4424 Wed Jul 25 18:45:03 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
4426 * listfile.c (getuser, getgroup): Make uid and gid unsigned
4429 Mon Jul 16 13:40:13 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
4431 * defs.h: Don't declare fprintf and printf, in case they have
4432 prototypes in stdio.h (important for functions that use stdarg).
4434 Sun Jul 15 23:39:39 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
4436 * parser.c (parse_and): New function, for compatibility.
4438 Wed Jul 4 00:17:57 1990 David J. MacKenzie (djm at apple-gunkies)
4440 * find.c (main): Only enclose expressions that produce no side
4441 effects within `( ... )'.
4443 Tue Jul 3 01:59:39 1990 David J. MacKenzie (djm at apple-gunkies)
4445 * parser.c (strspn): Stop when end of string reached.
4449 * Move version number from Makefile to new file version.c.
4450 * parser.c: Recognize new -version predicate.
4452 * find.c (main): If no predicates that produce output are
4453 given, default to -print if the entire expression is true, not
4454 just the last part of an alternation.
4455 * Print the names of predicates with invalid arguments.
4457 Mon Jul 2 23:48:17 1990 David J. MacKenzie (djm at apple-gunkies)
4459 * pred.c: Don't check for invalid comparison types in numeric
4460 predicate functions.
4462 Thu Jun 28 00:34:57 1990 David J. MacKenzie (djm at apple-gunkies)
4464 * parser.c (parse_regex): Set fastmap and translate before
4467 Mon Jun 25 18:08:59 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
4469 * fastfind.c (fastfind): Initialize count to 0.
4471 * lib/updatedb.sh: Only do regex comparison on directories,
4474 * listfile.c (list_file): Truncate user and group name to 8 chars.
4476 Sun Jun 24 13:51:27 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
4480 * Makefile [DISTFILES]: Add COPYING.
4482 Fri Jun 22 03:54:27 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
4486 Tue Jun 19 03:55:28 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
4488 * lib/updatedb.sh: Prune entries that match PRUNEREGEX.
4489 Split up finding files from computing bigrams.
4490 Use redirection instead of nonportable grep -s to detect sort
4491 failure. Optionally search network filesystems as well as
4494 * pred.c (pred_regex): Match against full pathname instead of
4496 * util.c (basename): Return "/", not "", if given "/".
4498 * find.c (process_path): Fix error in handling "/" directory.
4500 Mon Jun 18 01:49:16 1990 David J. MacKenzie (djm at apple-gunkies)
4502 * parser.c [STRSPN_MISSING] (strspn): New function.
4504 Sun Jun 17 13:54:09 1990 David J. MacKenzie (djm at apple-gunkies)
4506 * listfile.c: New file.
4507 * parser.c (parse_ls): New function.
4508 * pred.c (pred_ls): New function.
4510 * find.c (main): Remove interface to fastfind, to prevent
4511 conflict with POSIX syntax.
4512 * util.c (usage): Remove fastfind syntax from message.
4513 * fastfind.c (main): New function.
4514 * Makefile: Make fastfind a separate program.
4516 * find.c (main): Print correct message if a predicate arg is
4519 * parser.c (insert_exec_ok): Make args that start with a ';' but
4520 contain other characters not terminate the command.
4522 Fri Jun 15 00:33:45 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
4524 * fstype.c: If MOUNTED isn't defined but MNT_MNTTAB is, use it
4525 instead. True for HP/UX, at least.
4527 Thu Jun 14 10:10:25 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
4529 * savedir.c: New file; now find won't run out of file
4530 descriptors in deep trees.
4531 * find.c (process_path): Use savedir.
4533 Sat Jun 9 03:15:21 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
4535 * parser.c (parse_permmask): Allow symbolic mode masks.
4536 (parse_perm): Free 'struct change' when done with it.
4537 (get_oct): Function removed.
4539 * find.c (process_path): Allow arbitrarily-long filenames.
4540 More efficient string copying. Initialize perm_mask to 07777
4543 Thu Jun 7 04:22:42 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
4545 * Makefile, find.c: Use DIRENT to control whether <dirent.h>
4548 Thu May 31 04:46:11 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
4550 * parser.c (parse_regex): New function.
4551 * pred.c (pred_regex): New function.
4553 * fstype.c (read_mtab): If mtab entry has a "dev=" option
4554 (like in SunOS 4.1), use it, so there is no need to stat the
4555 special file later on.
4556 (xatoi, strstr): New functions.
4558 Mon May 21 01:04:42 1990 David J. MacKenzie (djm at abyss)
4560 * lib/updatedb.sh: Put BINDIR in PATH.
4562 * fstype.c: Do nothing if MNTENT_MISSING is defined.
4564 * fstype.c: New file.
4565 * parser.c (parse_fstype): New function.
4566 * pred.c (pred_fstype): New function.
4568 * parser.c (parse_newer): Failure to stat -newer file is a
4571 * pred.c (pred_ok): Flush output before reading. Use getchar
4574 * pred.c (pred_prune): Return false if -depth given.
4575 * find.c: Apply the predicates to the dir when -depth and
4578 Sun May 20 19:55:30 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
4580 * pred.c (pred_prune): Set new global var `stop_at_current_level'.
4581 * find.c (process_path): Test and reset it.
4583 Fri May 18 01:56:17 1990 David J. MacKenzie (djm at abyss)
4585 * modechange.c, modechange.h: New files.
4586 * parser.c (parse_perm): Use mode_compile and mode_adjust to
4587 parse arg, to allow symbolic mode for POSIX.
4589 Thu May 17 02:07:44 1990 David J. MacKenzie (djm at abyss)
4591 * parser.c (get_oct): Don't consider an empty string a valid number.
4593 * parser.c (parse_perm): If arg starts with '-', set flag bit
4594 for special comparison (POSIX).
4595 * pred.c (pred_perm): If flag bit set, compare s[ug]id &
4596 sticky bits as well, and return true if the given perms are
4597 set, ignoring other bits.
4599 * find.c: New global var `exit_status'. Use it. (POSIX)
4600 * parser.c: Set `exit_status' if lstat on -newer file fails.
4602 * fastfind.c: New file.
4603 * find.c (main): Call fastfind if given only 1 arg.
4604 * util.c (usage): Update message.
4605 * lib/{Makefile,updatedb.sh,bigram.c,code.c}: New files.
4606 * Makefile: Add 'all' and 'install' targets.
4608 Wed May 16 23:23:35 1990 David J. MacKenzie (djm at abyss)
4610 * parser.c (parse_nogroup, parse_nouser): Implement.
4611 * pred.c (pred_nogroup, pred_nouser): Implement.
4613 Mon May 14 00:09:35 1990 David J. MacKenzie (djm at abyss)
4615 * find.c: Add variable `stay_on_filesystem' for -xdev.
4616 (process_path): Take an arg determining whether this call is
4617 the root of a tree. Use lstat instead of stat. If
4618 stay_on_filesystem, don't process a dir on a different
4621 * parser.c (parse_newer): Use lstat instead of stat. Is this right?
4622 (parse_xdev): Set stay_on_filesystem.
4624 * parser.c: Add dummy parse_nogroup, parse_nouser,
4625 parse_prune, and parse_xdev; to be written later.
4626 * pred.c: Add dummy pred_nogroup, pred_nouser, pred_prune.
4628 * find.c: Support System V directory library/headers.
4630 * find.c (process_path): Don't continue with a file that stat
4633 * defs.h, parser.c, pred.c: Change 'u_long' and 'u_short' to
4634 'unsigned long' and 'unsigned short'.
4635 * find.c, defs.h: Remove 'convert_glob' variable.
4636 * parser.c (parse_fullregex): Function removed.
4637 (parse_name): Remove regular expression code.
4638 (parse_type): Recognize sockets.
4639 Add code to check for missing arguments to many parse_* functions.
4640 * pred.c (pred_name): Use glob_match instead of regex.
4642 Sun May 13 17:45:09 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
4644 * Replace fprintf, simple_error, and mem_error with error and
4647 * Fix string header includes for USG.
4649 Tue Mar 27 12:40:29 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
4651 * defs.h: Change some #defines to enums.
4653 Sun Mar 25 22:08:58 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
4655 * find.c (main): Don't take basename of argv[0].
4657 * util.c (xmalloc): New function.
4658 * find.c, parser.c, utils.c: Use xmalloc instead of malloc.
4660 * pred.c: Remove emulation of regex for BSD and use GNU
4661 library version in regcmp.c instead.
4662 * parser.c: Remove emulation of regcmp for BSD and use GNU
4663 library version in regcmp.c instead.
4664 * Makefile: Link with regex.o and regcmp.o.
4665 Add a DISTFILES macro and dist target.
4667 * Indent source code. Move RCS logs to this file.
4669 Wed Mar 21 09:30:18 1990 David J. MacKenzie (djm at pogo.ai.mit.edu)
4671 * xargs.c: Indent. Comment and rename some global variables.
4672 (main): Use getopt to parse options. Open new global var
4673 `tty_stream' to /dev/tty if querying requested.
4674 (print_args): Read response from tty_stream, not stdin.
4675 (xmalloc): New function.
4676 Global: Use xmalloc instead of malloc.
4677 (usage): Revise message.
4679 87/02/22 20:01:20 20:01:20 cire (Eric B. Decker)
4681 * pred.c: added guts to pred_size
4683 87/02/22 00:59:42 00:59:42 cire (Eric B. Decker)
4685 * pred.c: added guts to perm and permmask.
4687 87/02/21 23:02:21 23:02:21 cire (Eric B. Decker)
4689 * pred.c: made pred_name only look at the last component of
4692 87/02/21 22:26:47 22:26:47 cire (Eric B. Decker)
4694 * pred.c: added guts to name. useds regex and regcmp to do
4695 regular expression handling.
4697 87/02/21 00:17:21 00:17:21 cire (Eric B. Decker)
4699 * pred.c: added predicate newer
4701 87/02/20 11:40:07 11:40:07 cire (Eric B. Decker)
4703 * pred.c: added guts to pred_ok
4705 87/02/19 23:52:37 23:52:37 cire (Eric B. Decker)
4707 * pred.c: finished exec.
4709 87/02/22 20:01:09 20:01:09 cire (Eric B. Decker)
4711 * parser.c: added guts to parse_size
4713 87/02/22 00:59:16 00:59:16 cire (Eric B. Decker)
4715 * parser.c: added guts of perm and permmask. added getoct
4716 routine for perm and permmask
4718 87/02/21 23:32:50 23:32:50 cire (Eric B. Decker)
4720 * parser.c: added -fre, -fullregex predicate to turn off
4723 87/02/21 23:01:01 23:01:01 cire (Eric B. Decker)
4725 * parser.c: reworked name so the regexpr pattern includes $ at
4726 the end to force globbing to work correctly. End of the
4727 pattern refers to the end of the filename.
4729 87/02/21 22:25:34 22:25:34 cire (Eric B. Decker)
4731 * parser.c: added guts to name. uses a conversion from
4732 globbing to regexp format. uses regex and regcmp to actually
4735 87/02/21 00:17:11 00:17:11 cire (Eric B. Decker)
4737 * parser.c: added predicate newer
4739 87/02/20 11:39:35 11:39:35 cire (Eric B. Decker)
4741 * parser.c: added ok guts. consolidated exec and ok to using
4744 87/02/19 00:20:54 00:20:54 cire (Eric B. Decker)
4746 * parser.c: minor bug in -fulldays predicate parser. It
4747 should have set the flag full_days to true.
4749 87/02/22 00:58:32 00:58:32 cire (Eric B. Decker)
4751 * find.c: changed where we are setting perm_mask to -1. need
4752 to make sure that this happens before every apply_predicate.
4754 87/02/21 23:32:11 23:32:11 cire (Eric B. Decker)
4756 * find.c: added error checking for no paths. better error
4757 message if illegal ordering.
4759 87/02/21 22:19:58 22:19:58 cire (Eric B. Decker)
4761 * find.c: added global convert_glob
4763 87/02/22 20:00:12 20:00:12 cire (Eric B. Decker)
4765 * defs.h: added definition of BLKSIZE for size
4767 87/02/21 22:19:25 22:19:25 cire (Eric B. Decker)
4769 * defs.h: added global convert_glob for name