summaryrefslogtreecommitdiff
path: root/utility.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix header file usage -- there were many unnecessary header files included inEric Andersen2001-01-271-0/+8
| | | | | | | 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
* Add in a patch to make busybox use the normal pwd.h and grp.hEric Andersen2001-01-271-86/+43
| | | | | | functions. Add in simple implementations of these functions, which can, optionally, be used instead of the system versions. -Erik
* Tar, by itself, could fail.Eric Andersen2001-01-251-1/+2
|
* Fix for dpkg-deb, courtesy of Larry Doolittle.Eric Andersen2001-01-251-1/+1
| | | | -Erik
* More regression testing found bugletsEric Andersen2001-01-251-3/+4
|
* More regression-found bug fixesEric Andersen2001-01-241-3/+3
|
* more bugs fixed -- found doing regression testingEric Andersen2001-01-241-3/+3
| | | | -Erik
* #define -> static const int. Also got rid of some big static buffers.Mark Whitley2001-01-231-5/+5
|
* Add HUMAN_READABLE define for -m and -h support in du, df, and lsRichard June2001-01-221-0/+21
| | | | | Add support for -k in du, df, and ls(no define, it's for compatibliity with the GNU utils as bb does -k by default) Fix bug #1084
* Use getopt (or getopt_long).Matt Kraai2001-01-221-1/+1
|
* lean up a potential error, thanks to Vladimir N. Oleynik <dzo@simtreas.ru>.Eric Andersen2001-01-201-11/+6
|
* enable is_direcotry() for dpkg-debGlenn L McGrath2001-01-031-1/+1
|
* Improvements from Vladimir N. Oleynik.Matt Kraai2000-12-301-0/+2
|
* Use busybox error handling functions wherever possible.Matt Kraai2000-12-221-29/+23
|
* Fix tar handling of absolute paths and excluded directories.Matt Kraai2000-12-191-6/+7
|
* Rewrote dd.Matt Kraai2000-12-181-62/+36
|
* Change calls to error_msg.* and strerror to use perror_msg.*.Matt Kraai2000-12-181-8/+8
|
* Add missing newlines to error messages.Matt Kraai2000-12-181-1/+1
|
* Rewrite nc to be simpler, smaller, and to check syscalls for errors.Matt Kraai2000-12-151-1/+14
|
* Remove defines for ar that arent neededGlenn L McGrath2000-12-151-2/+2
|
* Fix from Matt Kraai -- a better way to NULL terminate strings for theEric Andersen2000-12-131-0/+2
| | | | | my_* passwd and group routines. I should have thought of doing it this way...
* Fix from Matt Kraai so basename / will work as expected.Eric Andersen2000-12-121-3/+5
|
* Some compile fixes found by Larry DoolittleEric Andersen2000-12-121-4/+4
|
* Matt Kraai pointed out that we can rely on strncpy to NULLEric Andersen2000-12-111-1/+1
| | | | terminate shorter cases, so we can save a few cycles...
* Fix non-NULL terminated strings.Eric Andersen2000-12-111-0/+1
|
* Patch from Matt Kraai to enable proxy support.Eric Andersen2000-12-071-2/+2
|
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-53/+53
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Changed some #define strings to static const char [] variables. Tested lsMark Whitley2000-12-051-4/+4
| | | | after changing, it worked.
* Fixed the comments to match the code and renamed the function to a (hopefully)Mark Whitley2000-12-051-9/+9
| | | | more descriptive name, and as per the style guide.
* Applied patch from Matt Kraai to add v*error functions for handling varargMark Whitley2000-12-051-21/+21
| | | | lists in a safe 'n sane fashion.
* Use perrorMsg instead of perror and keep removing files if we encounterMatt Kraai2000-12-051-5/+5
| | | | an error.
* Note new dependency.Matt Kraai2000-11-301-1/+1
|
* Add "\r" to utility.c:process_escape_sequence() (from email aboutEric Andersen2000-11-291-0/+3
| | | | | "echo vs. optarg" from Larry Doolittle Tue, 28 Nov 2000 10:36:04 -0800) -Erik
* Fix up builtin overrides, and hack in the binary search for findingEric Andersen2000-11-171-0/+8
| | | | matching applets into the shell.
* Add BB_CMP to xfopenEric Andersen2000-11-171-1/+3
|
* Fix uname problem that was breaking poweroff.Eric Andersen2000-10-301-1/+3
|
* Added a new perrorMsg function, cleanup up error handling, fixed TRUE/FALSEMatt Kraai2000-10-251-0/+16
| | | | uses, and other minor fixes.
* Added a fatalPerror function to simplify error handling.Matt Kraai2000-10-251-0/+17
|
* Remove broken error test found by Bryan Rittmeyer <bryan@ixiacom.com>.Matt Kraai2000-10-161-5/+0
|
* Patch from Matt Kraai so wc will return a proper error codeEric Andersen2000-10-091-1/+1
| | | | | | when failing to open a file, and will not use file when it didn't open the file. -Erik
* Apply patch from Giulio Orsero <giulioo@pobox.com> to ensureEric Andersen2000-10-011-1/+1
| | | | | get_last_path_component is defined under all configurations, -Erik
* Rewrote head to perservere when it can't open a file, and share codeMatt Kraai2000-09-271-3/+17
| | | | with cat.
* Continue concatenating files even if we can't open one.Matt Kraai2000-09-271-1/+2
|
* Consolidate handling of some fopen failures.Matt Kraai2000-09-271-1/+1
|
* Rewrote uniq to be less than a third of the size, and fixed some otherMatt Kraai2000-09-271-6/+16
| | | | minor problems.
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Remove a now unneeded checkEric Andersen2000-09-251-1/+1
|
* Fix potential memory overrun...Eric Andersen2000-09-231-1/+1
|
* More portable handling of loop header files, as done in util-linuxEric Andersen2000-09-211-5/+4
|
* Fix the halt/reboot/poweroff segfault when used from within an initrd...Eric Andersen2000-09-141-15/+3
| | | | -Erik