aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-08-06Teach md5sum and sha1sum to work the way other applets do so I don't have toRob Landley
teach scripts/individual new tricks. And while I'm at it, teach scripts/individual other new tricks. Now builds 198 applets, some of which I should teach it to hardlink together because they're really the same app...
2006-08-05scripts/individual now builds 171 applets. Some of them may even work. :)Rob Landley
2006-08-04There are a number of reasons for reinventing printf(). Writing status toRob Landley
stdout is not one of them.
2006-08-04We haven't got a CONFIG_APT_GET.Rob Landley
2006-08-04Digging up my old "make standalone" stuff from a year ago:Rob Landley
http://busybox.net/lists/busybox/2005-September/015766.html I renamed it "individual" to not confuse it with the standalone shell. (Which it isn't compatible with for obvious reasons.) Configure busybox (I did make defconfig), then run scripts/individual and it'll build an individual version of each applet in the "build" subdirectory. Currently it builds 146 and fails to build 104 applets out of "make defconfig". I haven't taught it about multi-file applets yet (like tar), or the ones where two applets get built from the same source (for example, zcat is a trivial variant of gunzip so there is no zcat.c). But here's a start.
2006-08-04Add busybox_old to distclean.Rob Landley
2006-08-04Add comments to all the functions in this file documenting what they're for.Rob Landley
2006-08-04Ok, that's not a typo, that's just me not thinking.Rob Landley
2006-08-04Typo.Rob Landley
2006-08-04Now that we have xopen3(), it's just plain unclean to have xopen() withRob Landley
O_CREAT. Two users are still doing it (and thus getting permissions 777), I'm not sure what permissions they should be using but here they are changed to xopen3(). This costs us a dozen or so bytes, but removing the 777 from xopen() should get some of that back.
2006-08-04Use xopen3() instead of an after-the-fact chown.Rob Landley
2006-08-04Thinko spotted by Vladimir Dronnikov.Rob Landley
2006-08-03Try to make a "type-punned pointer" warning go away for somebody on theRob Landley
buildroot list.
2006-08-03Patch from tito to improve options parsing.Rob Landley
2006-08-03Remove xcalloc() and convert its callers to xzalloc(). About half of themRob Landley
were using "1" as one of the arguments anyway, and as for the rest a multiply and a push isn't noticeably bigger than pushing two arguments on the stack.
2006-08-03These should have been part of 15767 too.Rob Landley
2006-08-03Fix umount so loop device disassociation hopefully doesn't screw up errno onRob Landley
a failed mount. And while I'm at it, legacy mdev removal was only being done in the _failure_ case? That can't be right. Plus minor header cleanups and an option parsing tweak.
2006-08-03Attempt to fixup httpd.c to match svn 15767.Rob Landley
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
2006-08-03Remove apparent typo in "bool" line."Robert P. J. Day"
2006-08-03Move declaration to be compatible with older gcc's."Robert P. J. Day"
2006-08-01Make a gcc 4.1 warning go away.Rob Landley
2006-07-31Announce 1.2.1Rob Landley
2006-07-311) ifeq is make syntax, #ifeq is a make comment.Rob Landley
2) The check_cc macros should probably all have the same number of arguments. 3) Move the -Werror into the gcc 4.0 on i386 test, because gcc 4.1 is broken and produces warnings for things that provably aren't incorrect. In other news it would be nice if our check_ld macro actually did something, and why does or makefile do all the check_cc calls, then call itself as if it's building out of tree, then do all the check_cc calls again?
2006-07-31Remove code that can't be reached.Rob Landley
2006-07-31Tito said that strings is a complete rewrite.Rob Landley
2006-07-30Switch off CONFIG_NITPICK in defconfig. (Kind of the point of CONFIG_NITPICK.)Rob Landley
2006-07-27Add back in non-ifdef version of FEATURE_PRETTY_PRINT, and get the attributionRob Landley
right this time.
2006-07-27And now, with a for loop, so it can handle the nested USE() case.Rob Landley
2006-07-27There's no excuse for adding new #ifdefs to the code like that. None at all.Rob Landley
2006-07-27I touched perl. I feel dirty.Rob Landley
Make autodocifier suck less. It still doesn't handle nested USE( USE() ) case (the inner USE() winds up in the output), but making it recursive involves getting perl to accept a "for" loop and it's telling me that "break" is an unrecognized bareword and I hate perl. This is at least an improvement.
2006-07-27allow people to display dmesg output without syslog levelsMike Frysinger
2006-07-27eat gremlinsMike Frysinger
2006-07-27de-cuddle if( to if (Mike Frysinger
2006-07-26Rich Filker spotted that sed -e 's/xxx/[/' didn't work right. Did a smallerRob Landley
fix than his, and shrank the code a bit on top of that so the net size is smaller, and added a test to the test suite for this case. Plus I cleaned up the #includes and removed unnecessary "const"s while I was there.
2006-07-26Patch from Shaun Jackman, set optind by hand if we don't call getopt.Rob Landley
2006-07-26Unbreak allbareconfig. (Todo item: rewrite dependency checker. Yeah, IRob Landley
already have that one, but it moves up the list...)
2006-07-25Somebody on the buildroot list hit:Rob Landley
insmod.c:515:10: extra tokens at end of #ident directive
2006-07-24get rid of udhcp submenuMike Frysinger
2006-07-20move lchown/chown define out of specific files and into platform.h where it ↵Mike Frysinger
belongs
2006-07-20"formated" -> "formatted" throughout the code base."Robert P. J. Day"
2006-07-20Patch from Yann Morin to fix bug 941, underscores in module aliases.Rob Landley
2006-07-19Remove unnecessary consts.Rob Landley
2006-07-19Replace the previous checkin with the correct fix.Rob Landley
2006-07-19Patch from Yann Morin to look for modules.conf in the right place on 2.6.Rob Landley
Fixes http://bugs.busybox.net/view.php?id=942
2006-07-18For now, get around the error that "child" might be uninitialized."Robert P. J. Day"
2006-07-18Rearrange order of type qualifiers."Robert P. J. Day"
2006-07-17Patch from Thaddeus Ternes, adding chuid to start-stop-daemon.Rob Landley
2006-07-16Bugfix from Tito to make sure /etc/group gets updated.Rob Landley
2006-07-16New mkswap. Small and simple. Might even work. :)Rob Landley