Eric Blake
756cecd45b
Allow choice of default arg size, Savannah bug #20594 .
...
* configure.ac (DEFAULT_ARG_SIZE): Check environment for a default
size override.
* lib/buildcmd.c (bc_use_sensible_arg_max): Use default size from
configure, if requested.
* README (DEFAULT_ARG_SIZE): Mention the ability to tune this at
configure time.
* NEWS: Document the change.
2007-08-01 03:39:57 +00:00
James Youngman
1c43fc92b5
Migrated from GPL version 2 to GPL version 3
2007-07-02 08:25:45 +00:00
James Youngman
f7671dc609
Fix Savannah bug #20263 (compilation err on DEC OSF/1. Include <sys/stat.h> in files where where we use struct stat. Removed some dead code following some calls to assert(0), which are now backed up by abort calls. Use assert (0) rather than assert (false). Make sure we include the space.
2007-06-26 08:24:19 +00:00
James Youngman
5a7e83f1d7
Fixed various lint complaints pointed out by build-aux/src-sniff.py
2007-06-21 23:41:08 +00:00
James Youngman
dc4a7adf94
Bugfixes for Savannah bugs #19768 and #19766
2007-05-01 09:46:30 +00:00
James Youngman
5f288d46f4
Avoid calling stat for pred_delete. Instead, try the unlink assuming the target is a file and then try again with the AT_REMOVEDIR flag if errno gets set to EISDIR
2007-04-28 17:51:14 +00:00
James Youngman
3d2128d30c
Simplifythe calculation of the defautl value of xargs's -s option. Avoid an assertion failure on AIX when _SC_ARG_MAX is larger than LINE_MAX
2007-04-28 14:27:40 +00:00
James Youngman
52360fa978
Call gnulib's mbsstr() instead of a locally-defined mbsstr()
2007-04-25 09:26:10 +00:00
James Youngman
455a3be584
Added SOC guidance comments
2007-04-24 22:08:36 +00:00
James Youngman
b46b0d8938
Support fts() in FTS_CWDFD mode. Also work around Savannah bug #18466 (with a performance penalty).
2007-04-14 21:41:59 +00:00
James Youngman
c7ca8e10f2
Eliminated a few compiler warnings
2007-02-25 12:05:51 +00:00
James Youngman
77c2709e77
Work around Savannah bug #17877 , which manifests on systems which use
...
the same inode number for more than one file (smbfs, FAT, sometimes
some FUSE-based ones). This happens for unreferenced files. Fix
suggested by Jim Meyering.
2006-11-20 22:32:08 +00:00
James Youngman
7bdf3f39e5
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:43 +00:00
James Youngman
afd3f429f1
Fixed Savannah bug#16738, find does not subtract environment size in find .. -exec {} +
2006-08-05 18:02:54 +00:00
James Youngman
7046234c8b
Fixed many compilation warnings
2005-12-23 18:24:20 +00:00
James Youngman
ceb1f0aef4
Merge to trunk from 4.2.x fixes
2005-11-24 01:41:47 +00:00
James Youngman
dd0afc6850
Merged changes from the 4.2.x branch
2005-11-23 07:06:13 +00:00
James Youngman
71bc3468b0
reindent and untabify
2005-11-23 00:56:44 +00:00
James Youngman
db906d83c3
Applied all the trunk changes (up to this point) to the 4.3.x sources
2005-11-21 04:00:13 +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
a76cefba3d
Updated the FSF's postal address
2005-06-07 22:24:56 +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
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
756d70ae57
Refactored xargs to use an external library function from the new file buildcmd.c
2005-01-07 20:50:44 +00:00