aboutsummaryrefslogtreecommitdiff
path: root/utility.c
AgeCommit message (Collapse)Author
2001-01-27Add in a patch to make busybox use the normal pwd.h and grp.hEric Andersen
functions. Add in simple implementations of these functions, which can, optionally, be used instead of the system versions. -Erik
2001-01-25Tar, by itself, could fail.Eric Andersen
2001-01-25Fix for dpkg-deb, courtesy of Larry Doolittle.Eric Andersen
-Erik
2001-01-25More regression testing found bugletsEric Andersen
2001-01-24More regression-found bug fixesEric Andersen
2001-01-24more bugs fixed -- found doing regression testingEric Andersen
-Erik
2001-01-23#define -> static const int. Also got rid of some big static buffers.Mark Whitley
2001-01-22Add HUMAN_READABLE define for -m and -h support in du, df, and lsRichard June
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
2001-01-22Use getopt (or getopt_long).Matt Kraai
2001-01-20lean up a potential error, thanks to Vladimir N. Oleynik <dzo@simtreas.ru>.Eric Andersen
2001-01-03enable is_direcotry() for dpkg-debGlenn L McGrath
2000-12-30Improvements from Vladimir N. Oleynik.Matt Kraai
2000-12-22Use busybox error handling functions wherever possible.Matt Kraai
2000-12-19Fix tar handling of absolute paths and excluded directories.Matt Kraai
2000-12-18Rewrote dd.Matt Kraai
2000-12-18Change calls to error_msg.* and strerror to use perror_msg.*.Matt Kraai
2000-12-18Add missing newlines to error messages.Matt Kraai
2000-12-15Rewrite nc to be simpler, smaller, and to check syscalls for errors.Matt Kraai
2000-12-15Remove defines for ar that arent neededGlenn L McGrath
2000-12-13Fix from Matt Kraai -- a better way to NULL terminate strings for theEric Andersen
my_* passwd and group routines. I should have thought of doing it this way...
2000-12-12Fix from Matt Kraai so basename / will work as expected.Eric Andersen
2000-12-12Some compile fixes found by Larry DoolittleEric Andersen
2000-12-11Matt Kraai pointed out that we can rely on strncpy to NULLEric Andersen
terminate shorter cases, so we can save a few cycles...
2000-12-11Fix non-NULL terminated strings.Eric Andersen
2000-12-07Patch from Matt Kraai to enable proxy support.Eric Andersen
2000-12-07Changed names of functions in utility.c and all affected files, to makeMark Whitley
compliant with the style guide. Everybody rebuild your tags file!
2000-12-05Changed some #define strings to static const char [] variables. Tested lsMark Whitley
after changing, it worked.
2000-12-05Fixed the comments to match the code and renamed the function to a (hopefully)Mark Whitley
more descriptive name, and as per the style guide.
2000-12-05Applied patch from Matt Kraai to add v*error functions for handling varargMark Whitley
lists in a safe 'n sane fashion.
2000-12-05Use perrorMsg instead of perror and keep removing files if we encounterMatt Kraai
an error.
2000-11-30Note new dependency.Matt Kraai
2000-11-29Add "\r" to utility.c:process_escape_sequence() (from email aboutEric Andersen
"echo vs. optarg" from Larry Doolittle Tue, 28 Nov 2000 10:36:04 -0800) -Erik
2000-11-17Fix up builtin overrides, and hack in the binary search for findingEric Andersen
matching applets into the shell.
2000-11-17Add BB_CMP to xfopenEric Andersen
2000-10-30Fix uname problem that was breaking poweroff.Eric Andersen
2000-10-25Added a new perrorMsg function, cleanup up error handling, fixed TRUE/FALSEMatt Kraai
uses, and other minor fixes.
2000-10-25Added a fatalPerror function to simplify error handling.Matt Kraai
2000-10-16Remove broken error test found by Bryan Rittmeyer <bryan@ixiacom.com>.Matt Kraai
2000-10-09Patch from Matt Kraai so wc will return a proper error codeEric Andersen
when failing to open a file, and will not use file when it didn't open the file. -Erik
2000-10-01Apply patch from Giulio Orsero <giulioo@pobox.com> to ensureEric Andersen
get_last_path_component is defined under all configurations, -Erik
2000-09-27Rewrote head to perservere when it can't open a file, and share codeMatt Kraai
with cat.
2000-09-27Continue concatenating files even if we can't open one.Matt Kraai
2000-09-27Consolidate handling of some fopen failures.Matt Kraai
2000-09-27Rewrote uniq to be less than a third of the size, and fixed some otherMatt Kraai
minor problems.
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-09-25Remove a now unneeded checkEric Andersen
2000-09-23Fix potential memory overrun...Eric Andersen
2000-09-21More portable handling of loop header files, as done in util-linuxEric Andersen
2000-09-14Fix the halt/reboot/poweroff segfault when used from within an initrd...Eric Andersen
-Erik
2000-09-13Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead ofMatt Kraai
segfaulting or handling errors the same way themselves.