aboutsummaryrefslogtreecommitdiff
path: root/miscutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Latest patch from vodz. Adds a check for divide by zero in the posixandersen2001-08-021-3/+0
| | | | | | | | | math suport, cleaner math syntax error checking, moves redundant signal string tables (from kill and ash) into libbb and provides a few cleanups elsewhere. git-svn-id: svn://busybox.net/trunk/busybox@3181 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some adjustments, mostly from David McCullough <davidm@lineo.com> toandersen2001-07-191-31/+29
| | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@3130 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from larry to fix some grammar errors.andersen2001-05-231-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2715 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed misnamed rewind command (noted by Tom Oehser).kraai2001-05-221-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2700 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix tell support.kraai2001-05-211-2/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2685 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix open mode for IOCTLs which write to the tape.kraai2001-05-211-2/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2678 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Per some comments from Lars Kellogg-Stedman <lars@larsshack.org>,andersen2001-05-071-0/+2
| | | | | | | | | make xreadlink() return NULL on failure, and make sure everyone uses the interface correctly. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2551 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Made new xreadlink function for libbb and changed applets to use it instead ofmarkw2001-04-301-10/+6
| | | | | | | readlink(2). git-svn-id: svn://busybox.net/trunk/busybox@2495 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move messages.c to libbb. Make each string in messages.c be its own .o file.andersen2001-04-251-3/+0
| | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@2430 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Ha. Regression testing found a bug with uClibc support. Fixed.andersen2001-04-101-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2298 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update how we detect if libc5 is in use.andersen2001-04-092-9/+8
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2292 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewandersen2001-04-052-6/+11
| | | | | | | | | shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2250 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added adjtimex applet from Larry Doolittle.markw2001-03-201-0/+169
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2174 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Jeff Garzik marking a few 'getopt not needed' apps.andersen2001-03-091-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2029 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanupandersen2001-03-093-0/+3
| | | | | | | | warnings with glibc 2.2 and use always use xfopen -Erik git-svn-id: svn://busybox.net/trunk/busybox@2021 69ca8d6d-28ef-0310-b511-8ec308f3f277
* It turns out that DODMALLOC was broken when I reorganized busybox.handersen2001-02-208-11/+11
| | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@1864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch, put together by Manuel Novoa III, is a merge of workandersen2001-02-148-11/+11
| | | | | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed. git-svn-id: svn://busybox.net/trunk/busybox@1805 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Removed trailing \n from error_msg{,_and_die} messages.kraai2001-01-312-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1732 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up copyright msgs. Bump version to 0.49 in preparation forandersen2001-01-271-1/+1
| | | | | | | | a release. Update the website with release details. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1697 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix header file usage -- there were many unnecessary header files included inandersen2001-01-276-1/+12
| | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@1695 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in spoon's watchdog timer app.andersen2001-01-251-0/+45
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1672 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use busybox error handling functions wherever possible.kraai2000-12-221-8/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1489 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change calls to error_msg.* and strerror to use perror_msg.*.kraai2000-12-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1466 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed names of functions in utility.c and all affected files, to makemarkw2000-12-074-6/+6
| | | | | | | compliant with the style guide. Everybody rebuild your tags file! git-svn-id: svn://busybox.net/trunk/busybox@1398 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stop using TRUE and FALSE for exit status.kraai2000-12-015-22/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1360 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added cmp and readlink applets from Matt Kraai.markw2000-10-091-0/+49
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1175 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixes to allow compilation on systems with glibc 2.1.92proski2000-09-281-0/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1140 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Renamed "internal.h" to the more sensible "busybox.h".andersen2000-09-256-6/+6
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1119 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Better cross libc compatibility (so Dave Cinege can stop complainingandersen2000-09-221-2/+17
| | | | | | | | that I broke it). -Erik git-svn-id: svn://busybox.net/trunk/busybox@1089 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply segfault on no-args fix from robotti@metconnect.comandersen2000-09-051-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1010 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some #include updates.andersen2000-08-102-2/+0
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@946 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Converted option parsing to getopt(). Also added some explanatory comments.markw2000-07-201-13/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@888 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Extract usage information into a separate file.kraai2000-07-166-59/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't use strings directly in calls to usage(). This is in preparationkraai2000-07-141-7/+9
| | | | | | | for their extraction to a separate file. git-svn-id: svn://busybox.net/trunk/busybox@863 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use errorMsg rather than fprintf.kraai2000-07-142-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@848 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Forgot to commit these cleanups it seems.andersen2000-07-111-1/+0
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@819 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove yet more kernel header dependancies.andersen2000-07-101-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@804 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yanked out the cstring_alloc() and cstring_lineFromFile() functions frommarkw2000-06-281-1/+1
| | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@722 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Removed all vestiges of "math"proski2000-06-211-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@679 69ca8d6d-28ef-0310-b511-8ec308f3f277
* + added dc (aka the function formerly known as math)beppu2000-06-211-0/+194
| | | | | | | + did all the housekeeping that this change requires. git-svn-id: svn://busybox.net/trunk/busybox@678 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make syslogd.c, init.c, and update.c compile error/warning free under both ↵andersen2000-06-191-2/+4
| | | | | | | | | libc5 and libc6. -Erik git-svn-id: svn://busybox.net/trunk/busybox@664 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updates to a number of apps to remove warnings/compile errors under libc5.andersen2000-06-193-3/+3
| | | | | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik git-svn-id: svn://busybox.net/trunk/busybox@660 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some updates for better portability.erik2000-05-162-20/+17
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@551 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPerik2000-05-123-8/+17
| | | | | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik git-svn-id: svn://busybox.net/trunk/busybox@532 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * cp -fa now works as expected for symlinks (it didn't before)erik2000-05-101-3/+6
| | | | | | | | | * zcat works again (wasn't working since option parsing was broken) * more doc updates/more support for BB_FEATURE_SIMPLE_HELP -Erik git-svn-id: svn://busybox.net/trunk/busybox@530 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More stufferik2000-05-021-0/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@515 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix stupid bugs. update was segfaulting. mknod minor # was always 0erik2000-04-281-1/+1
| | | | | | | | due to a parsing bug. Oops. -Erik git-svn-id: svn://busybox.net/trunk/busybox@501 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Latest and greatest. Some effort at libc5 (aiming towards newlib)erik2000-04-281-3/+9
| | | | | | | | compatability. -Erik git-svn-id: svn://busybox.net/trunk/busybox@499 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Several more updateserik2000-04-251-0/+43
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@495 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More updates to the docs, and fixes to sync things with the docs.erik2000-04-171-5/+11
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@467 69ca8d6d-28ef-0310-b511-8ec308f3f277