aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2006-05-19A pending item in my tree I might as well check in: I plan to migrate calloc()Rob Landley
and bb_calloc() calls to bb_xzalloc() which allocates prezeroed memory but only takes one argument (the size).
2006-05-19- remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer
- use shorter boilerplate while at it
2006-05-19fix indenting in help output for ifconfigMike Frysinger
2006-05-19- single KERNEL_VERSION(a,b,c) macro in platform.hBernhard Reutner-Fischer
- rename get_kernel_revision() to get_linux_version_code from Robert P. J. Day
2006-05-16Rob Sullivan cleaned up the longstanding patch from Hideki IWAMOTO to addRob Landley
ibs and obs support to dd, and made it configurable. I cleaned it up a bit further and moved conv= into the same config option.
2006-05-16Make md5 calculation always go through an the buffer so that A) we don'tRob Landley
handle packets out of sequence if some data goes through the buffer and some doesn't, B) it works on systems that can't handle aligned access, C) we just have one code path to worry about. While we're at it, sizeof() and RESERVE_CONFIG_BUFFER() really don't combine well, which is why md5sum has been reading and processing data 4 bytes at a time. I suspect that the existence of CONFIG_MD5_SIZE_VS_SPEED to do loop unrolling and such in the algorithm was an attempt to work around that bug.
2006-05-12implement -print0 for findPaul Fox
2006-05-08Fiddling with llist to make memory management easier. Specifically, theRob Landley
option to delete the contents of the list when we delete the list is a good thing.
2006-05-08add back in udhcp supportMike Frysinger
2006-05-07The udhcp was deleted from busybox in 14634. Bolting an external project toRob Landley
the side of the tree doesn't _COUNT_, and I will not ship it. Udhcp was deleted shortly after I posted my philosophy for what should and shouldn't go into busybox: http://www.busybox.net/lists/busybox/2006-March/019484.html I complained about the change t the time. I've complained repeatedly since. But nobody felt like fixing it. External dependencies are something to be minimized. I don't care about the ability for packages to build outside busybox: something is either part of busybox, or it isn't. If I convert any part of the external udhcp repository to use libbb, I've broken the external package. Any random cleanups that touch that directory suddenly have to worry about external dependencies that are NOT OUR PROBLEM. Therefore, that directory is not and cannot be part of busybox. Wishful thinking isn't going to change that. I will not ship something I can't maintain. I'll try to get a new dhcp client and server in before the ship window closes, but I have a half-dozen other projects pending. I'm sorry this happened, but I'm not the one who removed it, and I'm not the one who ignored the project maintainer's repeated complaints about the situation for the next month and a half.
2006-05-07Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytesRob Landley
as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.
2006-05-06fix udhcp againMike Frysinger
2006-05-05Patch from Dennis Vlasenko simplifying the APPLET macros.Rob Landley
2006-05-04Not quite compiler independent, but we've never tried to be gcc independentRob Landley
anyway. This is at least less ugly than what was there before, and fixes building all sources at once.
2006-05-04It was sitting there, in the patches directory, for years. It was delete itRob Landley
or apply it. It's small, simple, evil, part of SUSv3, and we can switch it off.
2006-04-28More usage.h cleanups, with collateral changes to httpd. Specifically,Rob Landley
most of our CONFIG entries switch stuff on instead of off when enabled, so fix the gratuitously reversed INETD thing.
2006-04-27Patch from Dennis Vlasenko to add the option to compress help text.Rob Landley
2006-04-25Convert a chunk of usage.h to USE_ and SKIP_ (more to do there), and fix aRob Landley
DEFALT typo in du while I was there.
2006-04-18New applet cksum, from Rob Sullivan.Rob Landley
2006-04-18- enable dumpleases applet again; bad robBernhard Reutner-Fischer
2006-04-17enable udhcp applets again; bad robMike Frysinger
2006-04-13- patch from Denis Vlasenko to add and use bb_xopen3()Bernhard Reutner-Fischer
2006-04-12- patch from Denis Vlasenko to add and use bb_xchdir()Bernhard Reutner-Fischer
2006-04-12- patch from Denis Vlasenko to add bb_xbind() and bb_xlisten()Bernhard Reutner-Fischer
2006-04-12- patch from Denis Vlasenko to add and use bb_xdaemon()Bernhard Reutner-Fischer
2006-04-12- patch from Denis Vlasenko to add and use bb_xsocket() and to useBernhard Reutner-Fischer
bb_xopen some more while at it. Also use shorter boilerplate while at it.
2006-04-12- add and use bb_opendir(), bb_xopendir().Bernhard Reutner-Fischer
text data bss dec hex filename 889445 9392 1035784 1934621 1d851d busybox.gcc-4.2.orig 889297 9392 1035784 1934473 1d8489 busybox.gcc-4.2 889009 9820 1037860 1936689 1d8d31 busybox.gcc-4.1.orig 888817 9820 1037860 1936497 1d8c71 busybox.gcc-4.1
2006-04-11- include netinet/in.h for struct sockaddr_in.Bernhard Reutner-Fischer
Closes bug #735
2006-04-11Robert P. J. Day writes: even in the header file, make it clear that the ↵Mike Frysinger
routine depends on __uClinux__
2006-04-10Patch from Tito to unify deluser and delgroup, and generally shrink code.Rob Landley
2006-04-10Patch from Rob Sullivan to consolidate crc32 table generation.Rob Landley
2006-04-06- patch from Rob Sullivan to add support for -LBernhard Reutner-Fischer
2006-04-06- new applet diff. Rob Sullivan writes:Bernhard Reutner-Fischer
Here's my attempt at a mini diff applet - it's adapted from the code at http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/diff/, and only supports unified diffs. I've busyboxified everything to a reasonable degree, so I think the code is suitable enough to be included, but there's still a fair bit of cleaning up to be done.
2006-04-03- move buffer allocation schemes to libbb.hBernhard Reutner-Fischer
- include the correct headers: applets need busybox.h while lib* need libbb.h
2006-04-02- typos: s/compatability/compatibility/g;s/compatable/compatible/g;Bernhard Reutner-Fischer
2006-04-02- typo: s/compenent/component/gBernhard Reutner-Fischer
add a bit of documentation.
2006-03-31- update help text.Bernhard Reutner-Fischer
the interface argument is now a lowercase 'i' to match the big arping commandline-syntax.
2006-03-30Update ipaddr help to match reality.Rob Landley
2006-03-29find ./ -name .cvsignore | xargs svn rmBernhard Reutner-Fischer
2006-03-28just whitespace fixesMike Frysinger
2006-03-27setlogcons, from Jan Kaszka.Rob Landley
2006-03-25Define both big endian and little endian macros.Rob Landley
2006-03-23fix typoMike Frysinger
2006-03-20Cleanup: remove double quotes that don't seem to be needed.Rob Landley
2006-03-14Tito unified fdflush and freeramdisk. I tweaked the result a bit.Rob Landley
2006-03-13Patch from Denis Vlasenko to add xstat() and use it.Rob Landley
2006-03-09Fixup to the previous (portability) patch. Linux actually does needRob Landley
arpa/inet.h rather than netinet/in.h, otherwise we get warnings.
2006-03-09Portability patch from rfelker. The bb_asprintf.c thing needs an eventualRob Landley
follow up in platform.h to set the #ifdef, but the workaround works for everybody, so...
2006-03-08import most of e2fsprogs 1.38 updatesMike Frysinger
2006-02-24Missed one in the get_line_from_file() update...Rob Landley