aboutsummaryrefslogtreecommitdiff
path: root/busybox.h
AgeCommit message (Collapse)Author
2001-07-19Add a RELEASE_BB_BUFFER macro and use it to fix a memory leak in syslogd.cMatt Kraai
(noted by Adam Slattery).
2001-04-24Move applet_name declaration from busybox.h to libbb.h.Matt Kraai
2001-04-20Applied patch from Larry Doolittle to give users the third option of puttingMark Whitley
buffers in BSS (in addition to stack and heap).
2001-04-12Use date -u instead of date --utc and consolidate version string.Matt Kraai
Patch by Larry Doolittle <ldoolitt@recycle.lbl.gov>.
2001-03-27In fact, socklen_t *is* defined by libc5.Mark Whitley
2001-03-16Convert utility.c into libbb.a. It is now a whole pile of .cEric Andersen
files. Clean up the resulting damage and fix up the makefile. -Erik
2001-03-14Amazing the difference between an "and" and an "or".Eric Andersen
2001-03-14Some updates for libc5Eric Andersen
2001-03-13Applied patch from Christophe Boyanique to add -i support to rm.Mark Whitley
2001-03-12Applied patch from Gennady Feldman to split up syslogd.c into syslogd andMark Whitley
klogd (as it should be).
2001-03-08Add in 'trim' routine. Fix up sh.c so it works when wordexpEric Andersen
is not available. -Erik
2001-03-07Changed KILOBYTE, MEGABYTE, and GIGABYTE from #define to enum.Mark Whitley
2001-03-07Some minor cleanups to df.c. Also, with Erik's blessing, changed name ofMark Whitley
'format' function to 'make_human_readable_str'.
2001-03-01Applied patch from David Douthitt to fix build error in df.c whenMark Whitley
BB_FEATURE_HUMAN_READABLE was disabled.
2001-02-27Patch from Vladimir N. Oleynik to save 128 bytes by moving errorEric Andersen
checking for some my_* functions to utility.c
2001-02-22Turn off the printf attribute for the ?error_msg* functions, since itEric Andersen
is ok to pass them a NULL, unlike printf. This silences a pointless warning message. -Erik
2001-02-22Another update to the way usage messages are done by Evin RobertsonEric Andersen
<nitfol@my-deja.com>, which makes things just a little bit smaller, but makes usage.h more readable/maintainable IMHO. -Erik
2001-02-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
2001-02-14Add in ifconfig and routeEric Andersen
2001-02-14Several cleanups from Manuel Novoa III.Eric Andersen
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),
2001-02-05Make suffix_mult structures const. Thanks to Vladimir N. Oleynik.Matt Kraai
2001-02-01Create find_applet_by_name function. Save 32 bytes.Matt Kraai
2001-02-01Fix wget error message and add (and use) chomp library function.Matt Kraai
2001-01-27Fix header file usage -- there were many unnecessary header files included inEric Andersen
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
2001-01-25Commit Larry Doolittle's buffers-on-stack/buffers-via-malloc patch.Eric Andersen
-Erik
2001-01-22Add HUMAN_READABLE define for -m and -h support in du, df, and lsRichard June
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
2001-01-02Better dmalloc handlingEric Andersen
2000-12-19Fix tar handling of absolute paths and excluded directories.Matt Kraai
2000-12-18Rewrote dd.Matt Kraai
2000-12-15Rewrite nc to be simpler, smaller, and to check syscalls for errors.Matt Kraai
2000-12-07Changed names of functions in utility.c and all affected files, to makeMark Whitley
compliant with the style guide. Everybody rebuild your tags file!
2000-12-05Removed isBlank and isWildCard macros that were totally unused (should anyoneMark Whitley
need isBlank, please use isblank() in ctype.h). Converted isDecimal and isOctal into inline functions. Compiled, tested, worked.
2000-12-05Fixed the comments to match the code and renamed the function to a (hopefully)Mark Whitley
more descriptive name, and as per the style guide.
2000-12-04Flag day warning!Eric Andersen
Change TRUE and FALSE defines to normal C style TRUE=1, FALSE=0. -Erik
2000-12-01Remove #ifdef __STDC__ junk. We don't do K&R round these parts,Eric Andersen
so no point acting like we do.
2000-11-30Patch from Larry Doolittle (with minor touchups from me so everything compilesEric Andersen
and works) to use the applet definitions in applets.h to autogenerate the applet function and usage prototypes.
2000-11-29Apply a patch fromkent robotti:Eric Andersen
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.
2000-11-17"I will always compile before I commit."Eric Andersen
"I will always compile before I commit." "I will always compile before I commit." -Erik
2000-11-17Fix up builtin overrides, and hack in the binary search for findingEric Andersen
matching applets into the shell.
2000-10-25Added a new perrorMsg function, cleanup up error handling, fixed TRUE/FALSEMatt Kraai
uses, and other minor fixes.
2000-10-25Added a fatalPerror function to simplify error handling.Matt Kraai
2000-10-19Put getopt_usage where it belongs and added *_usage entries in busybox.[ch]Mark Whitley
2000-10-09Added cmp and readlink applets from Matt Kraai.Mark Whitley
2000-09-27Rewrote head to perservere when it can't open a file, and share codeMatt Kraai
with cat.
2000-09-27Rewrote uniq to be less than a third of the size, and fixed some otherMatt Kraai
minor problems.
2000-09-26Add in busybox.h. I renamed it, and forgot to commit the newky named version.Eric Andersen
-Erik