summaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Slight sanity fix: data is void *, not char *. And it's called dataRob Landley2006-05-261-2/+2
| | | | almost everywhere, so be consistent.
* - introduce and use bb_path_wtmp_file for portability (saves 11 Bytes).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 ↵Bernhard Reutner-Fischer2006-05-261-9/+10
| | | | easily
* - add workaround for tar being broken since it uses a non-portable constant.Bernhard Reutner-Fischer2006-05-261-0/+6
|
* - move libc checks from busybox.h to platform.hBernhard 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 mistakesMike Frysinger2006-05-261-9/+9
|
* Rich Felker suggested removing dprintf() from watch, and one thing led toRob 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,Rob Landley2006-05-211-0/+2
| | | | vaguely portable, and licensed GPLv2 "or later".
* - backout erroneously checked in snippet..Bernhard Reutner-Fischer2006-05-191-2/+0
|
* A pending item in my tree I might as well check in: I plan to migrate calloc()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. DayBernhard Reutner-Fischer2006-05-191-0/+3
| | | | - use shorter boilerplate while at it
* fix indenting in help output for ifconfigMike Frysinger2006-05-191-2/+2
|
* - single KERNEL_VERSION(a,b,c) macro in platform.hBernhard 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 addRob 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'tRob 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 findPaul Fox2006-05-121-1/+3
|
* Fiddling with llist to make memory management easier. Specifically, theRob 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 supportMike Frysinger2006-05-081-0/+3
|
* The udhcp was deleted from busybox in 14634. Bolting an external project toRob 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 bytesRob Landley2006-05-071-5/+0
| | | | | as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.
* fix udhcp againMike Frysinger2006-05-061-3/+3
|
* Patch from Dennis Vlasenko simplifying the APPLET macros.Rob Landley2006-05-051-260/+260
|
* Not quite compiler independent, but we've never tried to be gcc independentRob 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 itRob 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,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.Rob Landley2006-04-271-1/+0
|
* Convert a chunk of usage.h to USE_ and SKIP_ (more to do there), and fix aRob Landley2006-04-251-129/+50
| | | | DEFALT typo in du while I was there.
* New applet cksum, from Rob Sullivan.Rob Landley2006-04-182-0/+6
|
* - enable dumpleases applet again; bad robBernhard Reutner-Fischer2006-04-181-1/+1
|
* enable udhcp applets again; bad robMike Frysinger2006-04-171-2/+2
|
* - patch from Denis Vlasenko to add and use bb_xopen3()Bernhard Reutner-Fischer2006-04-131-0/+1
|
* - patch from Denis Vlasenko to add and use bb_xchdir()Bernhard Reutner-Fischer2006-04-121-0/+1
|
* - patch from Denis Vlasenko to add bb_xbind() and bb_xlisten()Bernhard Reutner-Fischer2006-04-121-0/+2
|
* - patch from Denis Vlasenko to add and use bb_xdaemon()Bernhard Reutner-Fischer2006-04-121-0/+1
|
* - patch from Denis Vlasenko to add and use bb_xsocket() and to useBernhard 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().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.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 ↵Mike Frysinger2006-04-111-0/+3
| | | | routine depends on __uClinux__
* Patch from Tito to unify deluser and delgroup, and generally shrink code.Rob Landley2006-04-101-4/+4
|
* Patch from Rob Sullivan to consolidate crc32 table generation.Rob Landley2006-04-101-0/+2
|
* - patch from Rob Sullivan to add support for -LBernhard Reutner-Fischer2006-04-061-1/+2
|
* - new applet diff. Rob Sullivan writes: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.hBernhard 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;Bernhard Reutner-Fischer2006-04-022-2/+2
|
* - typo: s/compenent/component/gBernhard Reutner-Fischer2006-04-021-3/+6
| | | | add a bit of documentation.
* - update help text.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.Rob Landley2006-03-301-1/+1
|
* find ./ -name .cvsignore | xargs svn rmBernhard Reutner-Fischer2006-03-291-3/+0
|
* just whitespace fixesMike Frysinger2006-03-281-16/+16
|
* setlogcons, from Jan Kaszka.Rob Landley2006-03-272-0/+6
|