aboutsummaryrefslogtreecommitdiff
path: root/utility.c
AgeCommit message (Collapse)Author
2001-02-23utility.c must include stdarg.hDavid Kimdon
2001-02-23Argh. I should know to compile first.Eric Andersen
2001-02-23Make utility.c only define query_module when BB_FEATURE_NEW_MODULE_INTERFACEEric Andersen
is enabled. -Erik
2001-02-22Another update to the way usage messages are done by Evin RobertsonEric Andersen
<nitfol@my-deja.com>, which makes things just a little bit smaller, but makes usage.h more readable/maintainable IMHO. -Erik
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
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-18A few more cleanups from Vladimir.Eric Andersen
2001-02-16Regression testing bugfixes from Larry Doolittle. As an aside,Eric Andersen
can I just say how much I am looking forward to having 0.50 released, so we can address this #define stupidness properly by building a static libbusybox, and then letting the linker sort out the dependancies.... Ahh, that will be much nicer. -Erik
2001-02-14I forgot to add usage.h, so here it is, with a few extra cleanups.Eric Andersen
Also update show_usage to handle the updated usage.h. Again, nearly all the work to get usage.h into shape was done by Manuel Novoa III. -Erik
2001-02-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
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-14Add in ifconfig and routeEric Andersen
2001-02-14Several cleanups from Manuel Novoa III.Eric Andersen
get_kernel_revision -- size reduction NOTE: may want to combine with get_kernel_version in insmod??? parse_mode -- size reduction, multiple settings with "," now work correctly, sticky-bit setting now implemented process_escape_sequence -- size reduction, octal code to big for char bug fixed format -- size reduction, val > LONG_MAX and hr = 1 printing bug fixed (was %ld),
2001-02-10BB_DPKG uses copy_fileGlenn L McGrath
2001-02-05Make suffix_mult structures const. Thanks to Vladimir N. Oleynik.Matt Kraai
2001-02-01Apply a patch from Larry Doolittle to add "-all" and "-none" switchesEric Andersen
to multibuild.pl. I did a little formatting adjustments to make it _very_ obvious when things stop working. I also removed the USE_PROCFS config option -- just do the right thing when USE_DEVPS_PATCH is enabled. -Erik
2001-02-01Create find_applet_by_name function. Save 32 bytes.Matt Kraai
2001-02-01Fix wget error message and add (and use) chomp library function.Matt Kraai
2001-01-31Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai
2001-01-31xfopen now used by wgetEric Andersen
-Erik
2001-01-30Fix ls behavior for broken or very narrow terminals. Fix my_*Eric Andersen
functions so they comply with the original interface (i.e. don't exit on error, stringify uids and gids when no amtching name found). -Erik
2001-01-27Fix header file usage -- there were many unnecessary header files included inEric Andersen
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-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.