aboutsummaryrefslogtreecommitdiff
path: root/utility.c
AgeCommit message (Collapse)Author
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.
2000-09-11Extra defines for arGlenn L McGrath
2000-09-07New ls sorting patch, as written by Sterling Huxley, and then updatedEric Andersen
by kent robotti. I then updated it to use my_getpwuid and my_getgrgid (per busybox policy). -Erik
2000-09-05Fixed for when BB_CP_MV is enabled.Eric Andersen
2000-09-05Add BB_SH to get_last_path_component()... Fix thanks toEric Andersen
Bj�rn Eriksson.
2000-09-01Add an extra sanity check in parse_modeEric Andersen
-Erik
2000-08-28Removed dead regular expression code.Matt Kraai
2000-08-26Compile xstrdup and xstrndup iff they are needed.Matt Kraai
2000-08-25ar.c now uses a linked list to process headers, uses getopt, new internal ↵Glenn L McGrath
function extractAr(srcFD, dstFd, filename) to make it easily accessable to other busybox functions. moved copySubFile from ar.c to utilities.c modified dd.c to use fullWrite modified copyFile in utilities.c to use copySubFile
2000-08-21Yet another patch to fixup lsmodEric Andersen
-Erik