Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | login: eliminate forward decls and #ifdefs | Denis Vlasenko | 2006-09-14 | 1 | -191/+166 |
| | |||||
* | umount: do not try to close FILE* which is NULL. | Denis Vlasenko | 2006-09-14 | 1 | -11/+13 |
| | |||||
* | mount: -o remount should not add lines to /etc/mtab | Denis Vlasenko | 2006-09-14 | 1 | -1/+1 |
| | |||||
* | mount: move code from nfsmount.c into mount.c | Denis Vlasenko | 2006-09-14 | 4 | -1031/+1018 |
| | |||||
* | - make sure that the 'build' dir exists even if we are about to build just ↵ | Bernhard Reutner-Fischer | 2006-09-14 | 1 | -0/+7 |
| | | | | one applet. | ||||
* | - do away with silly comment and do the Right Thing wrt building the archives. | Bernhard Reutner-Fischer | 2006-09-14 | 1 | -28/+1 |
| | | | | You have to provide the absolute path to the objdir/target.ext you want to build, as can be seen in the respective makefiles.. | ||||
* | mount: fix mtab support (but it is still rather buggy) | Denis Vlasenko | 2006-09-14 | 1 | -13/+27 |
| | |||||
* | svn 15355 replaced "BusyBox is licensed under the GNU General Public Public | Rob Landley | 2006-09-14 | 1 | -1/+1 |
| | | | | | | | | | License" with "BusyBox is licensed under the GNU General Public License version 2 or later... (This is the same license the Linux kernel is under...)" Except that the Linux kernel isn't under GPLv2 or later, it's just under GPLv2. Now they match again. | ||||
* | More code from kernel developers, and therefore licensed under GPLv2 only. | Rob Landley | 2006-09-14 | 1 | -12/+4 |
| | | | | | | | Clarify the license boilerplate. On an unrelated note, this could use busyboxification. check_mount() looks reusable and ask() is generic... | ||||
* | Add Larry Doolittle's ntpclient, plus some formatting tweaks. | Rob Landley | 2006-09-13 | 1 | -3/+9 |
| | |||||
* | - fix copy'n paste errors that got introduced when switching to the shorter ↵ | Bernhard Reutner-Fischer | 2006-09-13 | 12 | -12/+12 |
| | | | | | | boilerplate. No object code changes. | ||||
* | - r16075 broke for de-selected FEATURE_UTMP; Partial fix that wants some ↵ | Bernhard Reutner-Fischer | 2006-09-13 | 1 | -28/+11 |
| | | | | more cleanup (see FIXME in the patch). | ||||
* | Revert duplicate patch. | Rob Landley | 2006-09-12 | 1 | -8/+0 |
| | | | | | | | | | | | | 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). | ||||
* | Remove pointless "const". Bloatcheck says 0 bytes difference. | Rob Landley | 2006-09-12 | 6 | -8/+9 |
| | |||||
* | Fix from Bernhard for somebody trying to limp along with gcc 2.95.4. | Rob Landley | 2006-09-12 | 1 | -0/+8 |
| | |||||
* | Random cleanup hanging around my tree. | Rob Landley | 2006-09-12 | 1 | -8/+0 |
| | |||||
* | - small trivia to be gentle to gcc-2.95.x which had no va_copy but only ↵ | Bernhard Reutner-Fischer | 2006-09-12 | 5 | -19/+10 |
| | | | | __va_copy. | ||||
* | - fix warning about discarding qualifiers in initialization | Bernhard Reutner-Fischer | 2006-09-12 | 1 | -1/+1 |
| | |||||
* | nfsmount: sanitize it. It had a rather peculiar idea of implementing "bg" | Denis Vlasenko | 2006-09-11 | 3 | -189/+223 |
| | | | | | | | | | 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. | ||||
* | - convert a few xopen3(,,0) into xopen(,). Also peruse the fact that xopen ↵ | Bernhard Reutner-Fischer | 2006-09-11 | 7 | -8/+8 |
| | | | | | | | | | | | | | | | | | | | | defaults to 0777 on it's own, so we don't need to xopen3(,,0777). Saves a few bytes: $ size busybox.old busybox text data bss dec hex filename 839676 8780 243592 1092048 10a9d0 busybox.old 839660 8780 243592 1092032 10a9c0 busybox $ make CC=gcc-4.2-HEAD bloatcheck function old new delta static.vconfig_main 281 279 -2 static.rx_main 1076 1074 -2 static.mt_main 294 292 -2 static.gzip_main 753 751 -2 static.mkfs_minix_main 4034 4030 -4 static.unzip_main 1771 1766 -5 static.crontab_main 1513 1507 -6 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/7 up/down: 0/-23) Total: -23 bytes | ||||
* | - merge xstat.c into xfuncs.c | Bernhard Reutner-Fischer | 2006-09-11 | 4 | -14/+12 |
| | |||||
* | - Tito pointed out that Rob forgot to add e2fsprogs/blkid/list.c | Bernhard Reutner-Fischer | 2006-09-11 | 1 | -0/+110 |
| | |||||
* | Build fixes for gcc 4.0 with -Werror, from Tito. | Rob Landley | 2006-09-11 | 6 | -129/+17 |
| | |||||
* | Error reporting fix for sulogin, plus remove help entries for options we never | Rob Landley | 2006-09-11 | 2 | -4/+8 |
| | | | | | implemented. (Plus a bit more of bbsh leaking in from my tree, but it shouldn't hurt anything and I'm lazy...) | ||||
* | nfsmount: remove some really old code (for kernels 1.x!) + small cleanups. | Denis Vlasenko | 2006-09-10 | 1 | -60/+63 |
| | |||||
* | nfsmount: delete nfsmount.h | Denis Vlasenko | 2006-09-10 | 1 | -242/+0 |
| | |||||
* | nfsmount: nfsmount.h merged into nfsmount.c | Denis Vlasenko | 2006-09-10 | 3 | -168/+260 |
| | |||||
* | nfsmount: style fix | Denis Vlasenko | 2006-09-10 | 1 | -104/+103 |
| | |||||
* | ipcs: silly trick with strings. saves ~200 bytes. | Denis Vlasenko | 2006-09-10 | 2 | -40/+39 |
| | |||||
* | Cleanup headers and replace the zero padding with an even smaller version. | Rob Landley | 2006-09-10 | 1 | -46/+10 |
| | | | | | | | | | One of the pads turned out to be unnecessary: sizeof(struct TarHeader) is TAR_BLOCK_SIZE, the padding's in the struct. The others could be done inline with bb_common_bufsiz1. This is a cleanup I did to Denis' patch long ago, but got sidetracked by what turned into svn 15660. | ||||
* | sulogin: minor cleanup. | Denis Vlasenko | 2006-09-09 | 1 | -17/+15 |
| | |||||
* | setkeycodes: something horrible happened here | Denis Vlasenko | 2006-09-09 | 1 | -24/+23 |
| | | | | | to indentation... fixed now | ||||
* | top: fixed wrong comment, made error message more clear | Denis Vlasenko | 2006-09-09 | 1 | -10/+6 |
| | |||||
* | tar: fix "xopen with O_CREAT" warning, improve zero padding write | Denis Vlasenko | 2006-09-09 | 2 | -59/+71 |
| | | | | | (was doing zillions of 1-byte write syscalls) | ||||
* | xopen3(O_RDONLY) -> xopen(O_RDONLY). | Denis Vlasenko | 2006-09-09 | 1 | -1/+1 |
| | |||||
* | using [xa]sprintf for string concatenation is neat and saves | Denis Vlasenko | 2006-09-09 | 6 | -13/+10 |
| | | | | | ~100 bytes according to bloatcheck. Also this fixes bug in rpm | ||||
* | wget: wrap one atrociously long line (around 200 chars long!). | Denis Vlasenko | 2006-09-09 | 1 | -18/+25 |
| | |||||
* | udhcp: FEATURE_UDHCP_SYSLOG should be selected only if | Denis Vlasenko | 2006-09-09 | 1 | -2/+1 |
| | | | | | udhcp[cd] really are going to use it. | ||||
* | login: use some ideas from util-linux's login. | Denis Vlasenko | 2006-09-08 | 1 | -25/+15 |
| | | | | | | | | O_NONBLOCKing output on login timeout. fchmod instead of chmod (latter is racy). is_my_tty() is not needed anymore after race is fixed (is_my_tty() was racy too anyway...). | ||||
* | few random readability enhansements. No code changes | Denis Vlasenko | 2006-09-08 | 3 | -8/+10 |
| | |||||
* | login: make it saner and smaller by ~0.5k. | Denis Vlasenko | 2006-09-08 | 1 | -185/+131 |
| | |||||
* | login: small fixes like \n removal, bb_error_msg'ification, etc. | Denis Vlasenko | 2006-09-08 | 1 | -19/+17 |
| | |||||
* | login: previous commit comment was wrong :) | Denis Vlasenko | 2006-09-08 | 1 | -131/+133 |
| | | | | | | That commit added login script support. Now _this commit_ is a style fix. Sorry.... | ||||
* | login: style fixes | Denis Vlasenko | 2006-09-08 | 4 | -9/+39 |
| | |||||
* | Shrinkage/cleanup from Tito. | Rob Landley | 2006-09-08 | 1 | -87/+45 |
| | |||||
* | Fix warnings. | Rob Landley | 2006-09-08 | 1 | -16/+14 |
| | |||||
* | Second drop. More infrastructure in place, especially for parsing pipelines. | Rob Landley | 2006-09-08 | 1 | -21/+172 |
| | | | | | | | | | | The minimal version got a couple hundred bytes bigger, partly because it's broken into more functions but mostly because it now dynamically reallocates and frees everything with no hard-coded limits. (I thought about making that optional, but there's a limit to what I can debug and maintain. It should still be reasonably NOMMU friendly, the allocations are small and short lived, and shouldn't contribute noticeably to long-term memory fragmentation.) | ||||
* | A quick cleanup pass of some low-hanging mess. | Rob Landley | 2006-09-08 | 1 | -115/+26 |
| | |||||
* | Bugfix for: echo '123456789' | sed 's/./|&/5' | Rob Landley | 2006-09-08 | 1 | -1/+1 |
| | |||||
* | Fix (hopefully) bug 976. Need more thorough audit. | Denis Vlasenko | 2006-09-07 | 5 | -11/+27 |
| | | | | | Restore erroneously removed FEATURE_UDHCP_SYSLOG. |