summaryrefslogtreecommitdiff
path: root/libbb
AgeCommit message (Collapse)Author
2006-05-31- make getopt_ulflags aware of CONFIG_GETOPT_LONGBernhard Reutner-Fischer
2006-05-31- convert xcalloc(1,x) to xzallocBernhard Reutner-Fischer
2006-05-31- s/defined(__uClinux__)/BB_NOMMU/Bernhard Reutner-Fischer
This needs a second pass to: + add bb_daemon(unsigned char no_chdir, unsigned char no_close, const char*flag) + eventually globally export argc and argv, so we don't need to pass it to bb_daemon().
2006-05-29Add SWAP_LE?? and SWAP_BE?? macros, and make things use them. Converts valuesRob Landley
to/from little endian or big endian, which is a NOP if that's what the current platform already is.
2006-05-26Change llist_add_* to take the address of the list rather than returning the newRob Landley
head, and change all the callers.
2006-05-26Slight sanity fix: data is void *, not char *. And it's called dataRob Landley
almost everywhere, so be consistent.
2006-05-26- introduce and use bb_path_wtmp_file for portability (saves 11 Bytes).Bernhard Reutner-Fischer
- fix last.c to also look at the double-underscore UT_ defines.
2006-05-26- make find_mount_point conditional on df and eject; Fixes `make hosttools´ onBernhard Reutner-Fischer
hosts where mntent.h does not exist.
2006-05-26errno and h_errno values are not the same #876 by rfelkerMike Frysinger
2006-05-25Rich Felker suggested removing dprintf() from watch, and one thing led toRob Landley
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...)
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-19- replace _PATH_DEVNULL with bb_dev_nullBernhard Reutner-Fischer
2006-05-19- use uint32_t instead of __u32Bernhard Reutner-Fischer
Thanks to Rich Felker for pointing this out.
2006-05-19- include strings.hBernhard Reutner-Fischer
Thanks to Rich Felker for pointing this out.
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-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-15- patch from Robert P. J. Day to use filter instead of findstring.Bernhard Reutner-Fischer
2006-05-13pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵Mike Frysinger
mailing list
2006-05-12Autodetect parts of a multipart file, from Robert P. Day's suggestion.Rob Landley
2006-05-11Bug fix from Vladimir Oleynik, and suggestion I add my copyright noticeRob Landley
to the file.
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-08Remove a link that leaked in from the pending llist_t changes.Rob Landley
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-05Migrate endianness 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-03Whitespace and documentation cleanup from Dennis Vlasenko.Rob Landley
2006-04-25Portability tweak from Shaun Jackman, don't include asm/page.h directly.Rob Landley
2006-04-18Remove some #if 0 code.Rob Landley
2006-04-18- BusyBox is under GPL.Bernhard Reutner-Fischer
in http://www.busybox.net/lists/busybox/2006-April/020364.html Denis Vlasenko said when asked which license to use for these files: "Sure. LGPL or GPL is fine with me." Adjusting accordingly.
2006-04-16use memmove() instead of bcopy()Mike Frysinger
2006-04-16use memcmp() not bcmp()Mike 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-10Patch from Rob Sullivan to consolidate crc32 table generation.Rob Landley
2006-04-05- include proper headers.Bernhard Reutner-Fischer
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-02New version from Tito.Rob Landley
2006-03-29- Rich Felker writes: fix invalid printf format stringsBernhard Reutner-Fischer
http://busybox.net/lists/busybox/2006-March/019568.html text data bss dec hex filename 900619 10316 1038724 1949659 1dbfdb busybox.oorig 900603 10316 1038724 1949643 1dbfcb busybox
2006-03-29More extern removal from Robert P. Day.Rob Landley
2006-03-29find ./ -name .cvsignore | xargs svn rmBernhard Reutner-Fischer
2006-03-28just whitespace fixesMike Frysinger
2006-03-26More dead code removal.Rob Landley
2006-03-23Bug spotted by Stephane Billiart: losetup depends on loop.c.Rob Landley
2006-03-23Very nice patch from Rich Felker to portably set the stream error indicator andRob Landley
thus remove a lot of nasty old code that didn't.
2006-03-21Patch from Shaun Jackman to make loop.c build only when needed.Rob Landley