aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-05-02Minor tweaks: remove traces of old $COMMAND environment variable.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-05-01Patch from tito removing obsolete code.Rob Landley
2006-05-01Notes on portability, and on when #include <linux/blah> is appropriate.Rob Landley
2006-05-01Fixup a build break if ENABLE_SHOW_USAGE switched off. (Fallout from theRob Landley
compressed usage messages patch).
2006-04-29Patches from Denis Vlasenko to rework "current_name" handling and removeRob Landley
print_current_name().
2006-04-29Patch from Denis Vlasenko:Rob Landley
* Do not initialize globals to 0, it is done automatically * unsigned short -> uint16_t, unsigned int -> uint32_t where appropriate (did it ever work on Alphas?) * triple sync() is silly - removed * check_zone_nr uses check_zone_nr2 now * remove trailing periods from messages, uppercase first letter
2006-04-29Patch from Denis Vlasenko:Rob Landley
ix bug (inode_map and zone_map are char* pointers, sizeof() on them gives 4 or 8)
2006-04-29Remove some unused code pointed out by Tito, plus a slightly more gracefulRob Landley
way of handling endianness.
2006-04-29Style fixes from Denis Vlasenko.Rob Landley
2006-04-29Another patch from Denis Vlasenko:Rob Landley
Make hdparm smaller: * Make bb_ioctl return the status * Replace ioctl with bb_ioctl in a few places * Add bb_ioctl_alt, use where appropriate (four places) * unsigned char args1[4+512] = {WIN_IDENTIFY,0,0,1,}; ate 0.5k of rodata, fix that
2006-04-29From Dennis Vlasenko, Make hdparm smaller:Rob Landley
* Use combined no_scsi_no_xt() * Have common unsigned char args[4] = {WIN_SETFEATURES,0,0,0};
2006-04-29Cleanup to hdparm by tito.Rob Landley
2006-04-29termios.h is already included so dont include sys/termios.h as wellMike Frysinger
2006-04-29detect more obsolete headersMike Frysinger
2006-04-29just include fcntl.h not sys/fcntl.hMike Frysinger
2006-04-29just include fcntl.h not sys/fcntl.hMike Frysinger
2006-04-29Rob Sullivan writes: rewrite the regex handling to improve stabilityMike Frysinger
2006-04-29compile.h is incorrect; create a new do_link.h and use that for bb_mkdep and ↵Mike Frysinger
usage
2006-04-29use pretty output for scripts/bb_mkdep and scripts/usageMike Frysinger
2006-04-28- rerun gcse pass after reload, enable whole-program iff we are not buildingBernhard Reutner-Fischer
the lib (due to bug in gcc; see comment.) I would have run the testsuite to check if everything is still behaving, but unfortunately i cannot run the testsuite anymore: it just sits there and does nothing even with a pristine checkout and an old gcc. srcdir=/tmp/busybox/testsuite /tmp/busybox/testsuite/runtest PASS: Applet order FAIL: Common typos PASS: Obsolete function usage PASS: Obsolete function usage <spins, ^C> make[1]: *** [check] Interrupt make: *** [check] Interrupt I've just corrected that wrong double-printing. Anyway. with gcc-4.1-HEAD from earlier today, we now have for defconfig+ COMPILE_AT_ONCE: 880 -rwxr-xr-x 1 433 433 893476 Apr 28 21:41 busybox.oorig-4.0 860 -rwxr-xr-x 1 433 433 874560 Apr 28 21:36 busybox.oorig 844 -rwxr-xr-x 1 433 433 858752 Apr 28 21:49 busybox text data bss dec hex filename 879920 11568 1039148 1930636 1d758c busybox.oorig-4.0 862802 10192 1038796 1911790 1d2bee busybox.oorig 848066 9100 1037536 1894702 1ce92e busybox values for 4.0.2 just added for reference..
2006-04-28- print "Obsolet headers" instead of "Obsolete function usage" when checkingBernhard Reutner-Fischer
for obsolet includes.
2006-04-28More usage.h cleanups, with collateral changes to httpd. Specifically,Rob Landley
most of our CONFIG entries switch stuff on instead of off when enabled, so fix the gratuitously reversed INETD thing.
2006-04-28Patch from tito to update output of hdparm.Rob Landley
2006-04-27Patch from Dennis Vlasenko to add the option to compress help text.Rob Landley
2006-04-27Re-wordwrap the new tests, and fix seq.c to pass them.Rob Landley
2006-04-27- add two regression tests for seq.Bernhard Reutner-Fischer
"seq two arguments equal, arbitrary negative step" fails but should pass..
2006-04-26- add note about crondBernhard Reutner-Fischer
2006-04-26- patch from Denis Vlasenko to make sizes PHONY and to add objsizes which printsBernhard Reutner-Fischer
the sizes of the individual object files.
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-25Portability tweak from Shaun Jackman, don't include asm/page.h directly.Rob Landley
2006-04-24From Denis Vlasenko:Rob Landley
* CPU% = process[i].ticks/sum(process[i].ticks) * busy_cpu_ticks/total_cpu_ticks * got rid of empty line under "Load average" line   and used last line - +2 visible processes * do not do float conversion of loadavg, just read it as string from /proc * fix display on small screens * dropped unused .stime, .utime fields * a few variables were renamed * style fixes
2006-04-24- return ret so we return something meaningful.Bernhard Reutner-Fischer
2006-04-21Jason Schoon writes: Attached is a patch to display the usage message if ↵Mike Frysinger
fuser is called with no arguments, rather than doing no work and failing silently.
2006-04-21Jason Schoon writes: This makes the case where LFS is not defined, but fdisk ↵Mike Frysinger
is configured with large disk support use the pretty build rules.
2006-04-212006-04-20 Shaun Jackman <sjackman@gmail.com>Mike Frysinger
* Makefile: Build a bFLT binary. * Rules.mak: Ditto.
2006-04-21- passwd doesnt use salt with md5 passwords; bug #604 thanks tavisoNed Ludd
2006-04-20kill signed warningsMike Frysinger
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-19svn 14824 broke -funsigned-char and possibly building out of tree, becauseRob Landley
$(srcdir) can't bind early since it's set to a different value in each subdir. If it binds early, it's blank, hence an empty -I which eats the next option as a directory to look for #include files in. So CFLAGS has to bind late, but the check_gcc stuff should only get run once. I added a "make V=2" mode to show when check_gcc gets run, and turned WARNINGS into a CFLAGS line since it was always getting added anyway.
2006-04-18New applet cksum, from Rob Sullivan.Rob Landley
2006-04-18Remove some #if 0 code.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-18- commentary typo and superfluous whitespace removal in weird messages.Bernhard Reutner-Fischer
2006-04-18- improve wording in some help texts a little bit.Bernhard Reutner-Fischer
2006-04-18- add typo s/deamon/daemon/gBernhard Reutner-Fischer
2006-04-18- patch from P.J. Day to rely on the automatic indenting provided by depends.Bernhard Reutner-Fischer
2006-04-18- enable dumpleases applet again; bad robBernhard Reutner-Fischer
2006-04-18- add grep for typo s/algorithic/algorithmic/gBernhard Reutner-Fischer