summaryrefslogtreecommitdiff
path: root/include/libbb.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removed obsolete function, strdup_substr.Matt Kraai2001-07-051-4/+0
|
* Don't use void * to pass pointers of known typeEric Andersen2001-06-261-4/+14
|
* Vladimir's last_patch_15Glenn L McGrath2001-06-261-1/+5
|
* Nore unarchive (and doc) fixes from Laurence AndersonGlenn L McGrath2001-06-241-1/+1
|
* Remove obsolete function declaration.Matt Kraai2001-06-221-1/+0
|
* Rewrote mkdir (and touched lots of things in the process).Matt Kraai2001-06-211-0/+4
|
* Reorganise unarchiving functions, more code re-use, only does single pass(no ↵Glenn L McGrath2001-06-201-22/+10
| | | | | | more linked lists), basis for supporting a cpio (and cheaper untar) applet, but cpio applet isnt included in this. It effects ar, dpkg-deb applets only
* I reworked make_human_readable_str so it now has a sane interface,Eric Andersen2001-06-131-1/+1
| | | | | | and then fixed up df, du, and ls to use the new interface. I also fixed up some formatting issues in ls while I was in there. -Erik
* Reorganise archive extraction codeGlenn L McGrath2001-06-131-23/+28
|
* Add padding to struct sysinfo needed by m68k (note and patch by RichardMatt Kraai2001-06-081-0/+1
| | | | Hirst).
* Vladimir's last_patch13, containing several bugfixes.Eric Andersen2001-06-011-10/+0
|
* Rewrote copyfd to use library functions, terminate, and copy correct data.Matt Kraai2001-05-181-1/+1
|
* Add xgethostbyname and herror_msg* functions.Matt Kraai2001-05-161-0/+7
|
* This patch from Adam Heath <doogie@debian.org>, makes print_fileEric Andersen2001-05-151-0/+1
| | | | (used by cat, grep, sed, etc) quite a bit faster.
* Patch from Vladimir:Eric Andersen2001-05-151-6/+2
| | | | | | | 1) fixed a bug that could crash df, mount, and umount applets if the root device name was longer then the word "root" (/dev/loop1 vs /dev/root) - 2) severl functions needed static declaration in the umount applet 3) update declaration for function in last_char_is() in libbb
* Per suggestion from Vladimir, eliminate check_wildcard_match(), whichEric Andersen2001-05-141-1/+0
| | | | | | | | | | | was only being used by insmod these days. Also, I spent a minute adjusting insmod so that it first searches /lib/modules/`uname -r` and then (if that fails) searches /lib/modules, which makes bb insmod behave much more like the real insmod, and should avoid nasty surprises (such as the recent "Modutils vs. Busybox..." thread). -Erik
* Fix a segfault in lash, hush, and cmdedit. Each of these usedEric Andersen2001-05-111-0/+1
| | | | | | xgetcwd, but did not check the return for a NULL, and then continued to call strlen on the NULL when the cwd had been removed from under it. -Erik
* This syncs things with Vladimir's latest patches. Also getsEric Andersen2001-05-071-4/+4
| | | | | rid of useless 'const int' declarations. -Erik
* Oops. I was a bit too hasty and also changed applet_name.Eric Andersen2001-04-301-1/+1
|
* Made new xreadlink function for libbb and changed applets to use it instead ofMark Whitley2001-04-301-0/+1
| | | | readlink(2).
* These messages can be .rodata, so make them even more const.Eric Andersen2001-04-301-13/+13
| | | | -Erik
* Another nice cleanup from Larry. This adds a new last_char_is() function andEric Andersen2001-04-261-0/+1
| | | | | | uses it to avoid possible buffer underruns whn strlen is zero, and avoid the possible space-hogging inline of strlen() in several cases. -Erik
* libbb.h now includes ../busybox.h. This way, files in libbb that haveMark Whitley2001-04-251-0/+4
| | | | | BB_[FEATURE] #defines won't be ignored. Credit to Magnus Damm for spotting this.
* Move messages.c to libbb. Make each string in messages.c be its own .o file.Eric Andersen2001-04-251-0/+12
| | | | | | | This way, we can new get rid of all that tedious #define rubbish we used to need to enable specific messages. This way is enormously simpler, and as a bonus also ends up saving us 96 bytes. -Erik
* Rewrote rm.Matt Kraai2001-04-241-0/+1
|
* Use generic flag names.Matt Kraai2001-04-241-5/+5
|
* Move applet_name declaration from busybox.h to libbb.h.Matt Kraai2001-04-241-0/+2
|
* Rewrite cp and mv to be SUSv2 compliant.Matt Kraai2001-04-231-2/+9
|
* Add types for the inline funcs, thanks to Ralph Siemsen <ralphs@netwinder.org>Eric Andersen2001-04-181-2/+2
|
* dpkg improvements, use full package struct, avoid extracting to tmp dir, ↵Glenn L McGrath2001-04-161-3/+6
| | | | | | rename variable. deb_extract, untar and dpkg_deb modified to make the above possible
* untar changed to allow deb_extract to extract to memory, allows better ↵Glenn L McGrath2001-04-151-1/+3
| | | | operation of dpkg-deb -f
* dpkg-deb -f and partial -I commands, adds 600 bytesGlenn L McGrath2001-04-131-2/+3
|
* Fix dos2unix/tr problem noted by Larry Doolittle.Matt Kraai2001-04-121-1/+1
|
* Change size to unsinged long long, so if -1 is passed it will read as much ↵Glenn L McGrath2001-04-121-3/+4
| | | | as possible.
* Fix dpkg-deb, enum's are coolGlenn L McGrath2001-04-121-2/+12
|
* convert() is used by dos2unix and unix2dosGlenn L McGrath2001-04-121-0/+5
|
* copy_file_chunk uses streams now.Glenn L McGrath2001-04-111-6/+8
|
* Move unzip, gz_open, gz_close to libbbGlenn L McGrath2001-04-111-0/+4
|
* Move deb_extract() to libbb, dpkg now independent of dpkg-debGlenn L McGrath2001-04-111-1/+1
|
* Move get_ar_headers to libbb, make dpkg_deb.c independent of ar.cGlenn L McGrath2001-04-111-0/+12
|
* Update how we detect if libc5 is in use.Eric Andersen2001-04-091-3/+2
| | | | -Erik
* Apply Vladimir's latest cleanup patch.Eric Andersen2001-04-091-2/+5
| | | | -Erik
* more FILE_OFFSET_BITS == 64 adjustments.Eric Andersen2001-04-051-1/+1
|
* A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewEric Andersen2001-04-051-0/+1
| | | | | | shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik
* Seems that stupid libc5 doesn't implement daemon(), so conditionallyEric Andersen2001-04-041-0/+2
| | | | | inclde that here. -Erik
* Patch bass ackwards behavior of hr flag.Matt Kraai2001-03-281-1/+1
|
* Split error messages into separate files.Eric Andersen2001-03-191-2/+6
| | | | | | Update libbb.h, per suggestion from Vladimir, to include __attribute__((format (printf ...))) stuff -Erik
* Convert utility.c into libbb.a. It is now a whole pile of .cEric Andersen2001-03-161-0/+209
files. Clean up the resulting damage and fix up the makefile. -Erik