Eric Andersen
cbe31dace5
It turns out that DODMALLOC was broken when I reorganized busybox.h
...
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-20 06:14:08 +00:00
Eric Andersen
67991cf824
This patch, put together by Manuel Novoa III, is a merge of work
...
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-14 21:23:06 +00:00
Matt Kraai
f2cc2762bb
Create find_applet_by_name function. Save 32 bytes.
2001-02-01 19:21:20 +00:00
Matt Kraai
dd19c69904
Removed trailing \n from error_msg{,_and_die} messages.
2001-01-31 19:00:21 +00:00
Eric Andersen
90ca2848fd
Fix some formatting
2001-01-27 08:32:57 +00:00
Eric Andersen
ed3ef50c23
Fix header file usage -- there were many unnecessary header files included in
...
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-27 08:24:39 +00:00
Eric Andersen
f5d5e77321
more bugs fixed -- found doing regression testing
...
-Erik
2001-01-24 23:34:48 +00:00
Matt Kraai
1fa1adea2a
Change calls to error_msg.* and strerror to use perror_msg.*.
2000-12-18 03:57:16 +00:00
Matt Kraai
8abc78aa84
Rewrite argv munger.
2000-12-15 00:35:22 +00:00
Eric Andersen
8c28fd7849
Forget to set final argv entry to NULL, breaking sh.c amoung
...
other things...
2000-12-09 00:19:30 +00:00
Eric Andersen
5e09b6e3a8
when invoked as 'busybox foo args' remove the "busybox"
...
so ps shows only what we want it to show...
2000-12-08 19:03:12 +00:00
Mark Whitley
f57c944e09
Changed names of functions in utility.c and all affected files, to make
...
compliant with the style guide. Everybody rebuild your tags file!
2000-12-07 19:56:48 +00:00
Eric Andersen
8c725e624a
Patch from Larry Doolittle (with minor touchups from me so everything compiles
...
and works) to use the applet definitions in applets.h to autogenerate the applet
function and usage prototypes.
2000-11-30 00:27:06 +00:00
Eric Andersen
e5aef92e22
Fix up builtin overrides, and hack in the binary search for finding
...
matching applets into the shell.
2000-11-17 18:25:26 +00:00
Matt Kraai
2dab174daa
Restore --help handling I mistakenly removed.
2000-10-25 19:05:38 +00:00
Matt Kraai
a0428eee9e
Avoid reinventing the wheel (and thus save some space).
2000-10-25 19:00:51 +00:00
Mark Whitley
130005cd89
Applied patch from Gaute B Strokkenes <gs234@cam.ac.uk> to use a binary search
...
to locate applets, rather than a linear search. Also, broke out the listing of
applets into it's own file: applets.h.
2000-10-25 00:28:27 +00:00
Mark Whitley
6050618096
Put getopt_usage where it belongs and added *_usage entries in busybox.[ch]
2000-10-19 22:28:06 +00:00
Mark Whitley
872138de50
Added cmp and readlink applets from Matt Kraai.
2000-10-09 18:56:47 +00:00
Eric Andersen
3570a34de4
Renamed "internal.h" to the more sensible "busybox.h".
...
-Erik
2000-09-25 21:45:58 +00:00
Eric Andersen
c5949f62e5
Fix from Matt Kraai for the to the "busybox --install prints out on STDERR
...
"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-25 20:35:54 +00:00
Eric Andersen
92a61c1206
Add in xargs
2000-09-22 20:01:23 +00:00
Eric Andersen
cff3fe3ae9
Added dos2unix, unix2dos, and unrpm.c thanks to robotti@metconnect.com.
...
-Erik
2000-09-20 19:22:26 +00:00
Eric Andersen
1b355ebba6
Added expr, from Edward Betts <edward@debian.org>, with some fixups
...
and docs added by me.
-Erik
2000-09-05 17:37:48 +00:00
Eric Andersen
9670083818
Initial implementation of wget, from Chip Rosenthal <chip@laserlink.net>.
...
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-04 15:15:55 +00:00
Eric Andersen
cb91d69b3f
Fix compile when BB_FEATURE_LINUXRC is defined
...
-Erik
2000-09-01 18:43:02 +00:00
Eric Andersen
918507edda
Added the 'rdate' command, thanks to Sterling Huxley <sterling@europa.com>.
...
I added the docs, and made behavior identical to the GNU version.
-Erik
2000-08-21 22:46:33 +00:00
Eric Andersen
a1f16bba72
Added getopt(1) from "Alfred M. Szmidt" <ams@trillian.itslinux.org>
...
-Erik
2000-08-21 22:02:34 +00:00
Eric Andersen
fa405d0cb2
Add in the "reset" command.
...
-Erik
2000-08-21 21:18:52 +00:00
Eric Andersen
e89267c8b3
Minor fixups.
...
-Erik
2000-08-19 20:16:16 +00:00
Eric Andersen
88f50b6bf5
Some #include updates.
...
-Erik
2000-08-10 17:59:11 +00:00
Eric Andersen
501c88b245
More sh updates (with related changes to everything else). Switched
...
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-28 15:14:45 +00:00
Eric Andersen
d34595d857
Remove some noise.
...
-Erik
2000-07-25 17:58:01 +00:00
Eric Andersen
bf960f58e2
Added 'renice' command, thanks to Dave Cinege <dcinege@psychosis.com>
...
-Erik
2000-07-21 21:32:12 +00:00
Matt Kraai
27a804246a
Centralize handling of --help.
2000-07-19 19:24:01 +00:00
Eric Andersen
52d6fa3bb3
Funny. Head was getting installed to the wrong spot.
...
-Erik
2000-07-19 17:34:40 +00:00
Pavel Roskin
9c5fcc3408
New message added to messages.c: full_version
...
Used where possible
2000-07-17 23:45:12 +00:00
Eric Andersen
d6912c97de
Be more pedantic aboutthe terminating null applet.
...
-Erik
2000-07-14 06:29:10 +00:00
Matt Kraai
d537a95fdb
Use errorMsg rather than fprintf.
2000-07-14 01:51:25 +00:00
Matt Kraai
3ecbe9f4dc
The applet name isn't constant.
2000-07-12 00:43:28 +00:00
Matt Kraai
7719008a85
Added applet_name to contain the applet name.
2000-07-11 20:03:24 +00:00
Eric Andersen
61dc057183
Added 'dumpkmap' to allow people to dump a binary keymap, which can then be
...
loaded in by 'loadkmap' -- submitted by Arne Bernin <arne@matrix.loopback.org>
-Erik
2000-07-11 17:29:36 +00:00
Eric Andersen
e6b9dfa967
Removed sfdisk from BusyBox. It was buggy, fat, and we really couldn't
...
maintain it very well, so including it was not very appropriate. Those wanting
an fdisk are invited to grab a copy from util-linux.
-Erik
2000-07-07 20:54:30 +00:00
Eric Andersen
62bb2d02b6
Remove leftovers of block_device, which disapperared around
...
busybox 0.28.
-Erik
2000-07-06 19:46:22 +00:00
Eric Andersen
5d41d60f1e
Added support for being a login shell, so things like '-su' or '-sh' (stuff
...
where argv[0][0]=='-') will now always invoke the shell. Now you can use
BusyBox as a login shell.
-Erik
2000-06-29 20:20:14 +00:00
John Beppu
eb0283333b
= minor formatting issues
2000-06-28 00:55:31 +00:00
John Beppu
7cdc76dfbf
+ busybox --install [-s]
...
is functional (but disabled in busybox.def.h by default)
Someone email the guy who originally wanted this.
2000-06-28 00:41:26 +00:00
John Beppu
495869f59a
+ s/int install_links/static int install_links/
...
? Did you want "busybox --install" or "busybox install" ?
The TODO and mailing-list conflict on this issue.
I would recommend against "busybox install", because
people might confuse it w/ /usr/bin/install that does
something different.
2000-06-27 07:54:33 +00:00
John Beppu
27b5924b96
+ littering my code w/ comments about what troubles me.
2000-06-27 04:56:45 +00:00
John Beppu
8f425dbf9a
+ busybox --install [-s]
...
is almost good to go. Here is my work in progress.
+ Look at the FIXME in busybox.c
to see what I need. The actual (sym)linking is disabled
for now, although I'm sure it works ;)
(Am I going to have to dig through /proc to find
out where the currently running busybox is sitting?)
+ I put an #ifdef BB_FEATURE_INSTALLER around
the new bits of code in busybox.c, and I have a
#define BB_FEATURE_INSTALLER in busybox.def.h
towards the bottom.
2000-06-27 04:50:02 +00:00