aboutsummaryrefslogtreecommitdiff
path: root/coreutils
AgeCommit message (Collapse)Author
2006-06-01- look at bb_applet_name. Should close bugs #892 and #893Bernhard Reutner-Fischer
also restructure code a bit so the fix only adds 1 byte..
2006-05-31Add catv (separate applet instead of cat -v). Also cleanup cat.c comments,Rob Landley
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. */
2006-05-29- just whitespaceBernhard Reutner-Fischer
2006-05-29- ls: remove unused variableBernhard Reutner-Fischer
- 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.
2006-05-28Fix hdparm to use PRIu64 instead of typecasting to long long (which is 128 bitsRob Landley
on 64 bit platforms), and move #include <inttypes.h> to libbb.h.
2006-05-28Fix some warnings in allbareconfig.Rob Landley
2006-05-27Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley
2006-05-26- add central knob to turn off getopt_long everywhere. EXPERIMENTAL!Bernhard Reutner-Fischer
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
2006-05-25Rich Felker suggested removing dprintf() from watch, and one thing led toRob Landley
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...)
2006-05-24Two more issues pointed out by Bernhard.Rob Landley
2006-05-23It takes _talent_ to implement a version of nohup that does everything exceptRob Landley
the actual blocking of HUP.
2006-05-21New version of nohup that's much smaller, less paranoid, consistent,Rob Landley
vaguely portable, and licensed GPLv2 "or later".
2006-05-19- remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer
- use shorter boilerplate while at it
2006-05-19- use shorter boilerplate.Bernhard Reutner-Fischer
2006-05-19- do not use non-standard u_int.Bernhard Reutner-Fischer
- do not use _PATH_DEVNULL gnuism but bb_dev_null. Thanks to Rich Felker.
2006-05-16Rob Sullivan cleaned up the longstanding patch from Hideki IWAMOTO to addRob Landley
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.
2006-05-16Make md5 calculation always go through an the buffer so that A) we don'tRob Landley
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.
2006-05-13pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵Mike Frysinger
mailing list
2006-05-13pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵Mike Frysinger
mailing list
2006-05-10- typo in error-message: s/algotithm/algorithmBernhard Reutner-Fischer
- whitespace cleanup
2006-05-09Replace isnan() and isinf() with inline tests so uClibc doesn't want us toRob Landley
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.
2006-05-05- add helptext for CONFIG_UNIX2DOSBernhard Reutner-Fischer
2006-05-03Patch from Rich Felker to make ls use libc's qsort.Rob Landley
2006-05-02Patch from Jason Schoon to add optional SIGUSR1 support to dd.Rob Landley
2006-05-02Patch from Shaun Jackman:Rob Landley
ls has an ugly bug. ls uses an array of pointers, the elements of which are all in a linked list. To free the elements, instead of freeing all the elements in the array, array[0..nelements], it frees by iterating the linked list starting at array[0], which it assumes is the head of the list. Unfortunately, ls also sorts the array! So, array[0] is no longer the head, but somewhere in the middle of the linked list. This patch fixes this bug, and also adds an ENABLE_FEATURE_CLEAN_UP stanza.
2006-04-27Re-wordwrap the new tests, and fix seq.c to pass them.Rob Landley
2006-04-25Convert a chunk of usage.h to USE_ and SKIP_ (more to do there), and fix aRob Landley
DEFALT typo in du while I was there.
2006-04-19Patch from Jean Wolter:Rob Landley
it looks like the introduced support for character classes and equivalence classes is not correct. The attached patch tries to fix some symptoms and tries to make tr behave like gnu tr for the added test cases. The patch  - removes if clauses with side effects  - fixes handling of buffer pointer (strcat added characters to the    buffer without increasing the buffer pointer)  - re-arranges character classes to match ASCII order regards, Jean
2006-04-18New applet cksum, from Rob Sullivan.Rob Landley
2006-04-18Simplify the GPL boilerplate.Rob Landley
2006-04-18- typo: s/derefernce/dereference/gBernhard Reutner-Fischer
Thanks to P.J. Day.
2006-04-17Glenn gave permission for GPLv2 "or later".Rob Landley
2006-04-16use strchr() not index()Mike Frysinger
2006-04-13Patch from Robert P Day: let menuconfig indent stuff for us, we don't haveRob Landley
to do it in Config.in.
2006-04-13- patch from Denis Vlasenko to add and use bb_xopen3()Bernhard Reutner-Fischer
2006-04-12- patch from Denis Vlasenko to add and use bb_xchdir()Bernhard Reutner-Fischer
2006-04-12- use C99 %j format to print intmax.Bernhard Reutner-Fischer
Closes bugs #802 and #743
2006-04-12- add and use bb_opendir(), bb_xopendir().Bernhard Reutner-Fischer
text data bss dec hex filename 889445 9392 1035784 1934621 1d851d busybox.gcc-4.2.orig 889297 9392 1035784 1934473 1d8489 busybox.gcc-4.2 889009 9820 1037860 1936689 1d8d31 busybox.gcc-4.1.orig 888817 9820 1037860 1936497 1d8c71 busybox.gcc-4.1
2006-04-10We use -funsigned-char now, so having a separate RESERVE_CONFIG_UBUFFER isRob Landley
a bit silly. Wean of that where it currently makes no difference...
2006-04-06- patch from Rob Sullivan to add support for -LBernhard Reutner-Fischer
2006-04-06- shrink it a little bit and make it buildable with gcc-2.95Bernhard Reutner-Fischer
text data bss dec hex filename 7332 4 92 7428 1d04 diff.o-gcc-4.2-HEAD.orig 7185 4 92 7281 1c71 diff.o-gcc-4.2-HEAD.new 7336 4 92 7432 1d08 diff.o-gcc-4.1-HEAD.orig 7148 4 92 7244 1c4c diff.o-gcc-4.1-HEAD.new 7485 4 92 7581 1d9d diff.o-gcc-4.0.orig 7318 4 92 7414 1cf6 diff.o-gcc-4.0.new 7511 4 92 7607 1db7 diff.o-gcc-3.4.orig 7252 4 92 7348 1cb4 diff.o-gcc-3.4.new 8214 4 92 8310 2076 diff.o-gcc-3.3.orig 7882 4 92 7978 1f2a diff.o-gcc-3.3.new - - - - - diff.o-gcc-2.95.orig 8238 8 88 8334 208e diff.o-gcc-2.95.new
2006-04-06- remove unused args.Bernhard Reutner-Fischer
text data bss dec hex filename 7353 4 92 7449 1d19 coreutils/diff.o-gcc-4.2.oorig 7332 4 92 7428 1d04 coreutils/diff.o
2006-04-06- move code around to avoid the need for the prototypes.Bernhard Reutner-Fischer
2006-04-06- new applet diff. Rob Sullivan writes:Bernhard Reutner-Fischer
Here's my attempt at a mini diff applet - it's adapted from the code at http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/diff/, and only supports unified diffs. I've busyboxified everything to a reasonable degree, so I think the code is suitable enough to be included, but there's still a fair bit of cleaning up to be done.
2006-04-05- include inttypes.h as pointed out by Jason Schoon.Bernhard Reutner-Fischer
- use shorter boilerplate and switch to USE_FEATURE_STAT_FORMAT while at it.
2006-04-05- use proper macros to print intmax_t.Bernhard Reutner-Fischer
PRIuMAX and PRIxMAX are defined in inttypes depending on the wordsize.
2006-04-04Some tests were always true. We need comm.tests...Rob Landley
2006-04-03- make append_option and multiconvert static.Bernhard Reutner-Fischer
2006-04-02- typos: s/compatability/compatibility/g;s/compatable/compatible/g;Bernhard Reutner-Fischer
2006-03-29- Rich Felker writes: fix invalid printf format stringsBernhard Reutner-Fischer
http://busybox.net/lists/busybox/2006-March/019568.html text data bss dec hex filename 900619 10316 1038724 1949659 1dbfdb busybox.oorig 900603 10316 1038724 1949643 1dbfcb busybox