summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2006-03-20Cleanup: remove double quotes that don't seem to be needed.Rob Landley
2006-03-14Tito unified fdflush and freeramdisk. I tweaked the result a bit.Rob Landley
2006-03-13Patch from Denis Vlasenko to add xstat() and use it.Rob Landley
2006-03-09Fixup to the previous (portability) patch. Linux actually does needRob Landley
arpa/inet.h rather than netinet/in.h, otherwise we get warnings.
2006-03-09Portability patch from rfelker. The bb_asprintf.c thing needs an eventualRob Landley
follow up in platform.h to set the #ifdef, but the workaround works for everybody, so...
2006-03-08import most of e2fsprogs 1.38 updatesMike Frysinger
2006-02-24Missed one in the get_line_from_file() update...Rob Landley
2006-02-23- put NLS stuff in one central place to avoid redefines.Bernhard Reutner-Fischer
Fixes warnings about: fdisk.c:45:1: warning: "_" redefined nfsmount.c:121:1: warning: "_" redefined nfsmount.c:122:1: warning: "N_" redefined interface.c:84:1: warning: "_" redefined
2006-02-23Convert all the applets from #include to USE(). Had to fix some nonstandardRob Landley
naming along the way to get USE() macros for everything.
2006-02-22fix applet orderMike Frysinger
2006-02-22You don't need an #ifdef around #defines in usage.Rob Landley
2006-02-21Patch from Devin Bayer to split up hash_fd.c into md5.c and sha1.c. (I tweakedRob Landley
md5_sha1_sum.c to convert some #ifdef CONFIG to if(ENABLE).)
2006-02-21Walter Harms added -D to date, and I did a code cleanup while I was in theRob Landley
area. Probably broke something...
2006-02-21eat extraneous newlines at the end of applet full usageMike Frysinger
2006-02-21add setarch/linux32/linux64 appletMike Frysinger
2006-02-20Patch from Giuseppe Ciotta to specify retry count.Rob Landley
2006-02-20remove #undef strlen, use #define strlen always but without ↵"Vladimir N. Oleynik"
xfunc/BB_STRLEN_IMPLEMENTATION
2006-02-16moved BB_BANNER to applets/version.c file: make kernel like version, "Vladimir N. Oleynik"
removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h
2006-02-15full removed config.h, use bb_config.h only"Vladimir N. Oleynik"
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-06fixup whitespace in awk help outputMike Frysinger
2006-02-02fix mdev help outputMike Frysinger
2006-01-31- add and use ATTRIBUTE_ALIGNED(num_bytes)Bernhard Reutner-Fischer
- remove unused parameter pindex from fdisk.c, xbsd_initlabel()
2006-01-30Re-add initrd support, unify halt/reboot/poweroff, add -n and -f options.Rob Landley
2006-01-25new applet. Thanks Roberto A. Foglietta"Vladimir N. Oleynik"
2006-01-25just whitespaceTim Riker
2006-01-23Testing CONFIG_SORT_BIG to display the help for the big version of sort isn'tRob Landley
much use when the symbol is CONFIG_FEATURE_SORT_BIG.
2006-01-22- add platform.h.Bernhard Reutner-Fischer
- use shorter boilerplate while at it.
2006-01-20Patch from Aurelien Jacobs to add unlzma. (A new decompression type,Rob Landley
see www.7-zip.org)
2006-01-19- Document -m, -c, -s and provide a default shell for standalone build.Bernhard Reutner-Fischer
- Wrap overlong lines plus a few whitespace fixes. - add GPL header.
2006-01-15- shared libbusybox.Bernhard Reutner-Fischer
- IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
2006-01-13add find's "-mmin" option. configurable.Paul Fox
2006-01-08Tito writes:Mike Frysinger
Somehow while applying the bb_do_delay patch a change slipped in libbb.h that broke compilation. libbb.h Line 355 extern char bb_path_mtab_file[]; This conflicts with mtab_file.c #if defined(CONFIG_FEATURE_MTAB_SUPPORT) const char bb_path_mtab_file[] = "/etc/mtab"; #else const char bb_path_mtab_file[] = "/proc/mounts"; #endif
2006-01-06patch from tito: consolidate delay functions as bb_do_delay()Rob Landley
2006-01-04make mount usage a bit more terseMike Frysinger
2005-12-21When you went "losetup -d /dev/loop0 /dev/loop1" the error message was strange.Rob Landley
2005-12-13Nothing to see here. Move along.Rob Landley
Not buying it, eh? I know I said new features before 1.1, but, well... (I was weak!) The config file and hotplug modes aren't implemented yet. Might take a stab at those tomorrow. (I _should_ go back to focusing on the bug triage list.)
2005-12-11Yann E. Morin's update to modprobe usage.Rob Landley
2005-12-11Add build options to control SuS compatability, allows numeric Glenn L McGrath
option handling to be disabled. Defaults to enabled, so no changes in default behaviour
2005-12-06Tito is using broken kernel headers that pollute the namespace with everyRob Landley
CONFIG_ symbol in the kernel, and this clashes with busybox's CONFIG_TR and CONFIG_WATCHDOG, causing applets.h to barf if they're not switched on (since the broken headers don't affect kconfig or the makefiles). Since such broken kernel headers are common enough to crop up every few months, a simple work around is to move TR and WATCHDOG from CONFIG_ to ENABLE_ early.
2005-12-06restore compare_string_array new interface (make broken by landley)"Vladimir N. Oleynik"
2005-11-29Fix losetup so that it A) actually works again, B) has much better errorRob Landley
messages, C) can show the current association (if any) when called with only one argument. Update the documentation a lot too. Remind me to add a test suite for this thing. I think I've figured out how to handle root-only testsuites...
2005-11-28add "-C" format to hexdumpPaul Fox
fixes bug #113 and satisfies a personal need at the same time. output compares identically to util-linux version. (with exception of whitespace differences on last lines of output with non-uniform length, which are neither fixed nor worsened by this change.)
2005-11-26change the interface of libbb/compare_string_array (unsigned short to int), ↵"Vladimir N. Oleynik"
usaging for e2fsprogs/fsck
2005-11-26more use const for interface of libbb/compare_string_array, example usage ↵"Vladimir N. Oleynik"
for e2fsprogs/fsck
2005-11-23Update to modprobe usage from Yann E. MorinRob Landley
2005-11-10telnetd -b (bind to specific address) support from Iuri Gomes Diniz.Rob Landley
2005-10-28- add BB_APPLET_RUNLEVEL used by emdebian via /etc/init.d/rc.Bernhard Reutner-Fischer
Note that we leave the buggy CONFIG_* namespace now, so please fix any applet you thouch.
2005-10-28New applet, fuser, from Tony J. White. (Needs some cleanup.)Rob Landley
2005-10-27Add a switch_root utility (like kconfig's utils/run_init.c, although notRob Landley
actuall using any of that code). This is needed because pivot_root doesn't work right under initramfs. (See the menuconfig help.)