summaryrefslogtreecommitdiff
path: root/utility.c
AgeCommit message (Collapse)Author
2001-03-14Added a dependency on BB_MKFS_MINIX to xfopen().Mark Whitley
2001-03-13Applied patch from Christophe Boyanique to add -i support to rm.Mark Whitley
2001-03-12Applied patch from Gennady Feldman to split up syslogd.c into syslogd andMark Whitley
klogd (as it should be).
2001-03-12Add missing dependency -- interface.c needs get_kernel_revision.Manuel Novoa III
2001-03-09Fix to trim to make it trim properly.Mark Whitley
2001-03-08Add in 'trim' routine. Fix up sh.c so it works when wordexpEric Andersen
is not available. -Erik
2001-03-08Rework environment variable handling to use wordexp, per a suggestion fromEric Andersen
Larry Doolittle a couple of months ago. This makes the stuff-expansion in lash be ever so standards compliant. This change needs testing by everyone, but appears to be solid enough to let us close bug #1090. It works for me; however, please test this change! -Erik
2001-03-08Applied patch from Vladimir to fix bug where find would stop as soon as it hitMark Whitley
a perms error. Closes bug 1124.
2001-03-07Some minor cleanups to df.c. Also, with Erik's blessing, changed name ofMark Whitley
'format' function to 'make_human_readable_str'.
2001-03-07Applied patch from Christophe Boyaniqu to remove double-slashes printed inMark Whitley
recursive_action.
2001-03-07Rewrite of format so it behaves itselfEric Andersen
-Erik
2001-03-06Bug 1110 reported that the LOOP_GET_STATUS ioctl apparently returnes non-zeroEric Andersen
error messages, contrary to the documentation. Whatever. This patch from zhaoway <zw@debian.org> looks safe enough. -Erik
2001-03-04If umount2 is not available, stub it out.Eric Andersen
2001-03-01Reduce the size of mount (and bypass /proc/filesystems) by using the sysfsEric Andersen
system call, based on work done by Glenn McGrath in December. -Erik
2001-02-27Patch from Vladimir N. Oleynik to save 128 bytes by moving errorEric Andersen
checking for some my_* functions to utility.c
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