aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixup to the previous (portability) patch. Linux actually does needlandley2006-03-093-2/+9
| | | | | | | arpa/inet.h rather than netinet/in.h, otherwise we get warnings. git-svn-id: svn://busybox.net/trunk/busybox@14499 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Portability patch from rfelker. The bb_asprintf.c thing needs an eventuallandley2006-03-092-1/+2
| | | | | | | | follow up in platform.h to set the #ifdef, but the workaround works for everybody, so... git-svn-id: svn://busybox.net/trunk/busybox@14498 69ca8d6d-28ef-0310-b511-8ec308f3f277
* import most of e2fsprogs 1.38 updatesvapier2006-03-081-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14468 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Missed one in the get_line_from_file() update...landley2006-02-241-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14257 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - put NLS stuff in one central place to avoid redefines.aldot2006-02-231-1/+5
| | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@14235 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Convert all the applets from #include to USE(). Had to fix some nonstandardlandley2006-02-231-738/+251
| | | | | | | naming along the way to get USE() macros for everything. git-svn-id: svn://busybox.net/trunk/busybox@14220 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix applet ordervapier2006-02-221-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14217 69ca8d6d-28ef-0310-b511-8ec308f3f277
* You don't need an #ifdef around #defines in usage.landley2006-02-221-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14211 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Devin Bayer to split up hash_fd.c into md5.c and sha1.c. (I tweakedlandley2006-02-212-3/+38
| | | | | | | md5_sha1_sum.c to convert some #ifdef CONFIG to if(ENABLE).) git-svn-id: svn://busybox.net/trunk/busybox@14160 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Walter Harms added -D to date, and I did a code cleanup while I was in thelandley2006-02-211-4/+7
| | | | | | | area. Probably broke something... git-svn-id: svn://busybox.net/trunk/busybox@14158 69ca8d6d-28ef-0310-b511-8ec308f3f277
* eat extraneous newlines at the end of applet full usagevapier2006-02-211-12/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14157 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add setarch/linux32/linux64 appletvapier2006-02-212-0/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14156 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Giuseppe Ciotta to specify retry count.landley2006-02-201-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14152 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove #undef strlen, use #define strlen always but without ↵vodz2006-02-201-0/+2
| | | | | | xfunc/BB_STRLEN_IMPLEMENTATION git-svn-id: svn://busybox.net/trunk/busybox@14145 69ca8d6d-28ef-0310-b511-8ec308f3f277
* moved BB_BANNER to applets/version.c file: make kernel like version, vodz2006-02-161-5/+1
| | | | | | removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h git-svn-id: svn://busybox.net/trunk/busybox@14080 69ca8d6d-28ef-0310-b511-8ec308f3f277
* full removed config.h, use bb_config.h onlyvodz2006-02-151-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14055 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New USE() macroslandley2006-02-131-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@13955 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fixup whitespace in awk help outputvapier2006-02-061-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13861 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix mdev help outputvapier2006-02-021-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13798 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add and use ATTRIBUTE_ALIGNED(num_bytes)aldot2006-01-311-0/+4
| | | | | | | - remove unused parameter pindex from fdisk.c, xbsd_initlabel() git-svn-id: svn://busybox.net/trunk/busybox@13751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Re-add initrd support, unify halt/reboot/poweroff, add -n and -f options.landley2006-01-302-11/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13701 69ca8d6d-28ef-0310-b511-8ec308f3f277
* new applet. Thanks Roberto A. Fogliettavodz2006-01-252-0/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13592 69ca8d6d-28ef-0310-b511-8ec308f3f277
* just whitespacetimr2006-01-251-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13584 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Testing CONFIG_SORT_BIG to display the help for the big version of sort isn'tlandley2006-01-231-1/+4
| | | | | | | much use when the symbol is CONFIG_FEATURE_SORT_BIG. git-svn-id: svn://busybox.net/trunk/busybox@13530 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add platform.h.aldot2006-01-223-55/+93
| | | | | | | - use shorter boilerplate while at it. git-svn-id: svn://busybox.net/trunk/busybox@13494 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Aurelien Jacobs to add unlzma. (A new decompression type,landley2006-01-203-1/+28
| | | | | | | see www.7-zip.org) git-svn-id: svn://busybox.net/trunk/busybox@13454 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - Document -m, -c, -s and provide a default shell for standalone build.aldot2006-01-191-1/+3
| | | | | | | | - Wrap overlong lines plus a few whitespace fixes. - add GPL header. git-svn-id: svn://busybox.net/trunk/busybox@13433 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - shared libbusybox.aldot2006-01-151-1/+1
| | | | | | | | - IMA compilation option (aka IPO, IPA,..) Please holler if i broke something.. git-svn-id: svn://busybox.net/trunk/busybox@13346 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add find's "-mmin" option. configurable.pgf2006-01-131-1/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13271 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito writes:vapier2006-01-081-1/+1
| | | | | | | | | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@13161 69ca8d6d-28ef-0310-b511-8ec308f3f277
* patch from tito: consolidate delay functions as bb_do_delay()landley2006-01-061-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13135 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make mount usage a bit more tersevapier2006-01-041-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13061 69ca8d6d-28ef-0310-b511-8ec308f3f277
* When you went "losetup -d /dev/loop0 /dev/loop1" the error message was strange.landley2005-12-211-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12971 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Nothing to see here. Move along.landley2005-12-132-2/+27
| | | | | | | | | | | | 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.) git-svn-id: svn://busybox.net/trunk/busybox@12856 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yann E. Morin's update to modprobe usage.landley2005-12-111-4/+60
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12837 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add build options to control SuS compatability, allows numeric bug12005-12-111-1/+1
| | | | | | | | option handling to be disabled. Defaults to enabled, so no changes in default behaviour git-svn-id: svn://busybox.net/trunk/busybox@12835 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito is using broken kernel headers that pollute the namespace with everylandley2005-12-061-2/+2
| | | | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@12707 69ca8d6d-28ef-0310-b511-8ec308f3f277
* restore compare_string_array new interface (make broken by landley)vodz2005-12-061-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12690 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix losetup so that it A) actually works again, B) has much better errorlandley2005-11-292-68/+19
| | | | | | | | | | | 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... git-svn-id: svn://busybox.net/trunk/busybox@12582 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add "-C" format to hexdumppgf2005-11-281-1/+2
| | | | | | | | | | | | | 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.) git-svn-id: svn://busybox.net/trunk/busybox@12560 69ca8d6d-28ef-0310-b511-8ec308f3f277
* change the interface of libbb/compare_string_array (unsigned short to int), ↵vodz2005-11-261-1/+1
| | | | | | usaging for e2fsprogs/fsck git-svn-id: svn://busybox.net/trunk/busybox@12535 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more use const for interface of libbb/compare_string_array, example usage ↵vodz2005-11-261-1/+1
| | | | | | for e2fsprogs/fsck git-svn-id: svn://busybox.net/trunk/busybox@12534 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update to modprobe usage from Yann E. Morinlandley2005-11-231-4/+60
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12488 69ca8d6d-28ef-0310-b511-8ec308f3f277
* telnetd -b (bind to specific address) support from Iuri Gomes Diniz.landley2005-11-101-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12205 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add BB_APPLET_RUNLEVEL used by emdebian via /etc/init.d/rc.aldot2005-10-282-0/+15
| | | | | | | Note that we leave the buggy CONFIG_* namespace now, so please fix any applet you thouch. git-svn-id: svn://busybox.net/trunk/busybox@11965 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New applet, fuser, from Tony J. White. (Needs some cleanup.)landley2005-10-282-0/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11954 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add a switch_root utility (like kconfig's utils/run_init.c, although notlandley2005-10-272-0/+9
| | | | | | | | actuall using any of that code). This is needed because pivot_root doesn't work right under initramfs. (See the menuconfig help.) git-svn-id: svn://busybox.net/trunk/busybox@11935 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add --no-same-owner and --no-same-permissions options to tar.landley2005-10-271-5/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11933 69ca8d6d-28ef-0310-b511-8ec308f3f277
* common BUFSIZ BSS buffer, small reduce code, data and bssvodz2005-10-151-0/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11867 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_dev_nullvodz2005-10-121-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11845 69ca8d6d-28ef-0310-b511-8ec308f3f277