aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Patch from Vladimir N. Oleynik to save 128 bytes by moving errorandersen2001-02-271-3/+3
| | | | | | | checking for some my_* functions to utility.c git-svn-id: svn://busybox.net/trunk/busybox@1940 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The usage message for syslogd had stuff longer then 80 chars and wrapped.andersen2001-02-241-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1927 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another usage cleanup from kent robottiandersen2001-02-231-8/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1921 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More cleanupsandersen2001-02-231-17/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1917 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make HUMAN_READABLE be single argument like the others.andersen2001-02-231-9/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1914 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More usage cleanups from kent robotti. I know some of these wereandersen2001-02-231-39/+39
| | | | | | | applied previously but apparently lost with some of the latest changes. git-svn-id: svn://busybox.net/trunk/busybox@1912 69ca8d6d-28ef-0310-b511-8ec308f3f277
* space after \ make preprocessor saddwhedon2001-02-231-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1905 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Somewhere along the line, MAKE_LINKS got broken, thereby breakingandersen2001-02-231-0/+4
| | | | | | | 'make install'. Fix that. git-svn-id: svn://busybox.net/trunk/busybox@1899 69ca8d6d-28ef-0310-b511-8ec308f3f277
* I should be more careful...andersen2001-02-231-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1892 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Turn off the printf attribute for the ?error_msg* functions, since itandersen2001-02-221-4/+4
| | | | | | | | | is ok to pass them a NULL, unlike printf. This silences a pointless warning message. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1891 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in kent robotti's updated dos2unix.candersen2001-02-221-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1890 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Commit a few updates to the usage messages.andersen2001-02-221-94/+73
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1888 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another update to the way usage messages are done by Evin Robertsonandersen2001-02-223-1772/+881
| | | | | | | | | <nitfol@my-deja.com>, which makes things just a little bit smaller, but makes usage.h more readable/maintainable IMHO. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1879 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A bunch of usage clenups from kent robotti <robotti@metconnect.com>andersen2001-02-171-22/+21
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1848 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Do usage messages the same way all other apps fo them.andersen2001-02-161-0/+12
| | | | | | | | | Skip printing of available options (can't do this easily). Based on a patch by Larry Doolittle. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1836 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fins find message.andersen2001-02-141-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1807 69ca8d6d-28ef-0310-b511-8ec308f3f277
* I forgot to add usage.h, so here it is, with a few extra cleanups.andersen2001-02-141-0/+2038
| | | | | | | | | | Also update show_usage to handle the updated usage.h. Again, nearly all the work to get usage.h into shape was done by Manuel Novoa III. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1806 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch, put together by Manuel Novoa III, is a merge of workandersen2001-02-142-138/+159
| | | | | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed. git-svn-id: svn://busybox.net/trunk/busybox@1805 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Commit Vladimir's latest version of stty.c. Nice work.andersen2001-02-141-0/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1803 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in ifconfig and routeandersen2001-02-142-0/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1802 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Several cleanups from Manuel Novoa III.andersen2001-02-141-1/+1
| | | | | | | | | | | | | | | get_kernel_revision -- size reduction NOTE: may want to combine with get_kernel_version in insmod??? parse_mode -- size reduction, multiple settings with "," now work correctly, sticky-bit setting now implemented process_escape_sequence -- size reduction, octal code to big for char bug fixed format -- size reduction, val > LONG_MAX and hr = 1 printing bug fixed (was %ld), git-svn-id: svn://busybox.net/trunk/busybox@1800 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply a patch from Evin Robertson -- new pivot_root applet.andersen2001-02-131-0/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1799 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New applet: dpkgbug12001-02-101-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1783 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make suffix_mult structures const. Thanks to Vladimir N. Oleynik.kraai2001-02-051-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Create find_applet_by_name function. Save 32 bytes.kraai2001-02-011-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1735 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix wget error message and add (and use) chomp library function.kraai2001-02-011-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1734 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix header file usage -- there were many unnecessary header files included inandersen2001-01-273-70/+19
| | | | | | | | | | busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1695 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in a patch to make busybox use the normal pwd.h and grp.handersen2001-01-272-0/+98
| | | | | | | | | functions. Add in simple implementations of these functions, which can, optionally, be used instead of the system versions. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1694 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Commit Larry Doolittle's buffers-on-stack/buffers-via-malloc patch.andersen2001-01-251-0/+8
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1674 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in spoon's watchdog timer app.andersen2001-01-251-0/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1672 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add HUMAN_READABLE define for -m and -h support in du, df, and lsrjune2001-01-221-0/+7
| | | | | | | | Add support for -k in du, df, and ls(no define, it's for compatibliity with the GNU utils as bb does -k by default) Fix bug #1084 git-svn-id: svn://busybox.net/trunk/busybox@1635 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add dpkg-deb commandbug12001-01-021-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1518 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Better dmalloc handlingandersen2001-01-021-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1512 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix tar handling of absolute paths and excluded directories.kraai2000-12-191-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1470 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrote dd.kraai2000-12-181-0/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1469 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrite nc to be simpler, smaller, and to check syscalls for errors.kraai2000-12-151-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1464 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed names of functions in utility.c and all affected files, to makemarkw2000-12-071-18/+18
| | | | | | | compliant with the style guide. Everybody rebuild your tags file! git-svn-id: svn://busybox.net/trunk/busybox@1398 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Removed isBlank and isWildCard macros that were totally unused (should anyonemarkw2000-12-051-5/+2
| | | | | | | | need isBlank, please use isblank() in ctype.h). Converted isDecimal and isOctal into inline functions. Compiled, tested, worked. git-svn-id: svn://busybox.net/trunk/busybox@1382 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed the comments to match the code and renamed the function to a (hopefully)markw2000-12-051-1/+1
| | | | | | | more descriptive name, and as per the style guide. git-svn-id: svn://busybox.net/trunk/busybox@1379 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Flag day warning!andersen2000-12-041-2/+2
| | | | | | | | Change TRUE and FALSE defines to normal C style TRUE=1, FALSE=0. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1375 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Larry Doolittle so it will build the newdocs right.andersen2000-12-021-6/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1370 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove #ifdef __STDC__ junk. We don't do K&R round these parts,andersen2000-12-011-2/+1
| | | | | | | so no point acting like we do. git-svn-id: svn://busybox.net/trunk/busybox@1361 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Larry Doolittle (with minor touchups from me so everything compilesandersen2000-11-302-356/+144
| | | | | | | | and works) to use the applet definitions in applets.h to autogenerate the applet function and usage prototypes. git-svn-id: svn://busybox.net/trunk/busybox@1354 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply a patch fromkent robotti:andersen2000-11-292-5/+5
| | | | | | | | | | | | Renamed unrpm to original rpmunpack, so you can use an included shell script called unrpm as a front end to it. There's also a shell script called undeb included for debian packages. Change undeb and unrpm scripts to work with the busybox tar and gunzip. git-svn-id: svn://busybox.net/trunk/busybox@1343 69ca8d6d-28ef-0310-b511-8ec308f3f277
* "I will always compile before I commit."andersen2000-11-172-1/+4
| | | | | | | | | "I will always compile before I commit." "I will always compile before I commit." -Erik git-svn-id: svn://busybox.net/trunk/busybox@1324 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up builtin overrides, and hack in the binary search for findingandersen2000-11-171-0/+2
| | | | | | | matching applets into the shell. git-svn-id: svn://busybox.net/trunk/busybox@1323 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added a new perrorMsg function, cleanup up error handling, fixed TRUE/FALSEkraai2000-10-251-0/+1
| | | | | | | uses, and other minor fixes. git-svn-id: svn://busybox.net/trunk/busybox@1239 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added a fatalPerror function to simplify error handling.kraai2000-10-251-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1234 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from Gaute B Strokkenes <gs234@cam.ac.uk> to use a binary searchmarkw2000-10-251-0/+375
| | | | | | | | to locate applets, rather than a linear search. Also, broke out the listing of applets into it's own file: applets.h. git-svn-id: svn://busybox.net/trunk/busybox@1229 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Put getopt_usage where it belongs and added *_usage entries in busybox.[ch]markw2000-10-191-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1206 69ca8d6d-28ef-0310-b511-8ec308f3f277