aboutsummaryrefslogtreecommitdiff
path: root/utility.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Convert utility.c into libbb.a. It is now a whole pile of .cEric Andersen2001-03-161-1887/+0
| | | | | files. Clean up the resulting damage and fix up the makefile. -Erik
* Added a dependency on BB_MKFS_MINIX to xfopen().Mark Whitley2001-03-141-1/+1
|
* Applied patch from Christophe Boyanique to add -i support to rm.Mark Whitley2001-03-131-0/+18
|
* Applied patch from Gennady Feldman to split up syslogd.c into syslogd andMark Whitley2001-03-121-0/+18
| | | | klogd (as it should be).
* Add missing dependency -- interface.c needs get_kernel_revision.Manuel Novoa III2001-03-121-1/+1
|
* Fix to trim to make it trim properly.Mark Whitley2001-03-091-4/+4
|
* Add in 'trim' routine. Fix up sh.c so it works when wordexpEric Andersen2001-03-081-0/+13
| | | | | is not available. -Erik
* Rework environment variable handling to use wordexp, per a suggestion fromEric Andersen2001-03-081-1/+1
| | | | | | | | | 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
* Applied patch from Vladimir to fix bug where find would stop as soon as it hitMark Whitley2001-03-081-16/+11
| | | | a perms error. Closes bug 1124.
* Some minor cleanups to df.c. Also, with Erik's blessing, changed name ofMark Whitley2001-03-071-1/+1
| | | | 'format' function to 'make_human_readable_str'.
* Applied patch from Christophe Boyaniqu to remove double-slashes printed inMark Whitley2001-03-071-1/+4
| | | | recursive_action.
* Rewrite of format so it behaves itselfEric Andersen2001-03-071-36/+16
| | | | -Erik
* Bug 1110 reported that the LOOP_GET_STATUS ioctl apparently returnes non-zeroEric Andersen2001-03-061-1/+1
| | | | | | error messages, contrary to the documentation. Whatever. This patch from zhaoway <zw@debian.org> looks safe enough. -Erik
* If umount2 is not available, stub it out.Eric Andersen2001-03-041-5/+20
|
* Reduce the size of mount (and bypass /proc/filesystems) by using the sysfsEric Andersen2001-03-011-2/+2
| | | | | system call, based on work done by Glenn McGrath in December. -Erik
* Patch from Vladimir N. Oleynik to save 128 bytes by moving errorEric Andersen2001-02-271-7/+10
| | | | checking for some my_* functions to utility.c
* utility.c must include stdarg.hDavid Kimdon2001-02-231-0/+1
|
* Argh. I should know to compile first.Eric Andersen2001-02-231-2/+1
|
* Make utility.c only define query_module when BB_FEATURE_NEW_MODULE_INTERFACEEric Andersen2001-02-231-1/+2
| | | | | is enabled. -Erik
* Another update to the way usage messages are done by Evin RobertsonEric Andersen2001-02-221-12/+10
| | | | | | <nitfol@my-deja.com>, which makes things just a little bit smaller, but makes usage.h more readable/maintainable IMHO. -Erik
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-14/+14
| | | | | | 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
* A few more cleanups from Vladimir.Eric Andersen2001-02-181-17/+21
|
* Regression testing bugfixes from Larry Doolittle. As an aside,Eric Andersen2001-02-161-3/+4
| | | | | | | | 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
* I forgot to add usage.h, so here it is, with a few extra cleanups.Eric Andersen2001-02-141-2/+8
| | | | | | | 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
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-2/+25
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Add in ifconfig and routeEric Andersen2001-02-141-0/+8
|
* Several cleanups from Manuel Novoa III.Eric Andersen2001-02-141-132/+153
| | | | | | | | | | | | 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),
* BB_DPKG uses copy_fileGlenn L McGrath2001-02-101-1/+1
|
* Make suffix_mult structures const. Thanks to Vladimir N. Oleynik.Matt Kraai2001-02-051-2/+3
|
* Apply a patch from Larry Doolittle to add "-all" and "-none" switchesEric Andersen2001-02-011-16/+4
| | | | | | | 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
* Create find_applet_by_name function. Save 32 bytes.Matt Kraai2001-02-011-4/+12
|
* Fix wget error message and add (and use) chomp library function.Matt Kraai2001-02-011-0/+13
|
* Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai2001-01-311-10/+12
|
* xfopen now used by wgetEric Andersen2001-01-311-1/+1
| | | | -Erik
* Fix ls behavior for broken or very narrow terminals. Fix my_*Eric Andersen2001-01-301-8/+8
| | | | | | 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
* 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
|