aboutsummaryrefslogtreecommitdiff
path: root/libbb/libbb.h
AgeCommit message (Collapse)Author
2001-08-02Latest patch from vodz. Adds a check for divide by zero in the posixEric Andersen
math suport, cleaner math syntax error checking, moves redundant signal string tables (from kill and ash) into libbb and provides a few cleanups elsewhere.
2001-07-30This incorporates Posix math support into ash. The Posix math supportEric Andersen
was written by Aaron Lehmann <aaronl@vitelus.com> for busybox. This patch makes a few trivial changes to Aaron's code so that it can be used (in theory) by the other shells as well... -Erik
2001-07-23Add support for devfs device names.Matt Kraai
2001-07-22Some patches to make dietlibc work...Eric Andersen
2001-07-18Change read_package_field interface, and rewrite using low level functionsGlenn L McGrath
Fixes for a few bugs that have crept into dpkg in the last few days
2001-07-14enum entry for unarchive to be used by tarGlenn L McGrath
2001-07-12Patch from vodz:Eric Andersen
Changed email address cmdedit API change optimizations for traceroute and md5sum added a new shared create_icmp_socket() function
2001-07-12Quiet mode, sometimes error messages arent wantedGlenn L McGrath
2001-07-11Allow unarchive to redirect stdout (tobe used by dpkg applet)Glenn L McGrath
2001-07-05Removed obsolete function, strdup_substr.Matt Kraai
2001-06-26Don't use void * to pass pointers of known typeEric Andersen
2001-06-26Vladimir's last_patch_15Glenn L McGrath
2001-06-24Nore unarchive (and doc) fixes from Laurence AndersonGlenn L McGrath
2001-06-22Remove obsolete function declaration.Matt Kraai
2001-06-21Rewrote mkdir (and touched lots of things in the process).Matt Kraai
2001-06-20Reorganise unarchiving functions, more code re-use, only does single pass(no ↵Glenn L McGrath
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
2001-06-13I reworked make_human_readable_str so it now has a sane interface,Eric Andersen
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
2001-06-13Reorganise archive extraction codeGlenn L McGrath
2001-06-08Add padding to struct sysinfo needed by m68k (note and patch by RichardMatt Kraai
Hirst).
2001-06-01Vladimir's last_patch13, containing several bugfixes.Eric Andersen
2001-05-18Rewrote copyfd to use library functions, terminate, and copy correct data.Matt Kraai
2001-05-16Add xgethostbyname and herror_msg* functions.Matt Kraai
2001-05-15This patch from Adam Heath <doogie@debian.org>, makes print_fileEric Andersen
(used by cat, grep, sed, etc) quite a bit faster.
2001-05-15Patch from Vladimir:Eric Andersen
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
2001-05-14Per suggestion from Vladimir, eliminate check_wildcard_match(), whichEric Andersen
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
2001-05-11Fix a segfault in lash, hush, and cmdedit. Each of these usedEric Andersen
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
2001-05-07This syncs things with Vladimir's latest patches. Also getsEric Andersen
rid of useless 'const int' declarations. -Erik
2001-04-30Oops. I was a bit too hasty and also changed applet_name.Eric Andersen
2001-04-30Made new xreadlink function for libbb and changed applets to use it instead ofMark Whitley
readlink(2).
2001-04-30These messages can be .rodata, so make them even more const.Eric Andersen
-Erik
2001-04-26Another nice cleanup from Larry. This adds a new last_char_is() function andEric Andersen
uses it to avoid possible buffer underruns whn strlen is zero, and avoid the possible space-hogging inline of strlen() in several cases. -Erik
2001-04-25libbb.h now includes ../busybox.h. This way, files in libbb that haveMark Whitley
BB_[FEATURE] #defines won't be ignored. Credit to Magnus Damm for spotting this.
2001-04-25Move messages.c to libbb. Make each string in messages.c be its own .o file.Eric Andersen
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
2001-04-24Rewrote rm.Matt Kraai
2001-04-24Use generic flag names.Matt Kraai
2001-04-24Move applet_name declaration from busybox.h to libbb.h.Matt Kraai
2001-04-23Rewrite cp and mv to be SUSv2 compliant.Matt Kraai
2001-04-18Add types for the inline funcs, thanks to Ralph Siemsen <ralphs@netwinder.org>Eric Andersen
2001-04-16dpkg improvements, use full package struct, avoid extracting to tmp dir, ↵Glenn L McGrath
rename variable. deb_extract, untar and dpkg_deb modified to make the above possible
2001-04-15untar changed to allow deb_extract to extract to memory, allows better ↵Glenn L McGrath
operation of dpkg-deb -f
2001-04-13dpkg-deb -f and partial -I commands, adds 600 bytesGlenn L McGrath
2001-04-12Fix dos2unix/tr problem noted by Larry Doolittle.Matt Kraai
2001-04-12Change size to unsinged long long, so if -1 is passed it will read as much ↵Glenn L McGrath
as possible.
2001-04-12Fix dpkg-deb, enum's are coolGlenn L McGrath
2001-04-12convert() is used by dos2unix and unix2dosGlenn L McGrath
2001-04-11copy_file_chunk uses streams now.Glenn L McGrath
2001-04-11Move unzip, gz_open, gz_close to libbbGlenn L McGrath
2001-04-11Move deb_extract() to libbb, dpkg now independent of dpkg-debGlenn L McGrath
2001-04-11Move get_ar_headers to libbb, make dpkg_deb.c independent of ar.cGlenn L McGrath
2001-04-09Update how we detect if libc5 is in use.Eric Andersen
-Erik