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
dd19c69904
Removed trailing \n from error_msg{,_and_die} messages.
2001-01-31 19:00:21 +00:00
Eric Andersen
8ec10a9483
Fix up copyright msgs. Bump version to 0.49 in preparation for
...
a release. Update the website with release details.
-Erik
2001-01-27 09:33:39 +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
Mark Whitley
59ab025363
#define -> static const int. Also got rid of some big static buffers.
2001-01-23 22:30:04 +00:00
Matt Kraai
a9819b2908
Use busybox error handling functions wherever possible.
2000-12-22 01:48:07 +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
aefe5629ab
Simplify error handling.
2000-12-14 05:44:36 +00:00
Mark Whitley
6f6aa9b428
Added some necessary brackets, removed debug noise.
2000-12-13 23:23:30 +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
Matt Kraai
3e856ce428
Stop using TRUE and FALSE for exit status.
2000-12-01 02:55:13 +00:00
Matt Kraai
ef5529b278
Added a new perrorMsg function, cleanup up error handling, fixed TRUE/FALSE
...
uses, and other minor fixes.
2000-10-25 17:00:36 +00:00
Matt Kraai
9133c98a9d
Cleaned up error handling, TRUE/FALSE usage, and other minor issues.
2000-10-25 16:48:15 +00:00
Matt Kraai
bbaef66b3f
Consolidate handling of some fopen failures.
2000-09-27 02:43:35 +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
32e95f988d
Fix the bandaid.
2000-09-23 19:55:59 +00:00
Eric Andersen
a1b35c4512
Apply a bandaid suggested by Jon McClintock <jonm@bluemug.com>, since deallocvt
...
has code for handling no arguments, but the usage checking code aborted if
there are any other than two arguments.
-Erik
2000-09-22 00:40:39 +00:00
Matt Kraai
322ae93a5e
Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead of
...
segfaulting or handling errors the same way themselves.
2000-09-13 02:46:14 +00:00
Eric Andersen
dc746169cf
Oops. Forgot to add in reset.c. Doh!
...
-Erik
2000-08-21 21:26:33 +00:00
Eric Andersen
88f50b6bf5
Some #include updates.
...
-Erik
2000-08-10 17:59:11 +00:00
Matt Kraai
27a804246a
Centralize handling of --help.
2000-07-19 19:24:01 +00:00
Matt Kraai
2f46b664b7
Add usage messages for applets without them.
2000-07-19 18:01:00 +00:00
Matt Kraai
bf181b9338
Extract usage information into a separate file.
2000-07-16 20:57:15 +00:00
Matt Kraai
3bd8bd89ee
Don't use strings directly in calls to usage(). This is in preparation
...
for their extraction to a separate file.
2000-07-14 23:28:47 +00:00
Pavel Roskin
df4532bfa3
More fixes for "signed vs. unsigned" warnings.
2000-07-14 17:24:58 +00:00
Matt Kraai
d537a95fdb
Use errorMsg rather than fprintf.
2000-07-14 01:51:25 +00:00
Matt Kraai
e714bce003
Use global applet_name instead of local versions.
2000-07-12 00:53:06 +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
999bf72f49
More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc
...
(except for mkfs_minix and fsck_minix -- and it doesn't yet link vs uclibc due
to missing stuff in the library).
-Erik
2000-07-09 06:59:58 +00:00
Eric Andersen
bd22ed8067
Update files to reduce dependance on kernel version...
...
-Erik
2000-07-08 18:55:24 +00:00
Eric Andersen
b610615be9
Updates to a number of apps to remove warnings/compile errors under libc5.
...
Tested under both libc5 and libc6 and all seems well with these fixes.
-Erik
2000-06-19 17:25:40 +00:00
Erik Andersen
7ab9c7ee52
Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP
...
which lets you compile out most of the "--help" output, saving
up to 17k.
Renamed mnc to nc.
-Erik
2000-05-12 19:41:47 +00:00
Erik Andersen
59b9e87024
* cp -fa now works as expected for symlinks (it didn't before)
...
* zcat works again (wasn't working since option parsing was broken)
* more doc updates/more support for BB_FEATURE_SIMPLE_HELP
-Erik
2000-05-10 05:05:45 +00:00
Erik Andersen
4625240674
Oops.
...
-Erik
2000-05-01 19:11:16 +00:00
Erik Andersen
94f5e0ba7c
Some accrued fixes/updates.
...
* cp/mv now accepts (and ignores) the -f flag, since it always
does force anyway
* tail can now accept -<num> commands (e.g. -10) for better
compatibility with the standard tail command
* added a simple id implementation; doesn't support supp. groups yet
2000-05-01 19:10:52 +00:00
Erik Andersen
abc199eb0c
Forgot this file...
...
-Erik
2000-04-28 01:26:31 +00:00
Erik Andersen
4f3f757d56
Latest and greatest. Some effort at libc5 (aiming towards newlib)
...
compatability.
-Erik
2000-04-28 00:18:56 +00:00
Erik Andersen
1d1d95051a
More Doc updates. cmdedit and more termio fixes.
2000-04-21 01:26:49 +00:00
Erik Andersen
3fe7f9f20b
More minor updates to docs (and making apps behave as the docs
...
suggest they should)
-Erik
2000-04-19 03:59:10 +00:00
Erik Andersen
a6c752201e
Updates
...
-Erik
2000-04-18 00:00:52 +00:00
Erik Andersen
61677feff7
Upates to include copyright 2000 to everything
...
-Erik
2000-04-13 01:18:56 +00:00
Erik Andersen
298854f029
My latest ramblings.
...
-Erik
2000-03-23 01:09:18 +00:00
Erik Andersen
029011b9ee
A few updates (including the cp fix the Craig has been looking for)
...
-Erik
2000-03-04 21:19:32 +00:00
Erik Andersen
e49d5ecbbe
Some formatting updates (ran the code through indent)
...
-Erik
2000-02-08 19:58:47 +00:00
Erik Andersen
a89910829c
Add the beginings of some regression testing. Add in the recently
...
contributed loadacm utility (for dealing with unicode fonts)
-Erik
1999-12-29 03:34:00 +00:00
Eric Andersen
d73dc5b073
Updates to usage, and made tar work.
...
-Erik
1999-11-10 23:13:02 +00:00
Eric Andersen
6b6b3f6ef2
Stuf
1999-10-28 16:06:25 +00:00
Eric Andersen
0460ff2e5d
Stuf
1999-10-25 23:32:44 +00:00
Eric Andersen
c49960189a
Fixed up copyright notices and such
1999-10-20 22:08:37 +00:00
Eric Andersen
e77ae3a2c0
Added sfdisk. Ststic-ified a bunch of stuff.
1999-10-19 20:03:34 +00:00
Eric Andersen
3e0fbae15e
fixes grep, added loadfont from debian bootfloppies.
...
-Erik
1999-10-19 06:02:44 +00:00
Eric Andersen
b0e9a709ba
More stuff.
...
-Erik
1999-10-18 22:28:26 +00:00
Eric Andersen
2ce1edcf54
Latest and greatest.
...
-Erik
1999-10-12 15:42:48 +00:00
Eric Andersen
2b69c40e80
More stuff works.
...
-Erik
1999-10-05 22:58:32 +00:00
Eric Andersen
cc8ed39b24
Initial revision
1999-10-05 16:24:54 +00:00