aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Minor tweaks: remove traces of old $COMMAND environment variable.landley2006-05-022-5/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14980 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Shaun Jackman:landley2006-05-021-7/+11
| | | | | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@14978 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from tito removing obsolete code.landley2006-05-011-142/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14977 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Notes on portability, and on when #include <linux/blah> is appropriate.landley2006-05-011-0/+114
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14976 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup a build break if ENABLE_SHOW_USAGE switched off. (Fallout from thelandley2006-05-011-24/+3
| | | | | | | compressed usage messages patch). git-svn-id: svn://busybox.net/trunk/busybox@14975 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patches from Denis Vlasenko to rework "current_name" handling and removelandley2006-04-291-126/+95
| | | | | | | | print_current_name(). git-svn-id: svn://busybox.net/trunk/busybox@14974 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Denis Vlasenko:landley2006-04-291-93/+74
| | | | | | | | | | | | * 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 git-svn-id: svn://busybox.net/trunk/busybox@14973 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Denis Vlasenko:landley2006-04-291-2/+2
| | | | | | | | ix bug (inode_map and zone_map are char* pointers, sizeof() on them gives 4 or 8) git-svn-id: svn://busybox.net/trunk/busybox@14972 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove some unused code pointed out by Tito, plus a slightly more gracefullandley2006-04-291-35/+7
| | | | | | | way of handling endianness. git-svn-id: svn://busybox.net/trunk/busybox@14971 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Style fixes from Denis Vlasenko.landley2006-04-291-147/+146
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14970 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another patch from Denis Vlasenko:landley2006-04-291-48/+42
| | | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@14969 69ca8d6d-28ef-0310-b511-8ec308f3f277
* From Dennis Vlasenko, Make hdparm smaller:landley2006-04-291-73/+49
| | | | | | | | * Use combined no_scsi_no_xt() * Have common unsigned char args[4] = {WIN_SETFEATURES,0,0,0}; git-svn-id: svn://busybox.net/trunk/busybox@14968 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanup to hdparm by tito.landley2006-04-291-12/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14967 69ca8d6d-28ef-0310-b511-8ec308f3f277
* termios.h is already included so dont include sys/termios.h as wellvapier2006-04-291-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14965 69ca8d6d-28ef-0310-b511-8ec308f3f277
* detect more obsolete headersvapier2006-04-291-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14964 69ca8d6d-28ef-0310-b511-8ec308f3f277
* just include fcntl.h not sys/fcntl.hvapier2006-04-291-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14963 69ca8d6d-28ef-0310-b511-8ec308f3f277
* just include fcntl.h not sys/fcntl.hvapier2006-04-291-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14962 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rob Sullivan writes: rewrite the regex handling to improve stabilityvapier2006-04-291-58/+51
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14961 69ca8d6d-28ef-0310-b511-8ec308f3f277
* compile.h is incorrect; create a new do_link.h and use that for bb_mkdep and ↵vapier2006-04-292-2/+8
| | | | | | usage git-svn-id: svn://busybox.net/trunk/busybox@14960 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use pretty output for scripts/bb_mkdep and scripts/usagevapier2006-04-291-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14959 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - rerun gcse pass after reload, enable whole-program iff we are not buildingaldot2006-04-281-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.. git-svn-id: svn://busybox.net/trunk/busybox@14957 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - print "Obsolet headers" instead of "Obsolete function usage" when checkingaldot2006-04-281-1/+1
| | | | | | | for obsolet includes. git-svn-id: svn://busybox.net/trunk/busybox@14955 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More usage.h cleanups, with collateral changes to httpd. Specifically,landley2006-04-283-102/+44
| | | | | | | | most of our CONFIG entries switch stuff on instead of off when enabled, so fix the gratuitously reversed INETD thing. git-svn-id: svn://busybox.net/trunk/busybox@14952 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from tito to update output of hdparm.landley2006-04-281-12/+22
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14950 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Dennis Vlasenko to add the option to compress help text.landley2006-04-277-24/+102
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14949 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Re-wordwrap the new tests, and fix seq.c to pass them.landley2006-04-272-11/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14948 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add two regression tests for seq.aldot2006-04-271-0/+4
| | | | | | | "seq two arguments equal, arbitrary negative step" fails but should pass.. git-svn-id: svn://busybox.net/trunk/busybox@14947 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add note about crondaldot2006-04-261-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14944 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - patch from Denis Vlasenko to make sizes PHONY and to add objsizes which printsaldot2006-04-262-0/+14
| | | | | | | the sizes of the individual object files. git-svn-id: svn://busybox.net/trunk/busybox@14943 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Convert a chunk of usage.h to USE_ and SKIP_ (more to do there), and fix alandley2006-04-253-134/+62
| | | | | | | DEFALT typo in du while I was there. git-svn-id: svn://busybox.net/trunk/busybox@14942 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Portability tweak from Shaun Jackman, don't include asm/page.h directly.landley2006-04-251-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14941 69ca8d6d-28ef-0310-b511-8ec308f3f277
* From Denis Vlasenko:landley2006-04-241-223/+177
| | | | | | | | | | | | | | * 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 git-svn-id: svn://busybox.net/trunk/busybox@14940 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - return ret so we return something meaningful.aldot2006-04-241-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14939 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Jason Schoon writes: Attached is a patch to display the usage message if ↵vapier2006-04-211-0/+3
| | | | | | fuser is called with no arguments, rather than doing no work and failing silently. git-svn-id: svn://busybox.net/trunk/busybox@14938 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Jason Schoon writes: This makes the case where LFS is not defined, but fdisk ↵vapier2006-04-211-5/+1
| | | | | | is configured with large disk support use the pretty build rules. git-svn-id: svn://busybox.net/trunk/busybox@14937 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 2006-04-20 Shaun Jackman <sjackman@gmail.com>vapier2006-04-212-0/+10
| | | | | | | | * Makefile: Build a bFLT binary. * Rules.mak: Ditto. git-svn-id: svn://busybox.net/trunk/busybox@14931 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - passwd doesnt use salt with md5 passwords; bug #604 thanks tavisosolar2006-04-211-3/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14930 69ca8d6d-28ef-0310-b511-8ec308f3f277
* kill signed warningsvapier2006-04-202-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14929 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Jean Wolter:landley2006-04-192-18/+38
| | | | | | | | | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@14926 69ca8d6d-28ef-0310-b511-8ec308f3f277
* svn 14824 broke -funsigned-char and possibly building out of tree, becauselandley2006-04-191-13/+25
| | | | | | | | | | | | | $(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. git-svn-id: svn://busybox.net/trunk/busybox@14923 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New applet cksum, from Rob Sullivan.landley2006-04-185-0/+69
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14917 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove some #if 0 code.landley2006-04-181-9/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14916 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Simplify the GPL boilerplate.landley2006-04-181-18/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14915 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - typo: s/derefernce/dereference/galdot2006-04-183-4/+6
| | | | | | | Thanks to P.J. Day. git-svn-id: svn://busybox.net/trunk/busybox@14914 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - commentary typo and superfluous whitespace removal in weird messages.aldot2006-04-181-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14913 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - improve wording in some help texts a little bit.aldot2006-04-181-9/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14912 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add typo s/deamon/daemon/galdot2006-04-181-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14911 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - patch from P.J. Day to rely on the automatic indenting provided by depends.aldot2006-04-181-62/+60
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14910 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - enable dumpleases applet again; bad robaldot2006-04-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14909 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add grep for typo s/algorithic/algorithmic/galdot2006-04-181-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14908 69ca8d6d-28ef-0310-b511-8ec308f3f277