summaryrefslogtreecommitdiff
path: root/applets/busybox.c
AgeCommit message (Collapse)Author
2005-04-22output busybox help to stdout, not stderrMike Frysinger
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2003-11-07wrap bb help output if CONFIG_FEATURE_AUTOWIDTHTim Riker
2003-10-04Woops, the previous patch reversal wasnt complete, breaking everything.Glenn L McGrath
2003-10-03Reverse my previous changes and make a note about why its dont this wayGlenn L McGrath
2003-10-03argc has already been decrementedGlenn L McGrath
2003-10-03Patch from Rob Landley, Simplify organisation of arguments.Glenn L McGrath
2003-03-19Major coreutils update.Manuel Novoa III
2002-04-06Apply lash_patch35 from vodz, which brings several nice size_optimizations.Eric Andersen
2001-12-18Vodz' last_patch31Eric Andersen
Very minimal last corrections: 1) busybox.c: fix warining 2) docs/: add applets for list from pwd_grp 3) usage.h: add -n option for route 4) run_parts.c: many todo fix for busybox style 5) addgroup.c: add #ifdef CONFIG_FEATURE_SHADOWPASSWDS, reduce one perror_msg 6) adduser.c: fix bug "variable i not initialize" and add #ifdef CONFIG_FEATURE_SHADOWPASSWDS
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-08-27Fix invocation of `-/bin/sh' (bug #1209).Matt Kraai
2001-06-21Per a suggestion from Tom Oehser, fix up the leading-hyphen hack toEric Andersen
make it general. Now all leading single hyphens are ignored for purposed of applet name matching, while argv[0] is still passed unaltered to applets, so leading-hyphen sensitive applets (such as sh) can react accordingly. -Erik
2001-05-23Patch from larry to fix some grammar errors.Eric Andersen
2001-05-13Make the locale stuff only do the getpid==1 check if BB_INIT is definedEric Andersen
2001-05-07Per some comments from Lars Kellogg-Stedman <lars@larsshack.org>,Eric Andersen
make xreadlink() return NULL on failure, and make sure everyone uses the interface correctly. -Erik
2001-04-30Made new xreadlink function for libbb and changed applets to use it instead ofMark Whitley
readlink(2).
2001-04-25Move messages.c to libbb. Make each string in messages.c be its own .o file.Eric Andersen
This way, we can new get rid of all that tedious #define rubbish we used to need to enable specific messages. This way is enormously simpler, and as a bonus also ends up saving us 96 bytes. -Erik
2001-04-09Apply Vladimir's latest cleanup patch.Eric Andersen
-Erik
2001-04-03Make 'busybox --help' work as expected, closing bug #1139Eric Andersen
-Erik
2001-03-20Force applet_name to be "sh" when command prefaced by "-"Eric Andersen
2001-03-19Patch from Vladimir to move struct applet from busybox.c to applets.c,Eric Andersen
which looks like the right place for such things to live.
2001-03-02Changed exit code from -1 to 0 when busybox is invoked with no args.Mark Whitley
(Closes bug #1114.)
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -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-01Create find_applet_by_name function. Save 32 bytes.Matt Kraai
2001-01-31Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai
2001-01-27Fix some formattingEric Andersen
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-24more bugs fixed -- found doing regression testingEric Andersen
-Erik
2000-12-18Change calls to error_msg.* and strerror to use perror_msg.*.Matt Kraai
2000-12-15Rewrite argv munger.Matt Kraai
2000-12-09Forget to set final argv entry to NULL, breaking sh.c amoungEric Andersen
other things...
2000-12-08when invoked as 'busybox foo args' remove the "busybox"Eric Andersen
so ps shows only what we want it to show...
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-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-17Fix up builtin overrides, and hack in the binary search for findingEric Andersen
matching applets into the shell.
2000-10-25Restore --help handling I mistakenly removed.Matt Kraai
2000-10-25Avoid reinventing the wheel (and thus save some space).Matt Kraai
2000-10-25Applied patch from Gaute B Strokkenes <gs234@cam.ac.uk> to use a binary searchMark Whitley
to locate applets, rather than a linear search. Also, broke out the listing of applets into it's own file: applets.h.
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-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-09-25Fix from Matt Kraai for the to the "busybox --install prints out on STDERREric Andersen
"File already exists" messages for all files (including the ones that DON'T exist)" problem reported by "Bruno L. F. Cabral" <bruno@openline.com.br>. Thanks Matt! -Erik
2000-09-22Add in xargsEric Andersen
2000-09-20Added dos2unix, unix2dos, and unrpm.c thanks to robotti@metconnect.com.Eric Andersen
-Erik
2000-09-05Added expr, from Edward Betts <edward@debian.org>, with some fixupsEric Andersen
and docs added by me. -Erik
2000-09-04Initial implementation of wget, from Chip Rosenthal <chip@laserlink.net>.Eric Andersen
Very cool. Still lacks "chunked" transfer-coding, so not totally RFC compliant for HTTP1.1, but very nice nonethe less, and very small. -Erik
2000-09-01Fix compile when BB_FEATURE_LINUXRC is definedEric Andersen
-Erik
2000-08-21Added the 'rdate' command, thanks to Sterling Huxley <sterling@europa.com>.Eric Andersen
I added the docs, and made behavior identical to the GNU version. -Erik