aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Unbreak allbareconfig.landley2006-09-151-15/+3
| | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@16125 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Strangely, using // in the comments I added was not a persistent accident.landley2006-09-141-65/+62
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16124 69ca8d6d-28ef-0310-b511-8ec308f3f277
* login: eliminate forward decls and #ifdefsvda2006-09-141-191/+166
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16123 69ca8d6d-28ef-0310-b511-8ec308f3f277
* umount: do not try to close FILE* which is NULL.vda2006-09-141-11/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16122 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount: -o remount should not add lines to /etc/mtabvda2006-09-141-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16121 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount: move code from nfsmount.c into mount.cvda2006-09-144-1031/+1018
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16120 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - make sure that the 'build' dir exists even if we are about to build just ↵aldot2006-09-141-0/+7
| | | | | | one applet. git-svn-id: svn://busybox.net/trunk/busybox@16119 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - do away with silly comment and do the Right Thing wrt building the archives.aldot2006-09-141-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.. git-svn-id: svn://busybox.net/trunk/busybox@16118 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount: fix mtab support (but it is still rather buggy)vda2006-09-141-13/+27
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16117 69ca8d6d-28ef-0310-b511-8ec308f3f277
* svn 15355 replaced "BusyBox is licensed under the GNU General Public Publiclandley2006-09-141-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. git-svn-id: svn://busybox.net/trunk/busybox@16116 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More code from kernel developers, and therefore licensed under GPLv2 only.landley2006-09-141-12/+4
| | | | | | | | | | Clarify the license boilerplate. On an unrelated note, this could use busyboxification. check_mount() looks reusable and ask() is generic... git-svn-id: svn://busybox.net/trunk/busybox@16115 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add Larry Doolittle's ntpclient, plus some formatting tweaks.landley2006-09-131-3/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16114 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix copy'n paste errors that got introduced when switching to the shorter ↵aldot2006-09-1312-12/+12
| | | | | | | | | boilerplate. No object code changes. git-svn-id: svn://busybox.net/trunk/busybox@16113 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - r16075 broke for de-selected FEATURE_UTMP; Partial fix that wants some ↵aldot2006-09-131-28/+11
| | | | | | more cleanup (see FIXME in the patch). git-svn-id: svn://busybox.net/trunk/busybox@16112 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Revert duplicate patch.landley2006-09-121-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). git-svn-id: svn://busybox.net/trunk/busybox@16111 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove pointless "const". Bloatcheck says 0 bytes difference.landley2006-09-126-8/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16110 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix from Bernhard for somebody trying to limp along with gcc 2.95.4.landley2006-09-121-0/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16109 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Random cleanup hanging around my tree.landley2006-09-121-8/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16108 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - small trivia to be gentle to gcc-2.95.x which had no va_copy but only ↵aldot2006-09-125-19/+10
| | | | | | __va_copy. git-svn-id: svn://busybox.net/trunk/busybox@16107 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix warning about discarding qualifiers in initializationaldot2006-09-121-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16106 69ca8d6d-28ef-0310-b511-8ec308f3f277
* nfsmount: sanitize it. It had a rather peculiar idea of implementing "bg"vda2006-09-113-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. git-svn-id: svn://busybox.net/trunk/busybox@16102 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - convert a few xopen3(,,0) into xopen(,). Also peruse the fact that xopen ↵aldot2006-09-117-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 git-svn-id: svn://busybox.net/trunk/busybox@16101 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - merge xstat.c into xfuncs.caldot2006-09-114-14/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16100 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - Tito pointed out that Rob forgot to add e2fsprogs/blkid/list.caldot2006-09-111-0/+110
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16099 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Build fixes for gcc 4.0 with -Werror, from Tito.landley2006-09-116-129/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16098 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Error reporting fix for sulogin, plus remove help entries for options we neverlandley2006-09-112-4/+8
| | | | | | | | implemented. (Plus a bit more of bbsh leaking in from my tree, but it shouldn't hurt anything and I'm lazy...) git-svn-id: svn://busybox.net/trunk/busybox@16097 69ca8d6d-28ef-0310-b511-8ec308f3f277
* nfsmount: remove some really old code (for kernels 1.x!) + small cleanups.vda2006-09-101-60/+63
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16096 69ca8d6d-28ef-0310-b511-8ec308f3f277
* nfsmount: delete nfsmount.hvda2006-09-101-242/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16095 69ca8d6d-28ef-0310-b511-8ec308f3f277
* nfsmount: nfsmount.h merged into nfsmount.cvda2006-09-103-168/+260
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16094 69ca8d6d-28ef-0310-b511-8ec308f3f277
* nfsmount: style fixvda2006-09-101-104/+103
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16093 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ipcs: silly trick with strings. saves ~200 bytes.vda2006-09-102-40/+39
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16092 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanup headers and replace the zero padding with an even smaller version.landley2006-09-101-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. git-svn-id: svn://busybox.net/trunk/busybox@16090 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sulogin: minor cleanup.vda2006-09-091-17/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16086 69ca8d6d-28ef-0310-b511-8ec308f3f277
* setkeycodes: something horrible happened herevda2006-09-091-24/+23
| | | | | | | | to indentation... fixed now git-svn-id: svn://busybox.net/trunk/busybox@16085 69ca8d6d-28ef-0310-b511-8ec308f3f277
* top: fixed wrong comment, made error message more clearvda2006-09-091-10/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16084 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar: fix "xopen with O_CREAT" warning, improve zero padding writevda2006-09-092-59/+71
| | | | | | | | (was doing zillions of 1-byte write syscalls) git-svn-id: svn://busybox.net/trunk/busybox@16083 69ca8d6d-28ef-0310-b511-8ec308f3f277
* xopen3(O_RDONLY) -> xopen(O_RDONLY).vda2006-09-091-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16082 69ca8d6d-28ef-0310-b511-8ec308f3f277
* using [xa]sprintf for string concatenation is neat and savesvda2006-09-096-13/+10
| | | | | | | | ~100 bytes according to bloatcheck. Also this fixes bug in rpm git-svn-id: svn://busybox.net/trunk/busybox@16081 69ca8d6d-28ef-0310-b511-8ec308f3f277
* wget: wrap one atrociously long line (around 200 chars long!).vda2006-09-091-18/+25
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16080 69ca8d6d-28ef-0310-b511-8ec308f3f277
* udhcp: FEATURE_UDHCP_SYSLOG should be selected only ifvda2006-09-091-2/+1
| | | | | | | | udhcp[cd] really are going to use it. git-svn-id: svn://busybox.net/trunk/busybox@16079 69ca8d6d-28ef-0310-b511-8ec308f3f277
* login: use some ideas from util-linux's login.vda2006-09-081-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...). git-svn-id: svn://busybox.net/trunk/busybox@16077 69ca8d6d-28ef-0310-b511-8ec308f3f277
* few random readability enhansements. No code changesvda2006-09-083-8/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16076 69ca8d6d-28ef-0310-b511-8ec308f3f277
* login: make it saner and smaller by ~0.5k.vda2006-09-081-185/+131
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16075 69ca8d6d-28ef-0310-b511-8ec308f3f277
* login: small fixes like \n removal, bb_error_msg'ification, etc.vda2006-09-081-19/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16074 69ca8d6d-28ef-0310-b511-8ec308f3f277
* login: previous commit comment was wrong :)vda2006-09-081-131/+133
| | | | | | | | | That commit added login script support. Now _this commit_ is a style fix. Sorry.... git-svn-id: svn://busybox.net/trunk/busybox@16073 69ca8d6d-28ef-0310-b511-8ec308f3f277
* login: style fixesvda2006-09-084-9/+39
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16072 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Shrinkage/cleanup from Tito.landley2006-09-081-87/+45
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16071 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix warnings.landley2006-09-081-16/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16070 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Second drop. More infrastructure in place, especially for parsing pipelines.landley2006-09-081-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.) git-svn-id: svn://busybox.net/trunk/busybox@16069 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A quick cleanup pass of some low-hanging mess.landley2006-09-081-115/+26
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16068 69ca8d6d-28ef-0310-b511-8ec308f3f277