Commit Graph

107 Commits

Author SHA1 Message Date
James Youngman
3d305e10b4 Several updates resulting from updating gnulib from 2005-07-26 to 2007-02-24 2007-04-22 15:43:04 +00:00
James Youngman
a4b720fa02 New method of checking out and configuring gnulib - define which version we need to use, and remember which version we used 2007-02-28 23:57:54 +00:00
James Youngman
c377664d97 Updated copyright years 2007-02-27 10:38:50 +00:00
James Youngman
b3490cd580 Applied trivial patch from supriya kannery <supriyak@in.ibm.com> which fixes a memory leak. 2007-02-24 10:01:11 +00:00
James Youngman
c8dd684145 Fixed typo 2007-01-13 21:19:43 +00:00
James Youngman
6343e6944a Fixed Svannah bug #17782 ('./' prefix added at start of arg while it should be added at the start of the expansion of {}) 2006-11-08 07:11:28 +00:00
James Youngman
5178ce278c Fixed Savannah bug#16738, find does not subtract environment size in find .. -exec {} + 2006-08-05 18:03:21 +00:00
James Youngman
e171c73fd5 Prefer the word 'Invalid' or the phrase 'not allowed' over 'Illegal', as per the GNU codign standards, and as per the suggestion from Benno Schulenberg 2005-11-29 07:20:57 +00:00
James Youngman
66da3eb2e8 Deleted inaccurate comment about the default value of ctl->args_per_exec. 2005-11-24 01:38:37 +00:00
James Youngman
cbb34463f0 Be more conservative about the total number of arguments we will allow (to avoid exec limits on Linux/PPC) 2005-11-24 01:30:49 +00:00
James Youngman
aecba2e815 Ensure that the test suite still passes even if the current system's value of ARG_MAX is different from the development/test system 2005-11-23 06:11:08 +00:00
James Youngman
a72b6e23c0 reindent and untabify 2005-11-23 00:56:05 +00:00
James Youngman
1c11f23726 In the success case, extendbuf() should preserve the previous value of
errno.  Fixes Savannah bug #14842.
2005-11-19 22:10:46 +00:00
James Youngman
8ca2e373e4 Applied bugfix from Jim Meyering (tiny change), where many short arguments would cause xargs (and probably find -exec .. {} +) to fail because execve() returns E2BIG, which we should avoid 2005-11-19 20:31:12 +00:00
James Youngman
95aaed2726 Fixed Savannah bug #14616, which was that c99 code had crept in and it didn't compile on c89 compilers 2005-10-08 06:38:17 +00:00
James Youngman
2d8a8ceb77 Fixed compilation failure on Cygwin - Savannah Bug #14025 (tiny change, three lines), reported and fixed by Eric Blake 2005-08-09 21:54:54 +00:00
James Youngman
25ca02af9e Don't build regexprops if we are cross compiling 2005-07-29 21:11:27 +00:00
James Youngman
23704106a8 Further small corrections from Karl. 2005-07-26 16:13:24 +00:00
James Youngman
0414fa8187 Put the syntaxes in alphabetical order. 2005-07-26 09:05:34 +00:00
James Youngman
a2acc374c3 Karl made some more readability suggestions. 2005-07-26 09:03:27 +00:00
James Youngman
7860542d5a Allow the caller to detect if one regex type is identical to another. 2005-07-24 21:16:18 +00:00
James Youngman
cc4c9bbd2e Made Texinfo style corrections suggested by Karl Berry. 2005-07-24 21:13:59 +00:00
James Youngman
8ef983b3db Made Texinfo style corrections suggested by Karl Berry. 2005-07-24 21:02:56 +00:00
James Youngman
6285dd2732 Added --regextype and -regextype options to locate and find respectively, and documented these 2005-07-14 22:13:02 +00:00
James Youngman
3876876e4f New files for selecting regex type based on a keyword 2005-07-03 16:05:53 +00:00
James Youngman
279dfbcd32 Fixed Savannah bug #13495: find now uses Emacs-style regexps by default 2005-07-03 15:03:16 +00:00
James Youngman
bc60093b97 Assume unistd.h is present - avoid using HAVE_UNISTD_H 2005-07-02 09:54:34 +00:00
James Youngman
92dd7816dc Applied patch from Jim Meyering; if we open an output file but stderr is closed, ensure that we don't send diagnostics to that file 2005-07-02 09:44:03 +00:00
James Youngman
f4bd6dd6f3 Applied patch from Dmitry V. Levin fixing two compilation warnings. 2005-06-19 21:39:46 +00:00
James Youngman
4c3f89038c Switch to a new scheme for saving directory entry data which is extensible to allow additional data to be saved 2005-06-10 17:40:36 +00:00
James Youngman
45bcd717b6 Appled patch from Bas - fixing compiler warning. 2005-06-08 21:55:54 +00:00
James Youngman
a76cefba3d Updated the FSF's postal address 2005-06-07 22:24:56 +00:00
James Youngman
3d28858599 Fix Savannah bug #13324: Fix compiler warnings for GCC-3.4 2005-06-07 20:38:56 +00:00
James Youngman
296989f629 Fixed Savannah bug #13303, find should filter out non-printable characters if outputting to tty 2005-06-07 19:36:00 +00:00
James Youngman
f0efa9ef15 Fixed Savannah bug #12230, in which '-exec echo == {} +' is always run, even if there were no matched files 2005-03-07 22:47:15 +00:00
James Youngman
e94d11fb7c Always build forcefindlib.c 2005-02-05 12:09:33 +00:00
James Youngman
5dfee34c44 Updated/corrected the email address for David MacKenzie, one of the original authors of findutils 2005-01-31 23:40:27 +00:00
James Youngman
1296429186 Removed some unused variables (patch from Dmitry V. Levin) 2005-01-31 23:20:06 +00:00
James Youngman
1a1eec87dd Merged the d_type optimisation code; this is disabled by default, and can be enabled with 'configure --enable-d_type-optimisation' 2005-01-23 11:21:34 +00:00
James Youngman
529749736e Also need buildcmd.h. 2005-01-21 20:30:51 +00:00
James Youngman
ae831342db Initial implementation (temporarily disabled). 2005-01-17 08:49:26 +00:00
James Youngman
f668774dd7 Resolved merge conflict. 2005-01-17 00:07:24 +00:00
James Youngman
525783573f Make sure nextelem.h is included in the list of sources. 2005-01-17 00:05:29 +00:00
James Youngman
83f93ae1a3 Use prototypes for next_element() to make sure it is called correctly. 2005-01-17 00:04:23 +00:00
James Youngman
5ba8ad4ab9 Oops, initialise state->cmd_initial_argv_chars to zero. 2005-01-16 23:35:36 +00:00
James Youngman
f299eefa5d Tidied up formatting of arg list for bc_do_insert 2005-01-16 00:02:34 +00:00
James Youngman
cce1abe836 Implemented -execdir and -okdir 2005-01-15 10:22:35 +00:00
James Youngman
f0a6ac6de9 First working version of -exec ...+ 2005-01-15 09:32:49 +00:00
James Youngman
cd983bf9a4 Initial implementation of -exec ..{} +, but currently disabled since not yet working 2005-01-09 19:22:59 +00:00
James Youngman
e335614eb7 If curdir_ok is 0 and an element is empty, return "" instead of NULL
so that the caller knows to keep calling us.
2005-01-08 12:57:21 +00:00