aboutsummaryrefslogtreecommitdiff
path: root/applets/busybox.c
AgeCommit message (Collapse)Author
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
2000-08-21Added getopt(1) from "Alfred M. Szmidt" <ams@trillian.itslinux.org>Eric Andersen
-Erik
2000-08-21Add in the "reset" command.Eric Andersen
-Erik
2000-08-19Minor fixups.Eric Andersen
-Erik
2000-08-10Some #include updates.Eric Andersen
-Erik
2000-07-28More sh updates (with related changes to everything else). SwitchedEric Andersen
to using getopt and cleaned up the resulting mess. if-then-else-fi is now basically working (given a bunch of constraints). -Erik
2000-07-25Remove some noise.Eric Andersen
-Erik
2000-07-21Added 'renice' command, thanks to Dave Cinege <dcinege@psychosis.com>Eric Andersen
-Erik
2000-07-19Centralize handling of --help.Matt Kraai
2000-07-19Funny. Head was getting installed to the wrong spot.Eric Andersen
-Erik
2000-07-17New message added to messages.c: full_versionPavel Roskin
Used where possible
2000-07-14Be more pedantic aboutthe terminating null applet.Eric Andersen
-Erik
2000-07-14Use errorMsg rather than fprintf.Matt Kraai
2000-07-12The applet name isn't constant.Matt Kraai
2000-07-11Added applet_name to contain the applet name.Matt Kraai
2000-07-11Added 'dumpkmap' to allow people to dump a binary keymap, which can then beEric Andersen
loaded in by 'loadkmap' -- submitted by Arne Bernin <arne@matrix.loopback.org> -Erik