aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* - convert a few xopen3(,,0) into xopen(,). Also peruse the fact that xopen ↵Bernhard Reutner-Fischer2006-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
* - merge xstat.c into xfuncs.cBernhard Reutner-Fischer2006-09-114-14/+12
|
* - Tito pointed out that Rob forgot to add e2fsprogs/blkid/list.cBernhard Reutner-Fischer2006-09-111-0/+110
|
* Build fixes for gcc 4.0 with -Werror, from Tito.Rob Landley2006-09-116-129/+17
|
* Error reporting fix for sulogin, plus remove help entries for options we neverRob Landley2006-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...)
* nfsmount: remove some really old code (for kernels 1.x!) + small cleanups.Denis Vlasenko2006-09-101-60/+63
|
* nfsmount: delete nfsmount.hDenis Vlasenko2006-09-101-242/+0
|
* nfsmount: nfsmount.h merged into nfsmount.cDenis Vlasenko2006-09-103-168/+260
|
* nfsmount: style fixDenis Vlasenko2006-09-101-104/+103
|
* ipcs: silly trick with strings. saves ~200 bytes.Denis Vlasenko2006-09-102-40/+39
|
* Cleanup headers and replace the zero padding with an even smaller version.Rob 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.
* sulogin: minor cleanup.Denis Vlasenko2006-09-091-17/+15
|
* setkeycodes: something horrible happened hereDenis Vlasenko2006-09-091-24/+23
| | | | | to indentation... fixed now
* top: fixed wrong comment, made error message more clearDenis Vlasenko2006-09-091-10/+6
|
* tar: fix "xopen with O_CREAT" warning, improve zero padding writeDenis Vlasenko2006-09-092-59/+71
| | | | | (was doing zillions of 1-byte write syscalls)
* xopen3(O_RDONLY) -> xopen(O_RDONLY).Denis Vlasenko2006-09-091-1/+1
|
* using [xa]sprintf for string concatenation is neat and savesDenis Vlasenko2006-09-096-13/+10
| | | | | ~100 bytes according to bloatcheck. Also this fixes bug in rpm
* wget: wrap one atrociously long line (around 200 chars long!).Denis Vlasenko2006-09-091-18/+25
|
* udhcp: FEATURE_UDHCP_SYSLOG should be selected only ifDenis Vlasenko2006-09-091-2/+1
| | | | | udhcp[cd] really are going to use it.
* login: use some ideas from util-linux's login.Denis Vlasenko2006-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...).
* few random readability enhansements. No code changesDenis Vlasenko2006-09-083-8/+10
|
* login: make it saner and smaller by ~0.5k.Denis Vlasenko2006-09-081-185/+131
|
* login: small fixes like \n removal, bb_error_msg'ification, etc.Denis Vlasenko2006-09-081-19/+17
|
* login: previous commit comment was wrong :)Denis Vlasenko2006-09-081-131/+133
| | | | | | That commit added login script support. Now _this commit_ is a style fix. Sorry....
* login: style fixesDenis Vlasenko2006-09-084-9/+39
|
* Shrinkage/cleanup from Tito.Rob Landley2006-09-081-87/+45
|
* Fix warnings.Rob Landley2006-09-081-16/+14
|
* Second drop. More infrastructure in place, especially for parsing pipelines.Rob 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.)
* A quick cleanup pass of some low-hanging mess.Rob Landley2006-09-081-115/+26
|
* Bugfix for: echo '123456789' | sed 's/./|&/5'Rob Landley2006-09-081-1/+1
|
* Fix (hopefully) bug 976. Need more thorough audit.Denis Vlasenko2006-09-075-11/+27
| | | | | Restore erroneously removed FEATURE_UDHCP_SYSLOG.
* getty, sulogin: convert to using bb_msg for syslog outputDenis Vlasenko2006-09-0714-114/+96
|
* fix if (ENABLE_FEATURE_SYSLOG & (...)) - should be &&Denis Vlasenko2006-09-072-2/+2
|
* Add CONFIG_FEATURE_SYSLOG which controls whetherDenis Vlasenko2006-09-079-12/+26
| | | | | | | | bb_xx_msg will ever try to send output to syslog. Add "select CONFIG_FEATURE_SYSLOG" to relevant applets. This allows to omit syslog code if we do not have any syslog-capable applets in the build.
* CONFIG_FEATURE_COMPRESS_USAGE was impossible to turn onDenis Vlasenko2006-09-071-1/+1
| | | | | if !CONFIG_NITPICK
* adding files missed in prev updates (forgot about svn add)Denis Vlasenko2006-09-072-0/+53
|
* Denis Vlasenko has started to put stuff on his BusyBox home page, so index it.Rob Landley2006-09-061-0/+1
|
* removed a lot of trailing \n in bb_msg() calls. It is addedDenis Vlasenko2006-09-0614-35/+35
| | | | | automatically by function itself.
* Implement optional syslog logging using ordinaryDenis Vlasenko2006-09-0639-366/+296
| | | | | | bb_xx_msg calls, and convert networking/* to it. The rest of bbox will be converted gradually.
* - strip 399424 off the bss by making decompress_uncompress buffers config ↵Bernhard Reutner-Fischer2006-09-061-12/+10
| | | | | | | | | | | | | | | | | | | buffers. Compile tested (too lazy to look for a small .Z on the net). $ size busybox.old busybox text data bss dec hex filename 859555 10232 645732 1515519 171fff busybox.old 859683 10232 246308 1116223 11083f busybox $ make bloatcheck function old new delta uncompress 1036 1160 +124 inbuf 2116 4 -2112 outbuf 4100 4 -4096 htab 131072 - -131072 codetab 262144 - -262144 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 1/2 up/down: 124/-399424) Total: -399300 bytes
* - mdev and grep use xregcomp. Closes bug #1021Bernhard Reutner-Fischer2006-09-061-1/+2
|
* Vladimir Dronnikov (ybrnj80 at yandex dot ru) pointed out that my cleanup ofRob Landley2006-09-051-3/+3
| | | | his code introduced a bug (an extra backslash in the CIFS mount string).
* The bb_ prefixes were removed from xasprintf() and xopen() a month ago (inRob Landley2006-09-051-2/+2
| | | | svn 15767).
* run_shell.c: style fixDenis Vlasenko2006-09-051-31/+25
|
* xfunc: fix: && -> &. Also nuked two double semicolons...Denis Vlasenko2006-09-052-3/+3
|
* Might as well commit this to have the history. It's not linked in to theRob Landley2006-09-051-0/+73
| | | | | | | | | applet list yet (and won't be until it can replace lash, I'm not having five shells in menuconfig at once), but you can build it with scripts/individual and mostly this is checked in so I can bloatcheck future versions against it easily.... This is about as small as a shell can get and still be a shell.
* Thinko.Rob Landley2006-09-041-3/+1
|
* Patch from Natanael Copa to make start-stop-daemon just use readlink andRob Landley2006-09-041-8/+9
| | | | strcmp to check if a program is already running.
* sulogin: fix bug: -tNNN didn't workDenis Vlasenko2006-09-031-4/+5
|
* dpkg: fix buffer overflow (bug 983)Denis Vlasenko2006-09-031-2/+4
|