fe1ef2bc62
Fix buffer overflows noted by Gerardo Puga
...
-Erik
2002-06-06 14:36:07 +00:00
19732c6226
Teach makedevs to not segfault quite so much
2002-04-13 14:26:44 +00:00
85208e2ab9
Completely rework the config system so that it no longer annoys me to work on
...
the busybox development tree. This eliminates the use of recursive make, and
once again allows us to run 'make' in a subdirectory with the expected result.
And things are now much faster too. Greatly improved IMHO...
-Erik
2002-04-12 12:05:57 +00:00
356b6dbf86
Patch from Steve Merrifield <steve@labyrinth.net.au> to
...
fixup the merge of the time applet, which I messed up.
-Erik
2001-12-06 07:42:04 +00:00
2dd2d7a37d
Patch to avoid warnings
2001-12-06 03:29:37 +00:00
c3657428d3
Add in a 'time' applet. Adds 4.5k.
...
-Erik
2001-11-30 07:54:32 +00:00
c36642195c
Include time.h
2001-11-20 00:15:27 +00:00
b78d9b56eb
Oops. Fix capililization
2001-10-24 17:35:52 +00:00
bfebd35bea
Fix missing BB_VER defines
2001-10-24 16:51:39 +00:00
bdfd0d78bc
Major rework of the directory structure and the entire build system.
...
-Erik
2001-10-24 05:00:29 +00:00
3450636169
Latest patch from vodz. Adds a check for divide by zero in the posix
...
math suport, cleaner math syntax error checking, moves redundant signal
string tables (from kill and ash) into libbb and provides a few
cleanups elsewhere.
2001-08-02 05:02:46 +00:00
20aab260e2
Some adjustments, mostly from David McCullough <davidm@lineo.com> to
...
make busybox be more uClinux friendly. I also adjusted Config.h for
uClinux so it will automagically disable apps the arn't going to
work without fork() and such.
-Erik
2001-07-19 22:28:02 +00:00
77d9268892
Patch from larry to fix some grammar errors.
2001-05-23 20:32:09 +00:00
1eb4acfc23
Fixed misnamed rewind command (noted by Tom Oehser).
2001-05-22 14:32:35 +00:00
73991ff925
Fix tell support.
2001-05-21 17:01:32 +00:00
13a70ac2ab
Fix open mode for IOCTLs which write to the tape.
2001-05-21 15:00:39 +00:00
28355a36da
Per some comments from Lars Kellogg-Stedman <lars@larsshack.org>,
...
make xreadlink() return NULL on failure, and make sure everyone
uses the interface correctly.
-Erik
2001-05-07 17:48:28 +00:00
8a633268ef
Made new xreadlink function for libbb and changed applets to use it instead of
...
readlink(2).
2001-04-30 18:17:00 +00:00
04095e58fb
Move messages.c to libbb. Make each string in messages.c be its own .o file.
...
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-25 05:39:18 +00:00
e703f7ed42
Ha. Regression testing found a bug with uClibc support. Fixed.
...
-Erik
2001-04-10 19:03:03 +00:00
b6b519b416
Update how we detect if libc5 is in use.
...
-Erik
2001-04-09 23:52:18 +00:00
e76c3b08e1
A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a few
...
shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can
handle them sanely and all at once.
-Erik
2001-04-05 03:14:39 +00:00
6f93277f56
Added adjtimex applet from Larry Doolittle.
2001-03-20 19:18:10 +00:00
8d4c397d9d
Patch from Jeff Garzik marking a few 'getopt not needed' apps.
2001-03-09 21:28:09 +00:00
eba8ed71f0
Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanup
...
warnings with glibc 2.2 and use always use xfopen
-Erik
2001-03-09 14:36:42 +00:00
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
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
dd19c69904
Removed trailing \n from error_msg{,_and_die} messages.
2001-01-31 19:00:21 +00:00
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
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
ffde8673fe
Add in spoon's watchdog timer app.
...
-Erik
2001-01-25 23:40:32 +00:00
a9819b2908
Use busybox error handling functions wherever possible.
2000-12-22 01:48:07 +00:00
1fa1adea2a
Change calls to error_msg.* and strerror to use perror_msg.*.
2000-12-18 03:57:16 +00:00
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
3e856ce428
Stop using TRUE and FALSE for exit status.
2000-12-01 02:55:13 +00:00
872138de50
Added cmp and readlink applets from Matt Kraai.
2000-10-09 18:56:47 +00:00
43f3e6114c
Fixes to allow compilation on systems with glibc 2.1.92
2000-09-28 20:52:55 +00:00
3570a34de4
Renamed "internal.h" to the more sensible "busybox.h".
...
-Erik
2000-09-25 21:45:58 +00:00
75610e18b3
Better cross libc compatibility (so Dave Cinege can stop complaining
...
that I broke it).
-Erik
2000-09-22 00:22:10 +00:00
1eec89df4c
Apply segfault on no-args fix from robotti@metconnect.com
2000-09-05 18:21:53 +00:00
88f50b6bf5
Some #include updates.
...
-Erik
2000-08-10 17:59:11 +00:00
1ac435c15e
Converted option parsing to getopt(). Also added some explanatory comments.
2000-07-20 23:06:27 +00:00
bf181b9338
Extract usage information into a separate file.
2000-07-16 20:57:15 +00:00
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
d537a95fdb
Use errorMsg rather than fprintf.
2000-07-14 01:51:25 +00:00
be909b1cd5
Forgot to commit these cleanups it seems.
...
-Erik
2000-07-11 17:52:22 +00:00
9b2297a34e
Remove yet more kernel header dependancies.
...
-Erik
2000-07-10 20:08:44 +00:00
1ca41775bb
Yanked out the cstring_alloc() and cstring_lineFromFile() functions from
...
utility.c and replaced them with get_line_from_file() from the new grep.c.
Also changed declaration in internal.h and replaced instances of
cstring_lineFromFile() in dc.c and sort.c with get_line_from_file(). Tested
them and they worked fine.
2000-06-28 22:15:26 +00:00
7ac06a3ff1
Removed all vestiges of "math"
2000-06-21 20:17:29 +00:00
0021679b0d
+ added dc (aka the function formerly known as math)
...
+ did all the housekeeping that this change requires.
2000-06-21 19:06:16 +00:00