aboutsummaryrefslogtreecommitdiff
path: root/scripts/usage.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2006-04-29Patches from Denis Vlasenko to rework "current_name" handling and removeRob Landley1-126/+95
print_current_name().
2006-04-29Patch from Denis Vlasenko:Rob Landley1-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
2006-04-29Patch from Denis Vlasenko:Rob Landley1-2/+2
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 Landley1-35/+7
way of handling endianness.
2006-04-29Style fixes from Denis Vlasenko.Rob Landley1-147/+146
2006-04-29Another patch from Denis Vlasenko:Rob Landley1-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
2006-04-29From Dennis Vlasenko, Make hdparm smaller:Rob Landley1-73/+49
* 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 Landley1-12/+11
2006-04-29termios.h is already included so dont include sys/termios.h as wellMike Frysinger1-1/+0
2006-04-29detect more obsolete headersMike Frysinger1-1/+1
2006-04-29just include fcntl.h not sys/fcntl.hMike Frysinger1-1/+1
2006-04-29just include fcntl.h not sys/fcntl.hMike Frysinger1-1/+1
2006-04-29Rob Sullivan writes: rewrite the regex handling to improve stabilityMike Frysinger1-58/+51
2006-04-29compile.h is incorrect; create a new do_link.h and use that for bb_mkdep and ↵Mike Frysinger2-2/+8
usage
2006-04-29use pretty output for scripts/bb_mkdep and scripts/usageMike Frysinger1-2/+2
2006-04-28- rerun gcse pass after reload, enable whole-program iff we are not buildingBernhard Reutner-Fischer1-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..
2006-04-28- print "Obsolet headers" instead of "Obsolete function usage" when checkingBernhard Reutner-Fischer1-1/+1
for obsolet includes.
2006-04-28More usage.h cleanups, with collateral changes to httpd. Specifically,Rob Landley3-102/+44
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 Landley1-12/+22
2006-04-27Patch from Dennis Vlasenko to add the option to compress help text.Rob Landley7-24/+102
2006-04-27Re-wordwrap the new tests, and fix seq.c to pass them.Rob Landley2-11/+9
2006-04-27- add two regression tests for seq.Bernhard Reutner-Fischer1-0/+4
"seq two arguments equal, arbitrary negative step" fails but should pass..
2006-04-26- add note about crondBernhard Reutner-Fischer1-0/+3
2006-04-26- patch from Denis Vlasenko to make sizes PHONY and to add objsizes which printsBernhard Reutner-Fischer2-0/+14
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 Landley3-134/+62
DEFALT typo in du while I was there.
2006-04-25Portability tweak from Shaun Jackman, don't include asm/page.h directly.Rob Landley1-1/+1
2006-04-24From Denis Vlasenko:Rob Landley1-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
2006-04-24- return ret so we return something meaningful.Bernhard Reutner-Fischer1-1/+1
2006-04-21Jason Schoon writes: Attached is a patch to display the usage message if ↵Mike Frysinger1-0/+3
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 Frysinger1-5/+1
is configured with large disk support use the pretty build rules.
2006-04-212006-04-20 Shaun Jackman <sjackman@gmail.com>Mike Frysinger2-0/+10
* Makefile: Build a bFLT binary. * Rules.mak: Ditto.
2006-04-21- passwd doesnt use salt with md5 passwords; bug #604 thanks tavisoNed Ludd1-3/+11
2006-04-20kill signed warningsMike Frysinger2-3/+3
2006-04-19Patch from Jean Wolter:Rob Landley2-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
2006-04-19svn 14824 broke -funsigned-char and possibly building out of tree, becauseRob Landley1-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.
2006-04-18New applet cksum, from Rob Sullivan.Rob Landley5-0/+69
2006-04-18Remove some #if 0 code.Rob Landley1-9/+0
2006-04-18Simplify the GPL boilerplate.Rob Landley1-18/+2
2006-04-18- typo: s/derefernce/dereference/gBernhard Reutner-Fischer3-4/+6
Thanks to P.J. Day.
2006-04-18- commentary typo and superfluous whitespace removal in weird messages.Bernhard Reutner-Fischer1-3/+3
2006-04-18- improve wording in some help texts a little bit.Bernhard Reutner-Fischer1-9/+9
2006-04-18- add typo s/deamon/daemon/gBernhard Reutner-Fischer1-0/+1
2006-04-18- patch from P.J. Day to rely on the automatic indenting provided by depends.Bernhard Reutner-Fischer1-62/+60
2006-04-18- enable dumpleases applet again; bad robBernhard Reutner-Fischer1-1/+1
2006-04-18- add grep for typo s/algorithic/algorithmic/gBernhard Reutner-Fischer1-0/+1
2006-04-18- BusyBox is under GPL.Bernhard Reutner-Fischer5-5/+5
in http://www.busybox.net/lists/busybox/2006-April/020364.html Denis Vlasenko said when asked which license to use for these files: "Sure. LGPL or GPL is fine with me." Adjusting accordingly.
2006-04-18- simplify config options of the ip applet.Bernhard Reutner-Fischer1-76/+58
2006-04-18From Rob Sullivan: Fix a segfault with searching, plus some cleanups.Rob Landley1-58/+49
2006-04-17Robert Eggers noticed that nfsmount would sometimes incorrectly return success.Rob Landley1-6/+2
2006-04-17Glenn gave permission for GPLv2 "or later".Rob Landley2-15/+4