summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-02-14- commentary typosBernhard Reutner-Fischer
2006-02-14restore change by Denis Vlasenko: file_to_buf must vary fast, best if inline"Vladimir N. Oleynik"
2006-02-14cleanups after changes by Denis Vlasenko. Size optimization"Vladimir N. Oleynik"
2006-02-14commentary typos. Thank by aldot"Vladimir N. Oleynik"
2006-02-14Rob Landley is busybox maintainer now. Eeek.Rob Landley
2006-02-14Fix off by one error. (I know I had a reason for doing that, but I have _no_Rob Landley
idea what it was...)
2006-02-13Cleanups from Denis Vlasenko.Rob Landley
2006-02-13Bug fix from Kim B. Heino, manifested via:Rob Landley
echo > foo && zip foo.zip foo && ./busybox unzip foo.zip
2006-02-13New USE() macrosRob Landley
For each CONFIG_SYMBOL, include/bb_config.h now has both ENABLE_SYMBOL and USE_SYMBOL(x). ENABLE_SYMBOL is still always defined (1 or 0) so that if(ENABLE) should optimize out when it's zero. The USE_SYMBOL(X) will only splice in X if the symbol is defined, otherwise it'll be empty. Thus we can convert this: #ifdef CONFIG_ARGS opt = bb_getopt_ulflags(argc, argv, "ab:c" #ifdef CONFIG_THINGY "d:" #endif , &bvalue #ifdef CONFIG_THINGY , &thingy #endif ); #endif into this: if (ENABLE_ARGS) { opt = bb_getopt_ulflags(argc, argv, "ab:c" USE_THINGY("d:"), &bvalue USE_THINGY(, &thingy)); } And it should produce the same code. Unlike the old versions in include/_usage.h, the new USE_SYMBOL(x) can handle commas in its arguments (as shown above). (The _usage.h file is obsolete and no longer generated.) Nobody should need to include config.h directly anymore, bb_config.h should define all the configuration stuff we need. Someday, the CONFIG_SYMBOL versions should go away in favor of ENABLE_SYMBOL and USE_SYMBOL(). Thanks to vodz for the new version of bb_mkdep.c that works with function macros.
2006-02-12- commentary typosBernhard Reutner-Fischer
2006-02-12More random documentation.Rob Landley
2006-02-10Missed this in svn 13701.Rob Landley
2006-02-10Another item.Rob Landley
2006-02-08Fix umount so it works if there's no /etc/mtab or /proc/mounts, makeRob Landley
umount -a into a CONFIG_FEATURE (why not?), and zap the now obsolete defconfig file (which was supposed to be part of the previous checkin).
2006-02-08Help text update and tweak to defconfig to remove two more things thatRob Landley
the "maximum sane configuration" shouldn't have. (Explicit MTAB support in mount, which you should only need if you have no /proc, and FEATURE_CLEAN_UP, which exists to humor valgrind and otherwise just bloats the code).
2006-02-08Convert some help text to english.Rob Landley
2006-02-07add back in path nulling after calling find_dev() since it is needed for now ...Mike Frysinger
2006-02-07Cristian Ionescu-Idbohrn writes:Mike Frysinger
force enough space padding so that applet names always end up on their own line
2006-02-07space out supported applet names so the config list doesnt wrap on an 80col ↵Mike Frysinger
terminal
2006-02-06fixup whitespace in awk help outputMike Frysinger
2006-02-06Bug 677: there are apparently still people using telnet.Rob Landley
2006-02-06get rid of warnings with applets that have no usage and get rid of pointless ↵Mike Frysinger
--- separator between applets
2006-02-05if the .pl script gets updated, force doc regenMike Frysinger
2006-02-05Rob Sullivan writes: Here's a patch to autogenerate the list of applets in ↵Mike Frysinger
the Busybox documentation
2006-02-05Save a few bytes in error message.Rob Landley
2006-02-03cleanup style ... just because you use less spaces doesnt mean the resulting ↵Mike Frysinger
code is smaller
2006-02-03shrink the code a bitMike Frysinger
2006-02-03gavinl writes in Bug 661:Mike Frysinger
if read() file return less than 1, we should close the fd and then goto end.
2006-02-02alphabetical order and fix mdev comments about echo>/sys vs echo>/proc/sysMike Frysinger
2006-02-02fix mdev help outputMike Frysinger
2006-02-02destroy bug 679, use getopt_ulflags with new feature: usage option. Removed ↵"Vladimir N. Oleynik"
two strdup
2006-02-02make the build system puuuuuuuuuuurtyMike Frysinger
2006-02-01removed anoinig `unused' warnings"Vladimir N. Oleynik"
2006-02-01removed anoinig warnings"Vladimir N. Oleynik"
2006-02-01remode warning: const static mix"Vladimir N. Oleynik"
2006-01-31- bzero -> memsetBernhard Reutner-Fischer
text data bss dec hex filename 1652855 14444 1215616 2882915 2bfd63 busybox.oorig.gcc-3.3 1652823 14444 1215616 2882883 2bfd43 busybox.gcc-3.3 1603655 14412 1215552 2833619 2b3cd3 busybox.oorig.gcc-3.4 1603655 14412 1215552 2833619 2b3cd3 busybox.gcc-3.4 1609755 14508 1215744 2840007 2b55c7 busybox.oorig.gcc-4.0 1609755 14508 1215744 2840007 2b55c7 busybox.gcc-4.0 1590495 13516 1215392 2819403 2b054b busybox.oorig.gcc-4.1-HEAD 1590495 13516 1215392 2819403 2b054b busybox.gcc-4.1-HEAD 1589079 13036 1213248 2815363 2af583 busybox.oorig.gcc-4.2-HEAD 1589079 13036 1213248 2815363 2af583 busybox.gcc-4.2-HEAD
2006-01-31more better for me signed<->unsigned and the const keyword usage"Vladimir N. Oleynik"
2006-01-31add feature: support for running scripts through an interpreter. Thanks ↵"Vladimir N. Oleynik"
Florian Schirmer <jolt@tuxbox.org>
2006-01-31more obscure"Vladimir N. Oleynik"
2006-01-31avoid signed<->unsigned warning"Vladimir N. Oleynik"
2006-01-31avoid signed<->unsigned warning"Vladimir N. Oleynik"
2006-01-31removed unneed signed, avoid warning"Vladimir N. Oleynik"
2006-01-31- pass -static via CC rather than LDBernhard Reutner-Fischer
2006-01-31more destroy potential overflow for x86_64."Vladimir N. Oleynik"
2006-01-31destroy potential overflow for x86_64. Added ATTRIBUTE_UNUSED"Vladimir N. Oleynik"
2006-01-31- add and use ATTRIBUTE_ALIGNED(num_bytes)Bernhard Reutner-Fischer
- remove unused parameter pindex from fdisk.c, xbsd_initlabel()
2006-01-31changed strange mix signed<->unsigned"Vladimir N. Oleynik"
2006-01-31protect potential overflow for x86_64"Vladimir N. Oleynik"
2006-01-31quick analize signed->unsigned: protect overflow of map[char], getchar->EOF. ↵"Vladimir N. Oleynik"
Use ATTRIBUTE_UNUSE.
2006-01-31- fix typo i introduced yesterday.Bernhard Reutner-Fischer