aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-02-20sync with mainstream, but check more"Vladimir N. Oleynik"
2006-02-20getdomainname() isn't guaranteed to null terminate the string if it wasRob Landley
truncated for length. SVN 14135 made sure that the truncated version would always be null terminated. SVN 14144 broke this for no readily apparent reason, and I have no idea what it was even trying to accomplish. Reverted.
2006-02-20Update comment.Rob Landley
2006-02-20remove #undef strlen, use #define strlen always but without ↵"Vladimir N. Oleynik"
xfunc/BB_STRLEN_IMPLEMENTATION
2006-02-20correction get(host/domain)name usage, revert 742 bug"Vladimir N. Oleynik"
2006-02-20svn 14077 was completely broken and apparently never tested.Rob Landley
2006-02-20The gentoo security guys found another way to segfault busybox's decompressionRob Landley
code: we can do a null dereference if one of our huffman tables has all zero length codes. This fixes it. (Thanks solar.)
2006-02-19rfelker writes in Bug 742: make sure string is null terminated after calling ↵Mike Frysinger
gethostname
2006-02-19rfelker writes in Bug 740: s/u_char/unsigned char/Mike Frysinger
2006-02-19rfelker writes in Bug 738: sys/sysmacros.h is needed for makedevMike Frysinger
2006-02-19rfelker writes in Bug 736: stty.c includes unneeded, obsolete header memory.hMike Frysinger
2006-02-19rfelker writes in Bug 734: Nothing from err.h is used, but cal.c includes ↵Mike Frysinger
it, breaking compile on systems lacking this function.
2006-02-18kill all .depend filesMike Frysinger
2006-02-18hide bb_mkdep buildMike Frysinger
2006-02-18fix building on ppc64Mike Frysinger
2006-02-17type typo. Thanks, Devin Bayer"Vladimir N. Oleynik"
2006-02-17quick copy-paste typo"Vladimir N. Oleynik"
2006-02-17Fix for an integer overflow bug that could cause a segfault on certainRob Landley
pathological archives. (Unlikely to have security implications, the only way to trigger it basically wound up doing memset(dbuf,x,2^31) and triggering an immediate segfault. The test basically gives us a more polite error message.) Thanks to Ned Ludd and the Gentoo security guys for finding this.
2006-02-17The tendency of vi to auto-indent can be really annoying at times.Rob Landley
2006-02-17More whitespace than you can possibly imagine...Rob Landley
2006-02-17Update Rogues Gallery.Rob Landley
2006-02-16forgoten new file for 14080 revison"Vladimir N. Oleynik"
2006-02-16moved BB_BANNER to applets/version.c file: make kernel like version, "Vladimir N. Oleynik"
removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h
2006-02-16removed #undef strlen, use builtins and prototuped strlen from xfunc file ↵"Vladimir N. Oleynik"
(only\!)
2006-02-16isolate and show busybox`s changes"Vladimir N. Oleynik"
2006-02-16Putting together OPTIONFLAGS, sed needs the global flag to handle multipleRob Landley
options.
2006-02-16When setting an environment variable by piping something into grep, backquotesRob Landley
can be useful. Also tweak an if case to be more portable.
2006-02-16Rogues gallery.Rob Landley
2006-02-15add last terminal line"Vladimir N. Oleynik"
2006-02-15demo (UN)USE_FEATURE... usage"Vladimir N. Oleynik"
2006-02-15full removed config.h, use bb_config.h only"Vladimir N. Oleynik"
2006-02-14Fix bug 674: sum's block count should always round up.Rob Landley
2006-02-14Patch from awk maintainer (Dmitry Zakhrov) to fix bugs 642, 663, and 667.Rob Landley
2006-02-14- commentary typosBernhard Reutner-Fischer
2006-02-14restore change by Denis Vlasenko: file_to_buf must vary fast, best if inline"Vladimir N. Oleynik"
2006-02-14cleanups after changes by Denis Vlasenko. Size optimization"Vladimir N. Oleynik"
2006-02-14commentary typos. Thank by aldot"Vladimir N. Oleynik"
2006-02-14Rob Landley is busybox maintainer now. Eeek.Rob Landley
2006-02-14Fix off by one error. (I know I had a reason for doing that, but I have _no_Rob Landley
idea what it was...)
2006-02-13Cleanups from Denis Vlasenko.Rob Landley
2006-02-13Bug fix from Kim B. Heino, manifested via:Rob Landley
echo > foo && zip foo.zip foo && ./busybox unzip foo.zip
2006-02-13New USE() macrosRob Landley
For each CONFIG_SYMBOL, include/bb_config.h now has both ENABLE_SYMBOL and USE_SYMBOL(x). ENABLE_SYMBOL is still always defined (1 or 0) so that if(ENABLE) should optimize out when it's zero. The USE_SYMBOL(X) will only splice in X if the symbol is defined, otherwise it'll be empty. Thus we can convert this: #ifdef CONFIG_ARGS opt = bb_getopt_ulflags(argc, argv, "ab:c" #ifdef CONFIG_THINGY "d:" #endif , &bvalue #ifdef CONFIG_THINGY , &thingy #endif ); #endif into this: if (ENABLE_ARGS) { opt = bb_getopt_ulflags(argc, argv, "ab:c" USE_THINGY("d:"), &bvalue USE_THINGY(, &thingy)); } And it should produce the same code. Unlike the old versions in include/_usage.h, the new USE_SYMBOL(x) can handle commas in its arguments (as shown above). (The _usage.h file is obsolete and no longer generated.) Nobody should need to include config.h directly anymore, bb_config.h should define all the configuration stuff we need. Someday, the CONFIG_SYMBOL versions should go away in favor of ENABLE_SYMBOL and USE_SYMBOL(). Thanks to vodz for the new version of bb_mkdep.c that works with function macros.
2006-02-12- commentary typosBernhard Reutner-Fischer
2006-02-12More random documentation.Rob Landley
2006-02-10Missed this in svn 13701.Rob Landley
2006-02-10Another item.Rob Landley
2006-02-08Fix umount so it works if there's no /etc/mtab or /proc/mounts, makeRob Landley
umount -a into a CONFIG_FEATURE (why not?), and zap the now obsolete defconfig file (which was supposed to be part of the previous checkin).
2006-02-08Help text update and tweak to defconfig to remove two more things thatRob Landley
the "maximum sane configuration" shouldn't have. (Explicit MTAB support in mount, which you should only need if you have no /proc, and FEATURE_CLEAN_UP, which exists to humor valgrind and otherwise just bloats the code).
2006-02-08Convert some help text to english.Rob Landley
2006-02-07add back in path nulling after calling find_dev() since it is needed for now ...Mike Frysinger