summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2006-09-15Unbreak allbareconfig.Rob Landley
We've had -Werror in the tree for quite a while, so adding #warning somewhat counterproductve way to make comments on the code that belong on the mailing list anyway.
2006-09-14mount: move code from nfsmount.c into mount.cDenis Vlasenko
2006-09-12Revert duplicate patch.Rob Landley
I don't know why patch decided to apply this even though it was already in the tree. I thought the other hunks failed because they were totally unrelated leakage from Bernhard's tree (which they are; was the a reason for bundling them in with this fix? Do they have something to do with the GCC 2.95 fix? I suspect they prevent me from backporting this patch to 1.2.2 because the header consolidation into libbb.h hadn't been done yet, and no I'm not fixing it up: if that's the case then this patch won't be in 1.2.2 due to extraneous changes bundled with it that prevent a clean backport without rolling a new patch).
2006-09-12Remove pointless "const". Bloatcheck says 0 bytes difference.Rob Landley
2006-09-12Fix from Bernhard for somebody trying to limp along with gcc 2.95.4.Rob Landley
2006-09-12- small trivia to be gentle to gcc-2.95.x which had no va_copy but only ↵Bernhard Reutner-Fischer
__va_copy.
2006-09-11nfsmount: sanitize it. It had a rather peculiar idea of implementing "bg"Denis Vlasenko
option - it was going to return a special flag back to caller and expecting caller to call it again with special parameter! Also caller was charged with calling mount() syscall... mount: mtab support was non-functional. Enabling it revealed serious bug which is not fixed yet.
2006-09-11- merge xstat.c into xfuncs.cBernhard Reutner-Fischer
2006-09-11Error reporting fix for sulogin, plus remove help entries for options we neverRob Landley
implemented. (Plus a bit more of bbsh leaking in from my tree, but it shouldn't hurt anything and I'm lazy...)
2006-09-08login: style fixesDenis Vlasenko
2006-09-07getty, sulogin: convert to using bb_msg for syslog outputDenis Vlasenko
2006-09-06Implement optional syslog logging using ordinaryDenis Vlasenko
bb_xx_msg calls, and convert networking/* to it. The rest of bbox will be converted gradually.
2006-09-03uuencode: common implementation for wget and uuencode (closing bug 694)Denis Vlasenko
2006-09-03tar: revert older fix (non-portable), added new one.Denis Vlasenko
testsuite tar-extracts-all-subdirs now passes.
2006-09-02ping: implement -I optionDenis Vlasenko
2006-09-02- patch from Csaba Henk to make the "User-Agent" header field configurable.Bernhard Reutner-Fischer
2006-08-28- pull from busybox_scratch: r15829:15850Bernhard Reutner-Fischer
Various fixes, cleanups and shrinkage: saves 952 Bytes: text data bss dec hex filename 1087742 15853 790632 1894227 1ce753 ../busybox/busybox.old 1086790 15853 790632 1893275 1ce39b busybox via: # scripts/bloat-o-meter ../busybox/busybox_unstripped.old busybox_unstripped function old new delta ipcrm_main 756 822 +66 getval - 61 +61 maybe_set_utc - 40 +40 udhcpc_main 2896 2912 +16 md5_hash_block 428 437 +9 opt 8 16 +8 qgravechar 106 110 +4 make_bitmap 292 295 +3 inflate_unzip 2056 2059 +3 add_partition 1412 1414 +2 __parsespent 156 158 +2 qrealloc 41 42 +1 format - 1 +1 catv_main 313 314 +1 watch_main 293 292 -1 varunset 81 80 -1 part 1 - -1 check_if_skip 837 836 -1 start_stop_daemon_main 840 837 -3 create_lost_and_found 175 172 -3 supress_non_delimited_lines 4 - -4 static.l 4 - -4 static.c 5 1 -4 bsd_sum_file 237 233 -4 eval2 338 332 -6 arithmetic_common 166 158 -8 cmpfunc 22 5 -17 cksum_main 294 275 -19 cmp_main 465 439 -26 dd_main 1535 1508 -27 rmmod_main 376 333 -43 cut_file 727 644 -83 ipcs_main 3809 3721 -88 cut_main 722 614 -108 date_main 1443 1263 -180 remove_ids 222 - -222 ------------------------------------------------------------------------------ (add/remove: 3/4 grow/shrink: 11/18 up/down: 217/-853) Total: -636 bytes
2006-08-28No real need for my_query_module() and this eliminates some type-punnedRob Landley
pointer warning on certain gcc versions (and saves 38 bytes).
2006-08-20Michael Opdenacker contributed a readahead applet.Rob Landley
2006-08-10Ok, features.h already defines _OPEN_SOURCE (and complains if it's alreadyRob Landley
defined), yet it's not doing it for scripts/individual for some reason. (I hate fighting with header files.)
2006-08-09Another whack at scripts/individual. Now builds 212 applets.Rob Landley
2006-08-09Update usage to talk about the new shared subtree stuff in mount.Rob Landley
2006-08-08Add shared subtree support, suggested by Vladimir Dronnikov. Also break out aRob Landley
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...
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-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-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-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-17Patch from Thaddeus Ternes, adding chuid to start-stop-daemon.Rob Landley
2006-07-16Cleaup read() and write() variants, plus a couple of new functions likeRob Landley
xlseek and fdlength() for the new mkswap.
2006-07-15We need xsetuid() and xsetgid() because per-user process resource limits canRob Landley
prevent a process from switching to a user that has too many processes, and when that happens WE'RE STILL ROOT. See http://lwn.net/Articles/190331/
2006-07-12A couple things that got tangled up in my tree, easier to check in both thanRob Landley
untangle them: Rewrite u_signal_names() into get_signum() and get_signame(), plus trim the signal list to that required by posix (they can specify the numbers for the rest if they really need them). (This is preparatory cleanup for adding a timeout applet like Roberto Foglietta wants.) Export the itoa (added due to Denis Vlasenko, although it's not quite his preferred implementation) from xfuncs.c so it's actually used, and remove several other redundant implementations of itoa and utoa() in the tree.
2006-07-11Patch from Tito to remove pwd_to_spwd (which we don't actually need), withRob Landley
some #ifdef removal from me.
2006-07-10Upgrade netcat a lot. Make -e able to take the rest of the command line asRob Landley
what to exec. Add -f mode and a brief explanation of how to use it to replace minicom. Add -l -l mode so you can turn any command into a server. And group all of netcat's command line options under two CONFIG entries, so if you disable both it doesn't use getopt at all.
2006-07-06Minor build tweaks that save 1100 bytes building busybox on Ubuntu 6.06.Rob Landley
2006-07-02Standardize on the vi editing directives being on the first line."Robert P. J. Day"
2006-06-30Revert taskset for 1.2.0. It emits a warning, breaks building under RH9,Rob Landley
and nobody seemed interested in fixing it despite repeated complaints. I'll worry about it in the 1.3 timeframe...
2006-06-29Some old kernel headers don't #include BLKSSZGET in sys/mount.h.Rob Landley
2006-06-28cleanup patch usageMike Frysinger
2006-06-26fix watchdog on no-mmu systems by adding -F option for rexecMike Frysinger
2006-06-26Upgrade mdev to allow commands to be run on create/delete.Rob Landley
Both Jason Schoon and Giuseppe Ciotta deserve credit for this, I used elements of both.  It's been upgraded so that you can specify that a given command should run at create, at delete, or at both using different special characters (@, $, and * respectively).  It uses the system() method of running command lines which means you can use environment variables on the command line (it sets $MDEV to the name of the current device being created/deleted, which is useful if you matched it via regex), and the documentation warns that you need a /bin/sh to make that work, so you probably want to pick a default shell.
2006-06-24Document mount's new error return conventions.Rob Landley
2006-06-24Slowly pulling more common headers into libbb.h. Andre pointed out thatRob Landley
older uClibc didn't include sys/socket.h from netinet/in.h, so add an explicit #include for that too...
2006-06-22Patch from Shaun Jackman to replace CFLAGS_EXTRA with .config.makRob Landley
2006-06-22CONFIG_DHCP -> CONFIG_APP_DHCP.Rob Landley
2006-06-20Since rangecoder is just a bunch of C functions, move it into the one userRob Landley
(decompress_unlzma.c). Also a slight #include cleanup, and I've been meaning to put #include <unistd.h> into libbb.h since it's so darn common...
2006-06-18Undo all of the ugliness and some of the bloat from 15412.Rob Landley
2006-06-18skip_whitespace() shouldn't claim its return value is const, it doesn't knowRob Landley
that and callers wind up typecasting it back.