aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* - remove CRIS specific CFLAG from generic flags-checking.aldot2006-08-181-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15825 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove last reminiscents of IN_BUSYBOXaldot2006-08-183-28/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15824 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The kernel can't handle umount /dev/hdc, we have to do it through mtab,landley2006-08-171-8/+14
| | | | | | | | | | | | | | | | | except that we still have to work when there is no mtab. Oh, and while we're at it, take advantage of the fact that modern processors avoid branches via conditional assignment where possible. ("x = a ? b : c;" turns into "x = c; if (a) x = b;" because that way there's no branch to potentially mispredict and thus never a bubble in the pipeline. The if(a) turns into an assembly test followed by a conditional assignment (rather than a conditional jump).) So since the compiler is going to do that _anyway_, we might as well take advantage of it to produce a slightly smaller binary. So there. git-svn-id: svn://busybox.net/trunk/busybox@15806 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Timo Scheffler pointed out that OpenWRT isn't listed.landley2006-08-171-2/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15805 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add link to BusyBox Weekly News. (Yeah, another timesink.)landley2006-08-161-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15804 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New entry about backporting fixes.landley2006-08-161-7/+59
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15803 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update the tinyutils page to mention microperl, LUA, buildroot,landley2006-08-161-1/+15
| | | | | | | gentoo embedded... git-svn-id: svn://busybox.net/trunk/busybox@15802 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bernhard Fischer pointed out some leftover debris needing cleanup.landley2006-08-152-13/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15801 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make a warning go away when standalone shell is disabled.landley2006-08-101-9/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15800 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Chris Steel to fix mdev deleting device nodes.landley2006-08-101-7/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15795 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Ok, features.h already defines _OPEN_SOURCE (and complains if it's alreadylandley2006-08-101-1/+0
| | | | | | | | defined), yet it's not doing it for scripts/individual for some reason. (I hate fighting with header files.) git-svn-id: svn://busybox.net/trunk/busybox@15794 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another whack at scripts/individual. Now builds 212 applets.landley2006-08-099-47/+81
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15793 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update usage to talk about the new shared subtree stuff in mount.landley2006-08-091-29/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15792 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vladimir Dronnikov convinced me to twiddle the semantics of the new sharedlandley2006-08-091-5/+14
| | | | | | | | subtree stuff to look more like http://lwn.net/Articles/159077/ thinks they should. git-svn-id: svn://busybox.net/trunk/busybox@15791 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a typo (|| instead of |) and remove two comments about a problem fixedlandley2006-08-081-3/+2
| | | | | | | in the previous patch. git-svn-id: svn://busybox.net/trunk/busybox@15790 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add shared subtree support, suggested by Vladimir Dronnikov. Also break out alandley2006-08-085-57/+107
| | | | | | | | | few new (unfinished) config options, which I intend to make hidden (but enabled) when CONFIG_NITPICK is disabled. Getting the .config infrastructure to do that is non-obvious, it seems... git-svn-id: svn://busybox.net/trunk/busybox@15789 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Using lstat() instead of stat() means that attempting to loopback mountlandley2006-08-081-1/+1
| | | | | | | a symlink doesn't work. git-svn-id: svn://busybox.net/trunk/busybox@15788 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make a warning go away on 64-bit systems.landley2006-08-061-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15787 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Teach md5sum and sha1sum to work the way other applets do so I don't have tolandley2006-08-063-34/+59
| | | | | | | | | 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... git-svn-id: svn://busybox.net/trunk/busybox@15786 69ca8d6d-28ef-0310-b511-8ec308f3f277
* scripts/individual now builds 171 applets. Some of them may even work. :)landley2006-08-054-4/+31
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15784 69ca8d6d-28ef-0310-b511-8ec308f3f277
* There are a number of reasons for reinventing printf(). Writing status tolandley2006-08-041-18/+8
| | | | | | | stdout is not one of them. git-svn-id: svn://busybox.net/trunk/busybox@15783 69ca8d6d-28ef-0310-b511-8ec308f3f277
* We haven't got a CONFIG_APT_GET.landley2006-08-041-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15782 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Digging up my old "make standalone" stuff from a year ago:landley2006-08-042-0/+63
| | | | | | | | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@15781 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add busybox_old to distclean.landley2006-08-041-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15780 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add comments to all the functions in this file documenting what they're for.landley2006-08-041-33/+76
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15779 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Ok, that's not a typo, that's just me not thinking.landley2006-08-042-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15778 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Typo.landley2006-08-041-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15777 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Now that we have xopen3(), it's just plain unclean to have xopen() withlandley2006-08-042-2/+2
| | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@15776 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use xopen3() instead of an after-the-fact chown.landley2006-08-041-6/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15775 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Thinko spotted by Vladimir Dronnikov.landley2006-08-041-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15774 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Try to make a "type-punned pointer" warning go away for somebody on thelandley2006-08-031-3/+2
| | | | | | | buildroot list. git-svn-id: svn://busybox.net/trunk/busybox@15773 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from tito to improve options parsing.landley2006-08-031-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15772 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove xcalloc() and convert its callers to xzalloc(). About half of themlandley2006-08-0315-32/+22
| | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@15771 69ca8d6d-28ef-0310-b511-8ec308f3f277
* These should have been part of 15767 too.landley2006-08-039-61/+34
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15770 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix umount so loop device disassociation hopefully doesn't screw up errno onlandley2006-08-031-16/+12
| | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@15769 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Attempt to fixup httpd.c to match svn 15767.landley2006-08-031-19/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15768 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidatelandley2006-08-03143-1720/+710
| | | | | | | | | | | | | 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.) git-svn-id: svn://busybox.net/trunk/busybox@15767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove apparent typo in "bool" line.rpjday2006-08-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15766 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move declaration to be compatible with older gcc's.rpjday2006-08-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15765 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make a gcc 4.1 warning go away.landley2006-08-011-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15763 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Announce 1.2.1landley2006-07-311-0/+25
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15762 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 1) ifeq is make syntax, #ifeq is a make comment.landley2006-07-311-7/+10
| | | | | | | | | | | | | 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? git-svn-id: svn://busybox.net/trunk/busybox@15761 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove code that can't be reached.landley2006-07-311-3/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15760 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito said that strings is a complete rewrite.landley2006-07-311-41/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15758 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Switch off CONFIG_NITPICK in defconfig. (Kind of the point of CONFIG_NITPICK.)landley2006-07-301-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15756 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add back in non-ifdef version of FEATURE_PRETTY_PRINT, and get the attributionlandley2006-07-272-3/+40
| | | | | | | right this time. git-svn-id: svn://busybox.net/trunk/busybox@15754 69ca8d6d-28ef-0310-b511-8ec308f3f277
* And now, with a for loop, so it can handle the nested USE() case.landley2006-07-271-2/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15753 69ca8d6d-28ef-0310-b511-8ec308f3f277
* There's no excuse for adding new #ifdefs to the code like that. None at all.landley2006-07-272-39/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15752 69ca8d6d-28ef-0310-b511-8ec308f3f277
* I touched perl. I feel dirty.landley2006-07-271-2/+2
| | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@15751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* allow people to display dmesg output without syslog levelsvapier2006-07-272-3/+39
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15750 69ca8d6d-28ef-0310-b511-8ec308f3f277