aboutsummaryrefslogtreecommitdiff
path: root/findutils/xargs.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* style fixes. No code changesDenis Vlasenko2007-04-121-1/+1
|
* xargs: fix my brain fart (resulted in memory leak)Denis Vlasenko2007-04-101-7/+6
|
* audit small applets and mark some of them as NOFORK.Denis Vlasenko2007-04-101-0/+3
| | | | | Put big scary warnings in relevant places.
* factor out NOFORK/NOEXEC code from find. Use it for xargs too.Denis Vlasenko2007-04-091-25/+10
|
* xargs: shrink code, ~80 bytesDenis Vlasenko2007-04-091-75/+77
| | | | applets.h: +#undef APPLET_NOEXEC
* EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>Denis Vlasenko2007-02-061-1/+1
|
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* preparatory patch for -Wwrite-strings #2Denis Vlasenko2007-01-291-1/+1
|
* message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko2006-10-201-1/+1
|
* attempt to regularize atoi mess.Denis Vlasenko2006-10-081-2/+2
|
* bb_applet_name -> applet_nameDenis Vlasenko2006-10-031-2/+2
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-2/+2
| | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
* xargs: simplify option parsingDenis Vlasenko2006-09-291-116/+91
|
* Remove xcalloc() and convert its callers to xzalloc(). About half of themRob Landley2006-08-031-1/+1
| | | | | were using "1" as one of the arguments anyway, and as for the rest a multiply and a push isn't noticeably bigger than pushing two arguments on the stack.
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-10/+1
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* - move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer2006-06-021-14/+3
| | | | and eventual platform specific includes in early.
* - use the defines CURRENT_TTY and VC_1; also shrink xargs a tiny bit:Bernhard Reutner-Fischer2006-05-271-3/+1
| | | | | | | | | | | | | | | | add/remove: 0/0 grow/shrink: 2/6 up/down: 5/-37 (-32) function old new delta static.add_interface 271 274 +3 static.glob3 36 38 +2 static.renice_main 409 408 -1 static.readcmd 1083 1081 -2 static.changepath 176 174 -2 static.parse_opts 56 51 -5 static.rx_main 1095 1088 -7 static.xargs_main 759 739 -20 ---------------------------------------------------------------- Result :-) -32
* removed warning "comparison between signed and unsigned". Added ↵"Vladimir N. Oleynik"2006-01-301-28/+28
| | | | ATTRIBUTE_UNUSED. My whitespace
* 1) bb_opt_complementaly -> bb_opt_complementally"Vladimir N. Oleynik"2005-09-051-1/+1
| | | | | 2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally
* Larry Doolittle writes:Eric Andersen2004-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-8/+8
|
* Try to make indent formatting less horribleEric Andersen2003-10-311-39/+37
|
* Add a comment with link to the SUSv3 standard for xargsGlenn L McGrath2003-10-301-0/+3
|
* run through indentGlenn L McGrath2003-10-301-387/+392
|
* Vods versions of xargsGlenn L McGrath2003-10-101-191/+510
|
* Bugfix for xargsGlenn L McGrath2003-10-091-58/+99
|
* Add the x, n, s and E options, remove -r as its expected behaviour.Glenn L McGrath2003-10-041-14/+115
|
* Dont mix xarg options with utility option, fixes example ofGlenn L McGrath2003-10-031-11/+15
| | | | | | | `echo "README" | xargs ls -al` Dont specify a path for the default behaviour of echo args allocated space for an extra ptr Use defines for the different options
* last_patch89 from vodz:Eric Andersen2003-06-201-18/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manuel, I rewrite bb_getopt_ulflags() function for more universal usage. My version support now: - options with arguments (optional arg as GNU extension also) - complementaly and/or incomplementaly and/or incongruously and/or list options - long_opt (all applets may have long option, add supporting is trivial) This realisation full compatibile from your version. Code size grow 480 bytes, but only coreutils/* over compensate this size after using new function. Last patch reduced over 800 bytes and not full applied to all. "mkdir" and "mv" applets have long_opt now for demonstrate trivial addition support long_opt with usage new bb_getopt_ulflags(). Complementaly and/or incomplementaly and/or incongruously and/or list options logic is not trivial, but new "cut" and "grep" applets using this logic for examples with full demostrating. New "grep" applet reduced over 300 bytes. Mark, Also. I removed bug from "grep" applet. $ echo a b | busybox grep -e a b a b a b But right is printing one only. --w vodz
* Major coreutils update.Manuel Novoa III2003-03-191-7/+5
|
* Rewrite of xargs by Vladimir N. OleynikGlenn L McGrath2002-11-101-62/+84
|
* last_patch55 from vodz:Eric Andersen2002-09-161-18/+20
| | | | | | I found overflow problem in xargs applet (allocated not space for trailing '\0'). Last patch also reduce 22 bytes size. ;)
* Fixed a bug in xarg: string data was strcat'ed to a malloc'ed buffer - andRobert Griebl2002-08-031-8/+6
| | | | | malloc does not clear memory by default (somehow this worked on x86, but not on arm)
* Call xmalloc before reallocEric Andersen2001-11-191-0/+1
|
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-4/+4
| | | | -Erik
* xstrdup xargs cleanup from Jeff GarzikEric Andersen2001-03-231-1/+1
|
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-1/+1
| | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
* Fix wget error message and add (and use) chomp library function.Matt Kraai2001-02-011-2/+1
|
* Fix up copyright msgs. Bump version to 0.49 in preparation for0_49Eric Andersen2001-01-271-1/+1
| | | | | a release. Update the website with release details. -Erik
* Changed email address to codepoet.org, updated list of applets / docs IMark Whitley2001-01-041-1/+1
| | | | maintain in AUTHORS.
* Use busybox error handling functions wherever possible.Matt Kraai2000-12-221-4/+2
|
* Brand new version of xargs. Tested thoroughly by Kent Robotti. (Domo arigato,Mark Whitley2000-11-141-112/+61
| | | | Mr. Robotti...) Closes bug #1065.
* Yet more polish (thanks again to kent robotti for the bug reports).Eric Andersen2000-09-261-10/+12
| | | | -Erik
* Some more polish to make xargs act like GNU xargs (thanks to kent robottiEric Andersen2000-09-251-5/+6
| | | | | <robotti@metconnect.com> for testing and pointing out the differences) -Erik
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Final (I think) version of xargs. Throw away all that tedious stringEric Andersen2000-09-251-94/+62
| | | | | | scrubbing, and quit using system. Instead, use fork() and exec(), which yields and smaller, simpler, and cleaner design. -Erik
* Be ever so pedantic about escaping chars that the shell might not like...Eric Andersen2000-09-251-17/+59
|
* Fix up xargs so that things like 'cat cat.c | xargs echo' willEric Andersen2000-09-241-6/+29
| | | | | work properly. -Erik
* Fix xargs option parsingEric Andersen2000-09-241-13/+18
|
* Fix memory problems, and make behavior correct.Eric Andersen2000-09-231-5/+8
|