aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Move portability stuff to platform.h, and clean up adjtimex.c a bit whileGravatar Rob Landley2006-05-271-0/+17
| | | | I'm in the area.
* Consolidate #include <sys/time.h> so libbb.h does it.Gravatar Rob Landley2006-05-271-0/+2
|
* Change llist_add_* to take the address of the list rather than returning the newGravatar Rob Landley2006-05-261-2/+2
| | | | head, and change all the callers.
* Slight sanity fix: data is void *, not char *. And it's called dataGravatar Rob Landley2006-05-261-2/+2
| | | | almost everywhere, so be consistent.
* - introduce and use bb_path_wtmp_file for portability (saves 11 Bytes).Gravatar Bernhard Reutner-Fischer2006-05-261-4/+6
| | | | - fix last.c to also look at the double-underscore UT_ defines.
* - move llist to top of file so we can potentially use it in all prototypes ↵Gravatar Bernhard Reutner-Fischer2006-05-261-9/+10
| | | | easily
* - add workaround for tar being broken since it uses a non-portable constant.Gravatar Bernhard Reutner-Fischer2006-05-261-0/+6
|
* - move libc checks from busybox.h to platform.hGravatar Bernhard Reutner-Fischer2006-05-262-12/+101
| | | | | | | - add ATTRIBUTE_ALWAYS_INLINE, endian handling for DEC UNIX, some more compiler dependent defines to platform.h - add conditional bb_setpgrp define to platform.h - remove superfluous specifying args from "#define fdprintf dprintf"
* fix spelling mistakesGravatar Mike Frysinger2006-05-261-9/+9
|
* Rich Felker suggested removing dprintf() from watch, and one thing led toGravatar Rob Landley2006-05-251-0/+2
| | | | | | another... This adds bb_xspawn() support, which does vfork/exec. (I don't know why using a static instead of a local adds ~40 bytes, but using the local doesn't work...)
* New version of nohup that's much smaller, less paranoid, consistent,Gravatar Rob Landley2006-05-211-0/+2
| | | | vaguely portable, and licensed GPLv2 "or later".
* - backout erroneously checked in snippet..Gravatar Bernhard Reutner-Fischer2006-05-191-2/+0
|
* A pending item in my tree I might as well check in: I plan to migrate calloc()Gravatar Rob Landley2006-05-191-0/+1
| | | | | and bb_calloc() calls to bb_xzalloc() which allocates prezeroed memory but only takes one argument (the size).
* - remove emacs layout block as suggested by Robert P.J. DayGravatar Bernhard Reutner-Fischer2006-05-191-0/+3
| | | | - use shorter boilerplate while at it
* fix indenting in help output for ifconfigGravatar Mike Frysinger2006-05-191-2/+2
|
* - single KERNEL_VERSION(a,b,c) macro in platform.hGravatar Bernhard Reutner-Fischer2006-05-192-1/+8
| | | | | - rename get_kernel_revision() to get_linux_version_code from Robert P. J. Day
* Rob Sullivan cleaned up the longstanding patch from Hideki IWAMOTO to addGravatar Rob Landley2006-05-161-5/+9
| | | | | | 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.
* Make md5 calculation always go through an the buffer so that A) we don'tGravatar Rob Landley2006-05-161-1/+1
| | | | | | | | | | | 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.
* implement -print0 for findGravatar Paul Fox2006-05-121-1/+3
|
* Fiddling with llist to make memory management easier. Specifically, theGravatar Rob Landley2006-05-081-2/+2
| | | | | option to delete the contents of the list when we delete the list is a good thing.
* add back in udhcp supportGravatar Mike Frysinger2006-05-081-0/+3
|
* The udhcp was deleted from busybox in 14634. Bolting an external project toGravatar Rob Landley2006-05-071-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytesGravatar Rob Landley2006-05-071-5/+0
| | | | | as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.
* fix udhcp againGravatar Mike Frysinger2006-05-061-3/+3
|
* Patch from Dennis Vlasenko simplifying the APPLET macros.Gravatar Rob Landley2006-05-051-260/+260
|
* Not quite compiler independent, but we've never tried to be gcc independentGravatar Rob Landley2006-05-042-17/+5
| | | | | anyway. This is at least less ugly than what was there before, and fixes building all sources at once.
* It was sitting there, in the patches directory, for years. It was delete itGravatar Rob Landley2006-05-042-3/+7
| | | | | or apply it. It's small, simple, evil, part of SUSv3, and we can switch it off.
* More usage.h cleanups, with collateral changes to httpd. Specifically,Gravatar Rob Landley2006-04-281-72/+14
| | | | | most of our CONFIG entries switch stuff on instead of off when enabled, so fix the gratuitously reversed INETD thing.
* Patch from Dennis Vlasenko to add the option to compress help text.Gravatar Rob Landley2006-04-271-1/+0
|
* Convert a chunk of usage.h to USE_ and SKIP_ (more to do there), and fix aGravatar Rob Landley2006-04-251-129/+50
| | | | DEFALT typo in du while I was there.
* New applet cksum, from Rob Sullivan.Gravatar Rob Landley2006-04-182-0/+6
|
* - enable dumpleases applet again; bad robGravatar Bernhard Reutner-Fischer2006-04-181-1/+1
|
* enable udhcp applets again; bad robGravatar Mike Frysinger2006-04-171-2/+2
|
* - patch from Denis Vlasenko to add and use bb_xopen3()Gravatar Bernhard Reutner-Fischer2006-04-131-0/+1
|
* - patch from Denis Vlasenko to add and use bb_xchdir()Gravatar Bernhard Reutner-Fischer2006-04-121-0/+1
|
* - patch from Denis Vlasenko to add bb_xbind() and bb_xlisten()Gravatar Bernhard Reutner-Fischer2006-04-121-0/+2
|
* - patch from Denis Vlasenko to add and use bb_xdaemon()Gravatar Bernhard Reutner-Fischer2006-04-121-0/+1
|
* - patch from Denis Vlasenko to add and use bb_xsocket() and to useGravatar Bernhard Reutner-Fischer2006-04-121-0/+1
| | | | | bb_xopen some more while at it. Also use shorter boilerplate while at it.
* - add and use bb_opendir(), bb_xopendir().Gravatar Bernhard Reutner-Fischer2006-04-121-0/+3
| | | | | | | | 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
* - include netinet/in.h for struct sockaddr_in.Gravatar Bernhard Reutner-Fischer2006-04-111-0/+1
| | | | Closes bug #735
* Robert P. J. Day writes: even in the header file, make it clear that the ↵Gravatar Mike Frysinger2006-04-111-0/+3
| | | | routine depends on __uClinux__
* Patch from Tito to unify deluser and delgroup, and generally shrink code.Gravatar Rob Landley2006-04-101-4/+4
|
* Patch from Rob Sullivan to consolidate crc32 table generation.Gravatar Rob Landley2006-04-101-0/+2
|
* - patch from Rob Sullivan to add support for -LGravatar Bernhard Reutner-Fischer2006-04-061-1/+2
|
* - new applet diff. Rob Sullivan writes:Gravatar Bernhard Reutner-Fischer2006-04-062-0/+21
| | | | | | | | | | 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.
* - move buffer allocation schemes to libbb.hGravatar Bernhard Reutner-Fischer2006-04-032-17/+18
| | | | - include the correct headers: applets need busybox.h while lib* need libbb.h
* - typos: s/compatability/compatibility/g;s/compatable/compatible/g;Gravatar Bernhard Reutner-Fischer2006-04-022-2/+2
|
* - typo: s/compenent/component/gGravatar Bernhard Reutner-Fischer2006-04-021-3/+6
| | | | add a bit of documentation.
* - update help text.Gravatar Bernhard Reutner-Fischer2006-03-311-2/+2
| | | | | the interface argument is now a lowercase 'i' to match the big arping commandline-syntax.
* Update ipaddr help to match reality.Gravatar Rob Landley2006-03-301-1/+1
|