aboutsummaryrefslogtreecommitdiff
path: root/coreutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Another whack at scripts/individual. Now builds 212 applets.Rob Landley2006-08-091-8/+2
|
* Teach md5sum and sha1sum to work the way other applets do so I don't have toRob Landley2006-08-061-16/+6
| | | | | | teach scripts/individual new tricks. And while I'm at it, teach scripts/individual other new tricks. Now builds 198 applets, some of which I should teach it to hardlink together because they're really the same app...
* Remove xcalloc() and convert its callers to xzalloc(). About half of themRob Landley2006-08-033-4/+4
| | | | | 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.
* These should have been part of 15767 too.Rob Landley2006-08-031-1/+1
|
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-0324-230/+53
| | | | | | | | | | 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.)
* Remove code that can't be reached.Rob Landley2006-07-311-3/+1
|
* Patch from Shaun Jackman, set optind by hand if we don't call getopt.Rob Landley2006-07-261-0/+1
|
* move lchown/chown define out of specific files and into platform.h where it ↵Mike Frysinger2006-07-201-5/+0
| | | | belongs
* Cleaup read() and write() variants, plus a couple of new functions likeRob Landley2006-07-162-11/+4
| | | | xlseek and fdlength() for the new mkswap.
* Patch from Suresh Rajashekara moving comments and #includes and such around.Rob Landley2006-07-141-16/+17
|
* Add one-line GPL boilerplate to numerous (but not all yet) source files."Robert P. J. Day"2006-07-1232-433/+38
|
* Standardize on the vi editing directives being on the first line."Robert P. J. Day"2006-07-0210-4/+10
|
* More removal of "#if 0" content."Robert P. J. Day"2006-07-011-18/+0
|
* Remove all usage of the "register" storage class specifier."Robert P. J. Day"2006-07-014-5/+5
|
* Make warnings go away.Rob Landley2006-06-301-19/+21
|
* Fix bug 744 by moving the flushing logic into the exhausted read buffer test.Rob Landley2006-06-301-75/+22
| | | | | (Also some other minor cleanups while I was there, shouldn't affect the resulting binary.)
* I broke allbareconfig with half-finished cleanups I'd forgotten weren't done.Rob Landley2006-06-201-23/+18
| | | | | Got both to a decent stopping point. (There's a lot more cleanup to do on ls.c but now is not the time...)
* Make some 64 bit warnings go away on x86-64.Rob Landley2006-06-191-8/+7
|
* Undo all of the ugliness and some of the bloat from 15412.Rob Landley2006-06-181-2/+2
|
* skip_whitespace() shouldn't claim its return value is const, it doesn't knowRob Landley2006-06-183-94/+31
| | | | that and callers wind up typecasting it back.
* Patch from Rich Felker:Rob Landley2006-06-151-10/+9
| | | | | | | | | | - duplicated format bit 14 forced LIST_EXEC always-on - -p option was behaving just like -F (SUSv3 says -p only shows / for   dirs, not other special symbols) - tests for LIST_EXEC in color functions were nonsense (constant   tests). i assume they were supposed to be (all_fmt & LIST_EXEC)   however having coloring of executable files depend on -F seems   undesirable.
* Fix bug found by Joey Hess and forwarded by Bastian Bunk. Add Joey Hess'sRob Landley2006-06-151-3/+1
| | | | | test case to the testsuite, plus another one that would have been broken by the first attempt at a fix.
* made "test" an ash built-in.Paul Fox2006-06-083-61/+219
| | | | | | | | | | | | | | | | | | | moved the contents of libbb/bb_echo.c back into coreutils/echo.c, which is a more reasonable place for them than libbb. this forces anyone who wants echo and test to be builtin to ash to also have them available as applets. their cost is very small, and the number of people who wouldn't want them as applets is also very small. added warning about shell builtins vs. CONFIG_FEATURE_SH_STANDALONE_SHELL, which conflicts with their use. thanks to nathanael copa for debugging help. some string size optimization in test.c may have been lost with this commit, but this is a good new baseline.
* - reuse strings and messages. Saves about 600BBernhard Reutner-Fischer2006-06-074-30/+15
|
* Remove a config entry that leaked in from my tree before I decided toRob Landley2006-06-061-7/+1
| | | | implement cat -v as a separate applet.
* - use bb_msg_{read,write}_error where appropriate.Bernhard Reutner-Fischer2006-06-031-1/+1
| | | | | | text data bss dec hex filename 825015 9100 645216 1479331 1692a3 busybox.old 824919 9100 645216 1479235 169243 busybox
* - look at bb_applet_name. Should close bugs #892 and #893Bernhard Reutner-Fischer2006-06-011-40/+40
| | | | also restructure code a bit so the fix only adds 1 byte..
* Add catv (separate applet instead of cat -v). Also cleanup cat.c comments,Rob Landley2006-05-314-29/+74
| | | | | | | | | | | | | | | | | | the following of which (from cat.c) belongs in svn history instead of the source code: /* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org) * * This is a new implementation of 'cat' which aims to be SUSv3 compliant. * * Changes from the previous implementation include: * 1) Multiple '-' args are accepted as required by SUSv3. The previous * implementation would close stdin and segfault on a subsequent '-'. * 2) The '-u' options is required by SUSv3. Note that the specified * behavior for '-u' is done by default, so all we need do is accept * the option. */
* - just whitespaceBernhard Reutner-Fischer2006-05-291-731/+741
|
* - ls: remove unused variableBernhard Reutner-Fischer2006-05-292-18/+11
| | | | | | | | - dpkg.c, diff: use xstat text data bss dec hex filename 848823 9100 645216 1503139 16efa3 busybox_old 848679 9100 645216 1502995 16ef13 busybox_unstripped bloatcheck is completely useless as it sees -79 for this, which is bogus.
* Fix hdparm to use PRIu64 instead of typecasting to long long (which is 128 bitsRob Landley2006-05-281-1/+0
| | | | on 64 bit platforms), and move #include <inttypes.h> to libbb.h.
* Fix some warnings in allbareconfig.Rob Landley2006-05-281-0/+2
|
* Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley2006-05-273-3/+0
|
* - add central knob to turn off getopt_long everywhere. EXPERIMENTAL!Bernhard Reutner-Fischer2006-05-265-2/+45
| | | | | | Adds "Enable getopt long" under "General options", default y. Send patches to fix getopt_ulflags and run_parts.c if you turn this off.. See http://busybox.net/lists/busybox/2006-May/021828.html for a start to run-parts
* Rich Felker suggested removing dprintf() from watch, and one thing led toRob Landley2006-05-251-61/+21
| | | | | | another... This adds bb_xspawn() support, which does vfork/exec. (I don't know why using a static instead of a local adds ~40 bytes, but using the local doesn't work...)
* Two more issues pointed out by Bernhard.Rob Landley2006-05-241-1/+5
|
* It takes _talent_ to implement a version of nohup that does everything exceptRob Landley2006-05-231-1/+2
| | | | the actual blocking of HUP.
* New version of nohup that's much smaller, less paranoid, consistent,Rob Landley2006-05-211-166/+36
| | | | vaguely portable, and licensed GPLv2 "or later".
* - remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer2006-05-195-84/+3
| | | | - use shorter boilerplate while at it
* - use shorter boilerplate.Bernhard Reutner-Fischer2006-05-191-15/+3
|
* - do not use non-standard u_int.Bernhard Reutner-Fischer2006-05-191-6/+6
| | | | | - do not use _PATH_DEVNULL gnuism but bb_dev_null. Thanks to Rich Felker.
* Rob Sullivan cleaned up the longstanding patch from Hideki IWAMOTO to addRob Landley2006-05-162-56/+91
| | | | | | ibs and obs support to dd, and made it configurable. I cleaned it up a bit further and moved conv= into the same config option.
* Make md5 calculation always go through an the buffer so that A) we don'tRob Landley2006-05-161-1/+1
| | | | | | | | | | | handle packets out of sequence if some data goes through the buffer and some doesn't, B) it works on systems that can't handle aligned access, C) we just have one code path to worry about. While we're at it, sizeof() and RESERVE_CONFIG_BUFFER() really don't combine well, which is why md5sum has been reading and processing data 4 bytes at a time. I suspect that the existence of CONFIG_MD5_SIZE_VS_SPEED to do loop unrolling and such in the algorithm was an attempt to work around that bug.
* pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵Mike Frysinger2006-05-131-1/+1
| | | | mailing list
* pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵Mike Frysinger2006-05-131-1/+1
| | | | mailing list
* - typo in error-message: s/algotithm/algorithmBernhard Reutner-Fischer2006-05-101-16/+16
| | | | - whitespace cleanup
* Replace isnan() and isinf() with inline tests so uClibc doesn't want us toRob Landley2006-05-091-6/+8
| | | | | | link sort against libm. This adds 22 bytes for glibc but is a win for uClibc, and since glibc is bigger than all of busybox it seems kind of silly to worry about it.
* - add helptext for CONFIG_UNIX2DOSBernhard Reutner-Fischer2006-05-051-0/+3
|
* Patch from Rich Felker to make ls use libc's qsort.Rob Landley2006-05-031-26/+10
|
* Patch from Jason Schoon to add optional SIGUSR1 support to dd.Rob Landley2006-05-022-8/+37
|