Commit Graph

  • c67c48b709 We need the regex module anyway, to allow compilation on Solaris James Youngman 2005-01-24 09:37:19 +00:00
  • 853b5d90e5 Invoke gl_INCLUDED_REGEX directly to ensure successful compilation on systems like Solaris, which lacks those functions in libc (fixes GNU Savannah bug #11710). James Youngman 2005-01-23 22:26:57 +00:00
  • 1bf833c66a -S is a synonym for --statistics James Youngman 2005-01-23 19:50:32 +00:00
  • 5ea044acae Documented the new -H, -L and -P options. James Youngman 2005-01-23 19:23:58 +00:00
  • bea499a0bb Implement options -L (default), -H and -P, which mean the same things as for find, except for the fact that the default is -L rather than -P James Youngman 2005-01-23 19:08:12 +00:00
  • c9dcb0e2e8 Corrected definition of the exit status for -quit. James Youngman 2005-01-23 18:35:13 +00:00
  • b4bda4bec0 If DEBUG_STAT is set, issue a debug message when we call chdir() so that we can figure out what is actually being stat()ed James Youngman 2005-01-23 18:07:12 +00:00
  • a786ceaf63 Removed spurious newline from help message (bug report from Karl Berry). James Youngman 2005-01-23 17:20:41 +00:00
  • 1a1eec87dd Merged the d_type optimisation code; this is disabled by default, and can be enabled with 'configure --enable-d_type-optimisation' FINDUTILS_4_2_13-1 James Youngman 2005-01-23 11:21:34 +00:00
  • 30ce72fa3a Updated optimisation NEWS item to indicate the effect on runtime. James Youngman 2005-01-23 11:10:03 +00:00
  • eecb91807a Prepare for release of findutils-4.2.12 FINDUTILS_4_2_12-1 James Youngman 2005-01-22 18:52:14 +00:00
  • f6e8eb6228 Brought up to date with recent changes. James Youngman 2005-01-22 18:51:11 +00:00
  • 3a8dd6f529 Switch to using the gnulib gettext module, to ensure that 'make distcheck' works with current xgettext, autoconf, etc. James Youngman 2005-01-22 18:48:06 +00:00
  • 44ee385505 Oops, we do need to clean up after all. James Youngman 2005-01-22 18:45:15 +00:00
  • f25a030263 Added name of missing input file. James Youngman 2005-01-21 20:46:10 +00:00
  • 8ab5dffa8b Distribute a few files that we had forgotten about James Youngman 2005-01-21 20:44:03 +00:00
  • 335e8f07a3 Added some missing files. James Youngman 2005-01-21 20:36:22 +00:00
  • 529749736e Also need buildcmd.h. James Youngman 2005-01-21 20:30:51 +00:00
  • ceca53ec5a Fixed a typo. James Youngman 2005-01-21 20:28:31 +00:00
  • 05e0f592d3 Brought up to date with recent changes. James Youngman 2005-01-17 23:13:56 +00:00
  • bb83c94a22 Documented the changes so far. James Youngman 2005-01-17 23:12:51 +00:00
  • 1c3933ab03 Expected output for exec-many-rtn-success.exp James Youngman 2005-01-17 22:53:43 +00:00
  • e75956fed7 Indicate that -quit still ensures that pending commands are invoked James Youngman 2005-01-17 22:43:15 +00:00
  • abc448505a Indicate that -quit still causes partial command lines to be invoked, but there are some types of fatal error which leave such commands uninvoked. James Youngman 2005-01-17 22:37:37 +00:00
  • 8fb4a5937a Fixed savannah bug #11625 Wrong return status for -exec ... \; when command fails; also execute any pending commands when doing -quit James Youngman 2005-01-17 21:12:04 +00:00
  • cca4aad239 Various test cases for succeeding and failing forms of -exec \; and -exec {} + James Youngman 2005-01-17 21:08:39 +00:00
  • 05b0e088b3 "-exec ... {} +" always returns "true". James Youngman 2005-01-17 20:50:38 +00:00
  • ae831342db Initial implementation (temporarily disabled). James Youngman 2005-01-17 08:49:26 +00:00
  • f668774dd7 Resolved merge conflict. James Youngman 2005-01-17 00:07:24 +00:00
  • 525783573f Make sure nextelem.h is included in the list of sources. James Youngman 2005-01-17 00:05:29 +00:00
  • 83f93ae1a3 Use prototypes for next_element() to make sure it is called correctly. James Youngman 2005-01-17 00:04:23 +00:00
  • a8af6409fa When completing incomplete multiple execs, use 'eval_tree' not 'predicates' James Youngman 2005-01-16 23:36:30 +00:00
  • 5ba8ad4ab9 Oops, initialise state->cmd_initial_argv_chars to zero. James Youngman 2005-01-16 23:35:36 +00:00
  • 1758e888f9 Document the way that -execdir and -okdir will refuse to wqork if ">" is on $PATH. Also document -okdir in the manpage. James Youngman 2005-01-16 19:41:20 +00:00
  • 5522e24367 -execdir and -okdir are insecure if $PATH includes the current directory, and so they refuse to work if the user has done that. James Youngman 2005-01-16 19:26:27 +00:00
  • 92c34fb766 Oops; for -exec ... {} +, pass arguments to bc_push_arg() in the right order. Problem spotted by Geoff Clare. James Youngman 2005-01-16 19:11:49 +00:00
  • a9ceafc1c1 Removed items which have now been done. James Youngman 2005-01-16 00:09:11 +00:00
  • f299eefa5d Tidied up formatting of arg list for bc_do_insert James Youngman 2005-01-16 00:02:34 +00:00
  • 6491f6675f Added extra tests for more printf formats; patch by Andreas Metzler James Youngman 2005-01-15 23:50:21 +00:00
  • e9fb522b23 Ensure that the new long options have a relevang short option too. Also bring usage message into line with the options actually supported. Thanks to Bas van Gompel for noticing this defect. James Youngman 2005-01-15 23:34:28 +00:00
  • 1c1f4c06ff Escape "-" in SYNOPSIS. Thanks to Bas van Gompel for noticing this defect. James Youngman 2005-01-15 23:33:36 +00:00
  • 07bf69f116 Fixed typos. James Youngman 2005-01-15 23:12:48 +00:00
  • 878042127f Documented -execdir, and the "+" variants of -exec and -execdir. James Youngman 2005-01-15 12:41:59 +00:00
  • 50e570d70e Documented -execdir. James Youngman 2005-01-15 12:30:02 +00:00
  • 79fc42a898 Updated to bring into line with bc_*() interface changes James Youngman 2005-01-15 11:14:14 +00:00
  • 553768ae77 Updated with recent changes. James Youngman 2005-01-15 10:26:35 +00:00
  • cce1abe836 Implemented -execdir and -okdir James Youngman 2005-01-15 10:22:35 +00:00
  • f0a6ac6de9 First working version of -exec ...+ James Youngman 2005-01-15 09:32:49 +00:00
  • cd983bf9a4 Initial implementation of -exec ..{} +, but currently disabled since not yet working James Youngman 2005-01-09 19:22:59 +00:00
  • 910ff846f2 Fixed typo in comment. James Youngman 2005-01-08 14:15:42 +00:00
  • 435c38540c We now understand but do not implement -execdir (a *BSD invention, and a very useful security enhancement) and -okdir (the obvious companion to it) James Youngman 2005-01-08 14:12:51 +00:00
  • 6acfeff358 The GNU coding standard requires a space between the function name and its parenthesised argument list. James Youngman 2005-01-08 14:10:33 +00:00
  • baadc9b8aa Understand the -exec ... {} \+ construction (for multiple replacement). No support yet. James Youngman 2005-01-08 13:28:45 +00:00
  • 2bac1c97ba Indicate that empty elements in the dbpath are treated as synonyms for the default database. James Youngman 2005-01-08 13:00:17 +00:00
  • a0eae5a2ed Support empty elements in the dbpath as synonyms for the default database. These colons can be leading, trailing or in the middle of the string. We no longer com,plain if the user does this. James Youngman 2005-01-08 12:58:14 +00:00
  • e335614eb7 If curdir_ok is 0 and an element is empty, return "" instead of NULL so that the caller knows to keep calling us. James Youngman 2005-01-08 12:57:21 +00:00
  • 03461a7dda Savannah bug 11517: find, xargs, locate, etc. should not hide write failures; patch from Jim Meyering James Youngman 2005-01-08 12:31:06 +00:00
  • 0f87f51ff0 changed .pot creation date James Youngman 2005-01-08 12:29:43 +00:00
  • 4f6c36b974 Take into account the FSF copyright-assignments list James Youngman 2005-01-08 12:26:35 +00:00
  • 7f79ba4df0 If -quit is used, the exit value can be nonzero if errors have occurred. James Youngman 2005-01-08 12:23:57 +00:00
  • b69c0a4a56 Removed incorrect comment about -H, -P and -follow in HISTORY. James Youngman 2005-01-08 12:23:15 +00:00
  • 756d70ae57 Refactored xargs to use an external library function from the new file buildcmd.c James Youngman 2005-01-07 20:50:44 +00:00
  • 24491dd27f no longer the same as the released 4.2.11 version James Youngman 2005-01-07 20:49:41 +00:00
  • cbdf185eb5 Tests for the -L option James Youngman 2005-01-06 19:42:15 +00:00
  • 6d940cdb85 When a test fails, show the diffs James Youngman 2005-01-06 19:40:41 +00:00
  • a1f187d43d tests for the -l option James Youngman 2005-01-06 19:37:47 +00:00
  • 751e5f801a Added extra test files James Youngman 2005-01-06 19:17:34 +00:00
  • 84e39e90be Added tests for the -t option James Youngman 2005-01-06 19:08:09 +00:00
  • 1fa9c45532 Use a blanks-only input file for cases where there is supposed to be no output James Youngman 2005-01-06 19:05:39 +00:00
  • 2288d6ef3f Initial version. James Youngman 2005-01-06 18:10:08 +00:00
  • c85dcd3241 Corrected a typo; also indicate that it's impossible to use xargs securely due to the race condition. James Youngman 2005-01-06 18:08:15 +00:00
  • 49bfb935d1 Fixed Savannah bug 11495: fallthrough from -printf format processing from 'n' case to 'd' case. James Youngman 2005-01-05 23:52:50 +00:00
  • 0e3dbc33f7 Oops. Had duplicated an entire section. Fortunately this was after @bye, so there was no adverse effect. FINDUTILS_4_2_11-1 James Youngman 2005-01-03 10:46:06 +00:00
  • fcd85141e9 locate -b. James Youngman 2005-01-03 10:44:53 +00:00
  • 1667776a50 document locate -S James Youngman 2005-01-03 10:30:19 +00:00
  • d7ab90aabc Support locate -b as a synonym for locate --basename James Youngman 2005-01-03 10:11:48 +00:00
  • 4defba5ad7 distcheck James Youngman 2005-01-03 10:10:54 +00:00
  • f71268b291 Clean up (delete) find.out at at the end of the test. James Youngman 2005-01-03 00:45:49 +00:00
  • a366720651 Implemented the -samefile test for find James Youngman 2005-01-03 00:41:29 +00:00
  • dd49e3b941 Updated with recent changes. James Youngman 2005-01-02 23:56:04 +00:00
  • 34e6dd1f8f Bas van Gompel: two-line patch to locate.c to make locate's -i and -w options work if -e is in use. James Youngman 2005-01-02 23:51:56 +00:00
  • 11e9c4fc90 Added Bas van Gompel. James Youngman 2005-01-02 23:49:34 +00:00
  • 47a775d076 Bas van Gompel: (visit_exists) when testing for the existence of the file, check the real filename [printname], not the case-converted filename [testname]. Really these argument names are badly chosen. James Youngman 2005-01-02 23:49:09 +00:00
  • 9d792e99ed Improved the documentation for -perm, with plenty of examples, following a comment by Dan Jacobson that the comment "Symbolic modes use mode 0 as a point of departure" is baffling and unhelpful. James Youngman 2005-01-02 10:45:03 +00:00
  • 65282b202f Suggestion and patch from Bas van Gompel: (new_locate): Fix display of negative compression ratios. James Youngman 2005-01-02 10:05:51 +00:00
  • 4a217a8279 Brought up to date with recent changes James Youngman 2004-12-31 10:13:44 +00:00
  • b8a7852c96 Don't need to nest the "race conditions with..." sections so deeply. James Youngman 2004-12-31 10:04:20 +00:00
  • 225216c8a4 Corrected some spelling errors. James Youngman 2004-12-31 09:59:26 +00:00
  • 18f066d1dc Added new "Security Considerations" chapter. James Youngman 2004-12-31 09:41:41 +00:00
  • 745cbb622b Applied bugfixes from Bas van Gompel <patch-findutils.buzz@bavag.tmfweb.nl>. (lc_strcpy): Zero-terminate result. (add_visitor): Update lastinspector. (visit_substring_match_casefold): fix off-by-one error. (new_locate): Move visit_exists down to improve performance. (new_locate): Don't fold case when getting stats. James Youngman 2004-12-23 10:46:54 +00:00
  • 1aefff7653 Indicate that "cd /; find tmp -wholename /tmp" will never match anything. James Youngman 2004-12-19 14:18:04 +00:00
  • fee846efbf Documented locate --statistics. James Youngman 2004-12-19 14:07:41 +00:00
  • f9dbf8b121 Documented the --statistics option. James Youngman 2004-12-19 13:47:08 +00:00
  • e3f6f2fe02 Added support for the -S option. James Youngman 2004-12-19 13:42:36 +00:00
  • 397a670c24 Added a summary of the changes so far. James Youngman 2004-12-12 23:09:09 +00:00
  • aaae9232b1 Made some of the error messages more self-explanatory James Youngman 2004-12-12 23:04:03 +00:00
  • a34f0888bf Print pointers with %p, not %x. James Youngman 2004-12-12 20:37:34 +00:00
  • c14ef3c961 Moved option data into struct options. James Youngman 2004-12-12 20:36:56 +00:00
  • 3a45394d61 clarifications James Youngman 2004-12-12 20:36:06 +00:00
  • e50f455055 Limit the amount of searching with maxdepth. James Youngman 2004-12-12 20:24:02 +00:00