Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | getty, sulogin: convert to using bb_msg for syslog output | Denis Vlasenko | 2006-09-07 | 14 | -114/+96 |
| | |||||
* | fix if (ENABLE_FEATURE_SYSLOG & (...)) - should be && | Denis Vlasenko | 2006-09-07 | 2 | -2/+2 |
| | |||||
* | Add CONFIG_FEATURE_SYSLOG which controls whether | Denis Vlasenko | 2006-09-07 | 9 | -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 on | Denis Vlasenko | 2006-09-07 | 1 | -1/+1 |
| | | | | | if !CONFIG_NITPICK | ||||
* | adding files missed in prev updates (forgot about svn add) | Denis Vlasenko | 2006-09-07 | 2 | -0/+53 |
| | |||||
* | Denis Vlasenko has started to put stuff on his BusyBox home page, so index it. | Rob Landley | 2006-09-06 | 1 | -0/+1 |
| | |||||
* | removed a lot of trailing \n in bb_msg() calls. It is added | Denis Vlasenko | 2006-09-06 | 14 | -35/+35 |
| | | | | | automatically by function itself. | ||||
* | Implement optional syslog logging using ordinary | Denis Vlasenko | 2006-09-06 | 39 | -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-Fischer | 2006-09-06 | 1 | -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 #1021 | Bernhard Reutner-Fischer | 2006-09-06 | 1 | -1/+2 |
| | |||||
* | Vladimir Dronnikov (ybrnj80 at yandex dot ru) pointed out that my cleanup of | Rob Landley | 2006-09-05 | 1 | -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 (in | Rob Landley | 2006-09-05 | 1 | -2/+2 |
| | | | | svn 15767). | ||||
* | run_shell.c: style fix | Denis Vlasenko | 2006-09-05 | 1 | -31/+25 |
| | |||||
* | xfunc: fix: && -> &. Also nuked two double semicolons... | Denis Vlasenko | 2006-09-05 | 2 | -3/+3 |
| | |||||
* | Might as well commit this to have the history. It's not linked in to the | Rob Landley | 2006-09-05 | 1 | -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 Landley | 2006-09-04 | 1 | -3/+1 |
| | |||||
* | Patch from Natanael Copa to make start-stop-daemon just use readlink and | Rob Landley | 2006-09-04 | 1 | -8/+9 |
| | | | | strcmp to check if a program is already running. | ||||
* | sulogin: fix bug: -tNNN didn't work | Denis Vlasenko | 2006-09-03 | 1 | -4/+5 |
| | |||||
* | dpkg: fix buffer overflow (bug 983) | Denis Vlasenko | 2006-09-03 | 1 | -2/+4 |
| | |||||
* | uuencode: common implementation for wget and uuencode (closing bug 694) | Denis Vlasenko | 2006-09-03 | 7 | -84/+105 |
| | |||||
* | archival: added O_TRUNC so that when we overwrite files on unpack, | Denis Vlasenko | 2006-09-03 | 5 | -13/+19 |
| | | | | | | we truncate them. Also spotted & fixed hard to trigger bug with extension handling. | ||||
* | tar: revert older fix (non-portable), added new one. | Denis Vlasenko | 2006-09-03 | 4 | -7/+44 |
| | | | | | testsuite tar-extracts-all-subdirs now passes. | ||||
* | zcip: bb_error_msg had stray newlines; small optimization in opt parsing | Denis Vlasenko | 2006-09-03 | 1 | -4/+3 |
| | |||||
* | zcip: minor fixes | Denis Vlasenko | 2006-09-03 | 1 | -20/+21 |
| | |||||
* | zcip: fix stdout/err versus syslog output. | Denis Vlasenko | 2006-09-03 | 1 | -12/+27 |
| | | | | | Incomplete: xfunc() would not respect this. TODO. | ||||
* | zcip: getopt -> bb_getopt_ulflags | Denis Vlasenko | 2006-09-03 | 2 | -37/+31 |
| | |||||
* | zcip: convert lots of zero-initialized locals | Denis Vlasenko | 2006-09-03 | 1 | -41/+43 |
| | | | | | in zcip_main() to statics in bss. | ||||
* | zcip: use xfunc() where appropriate | Denis Vlasenko | 2006-09-03 | 1 | -29/+23 |
| | |||||
* | replacing func() with xfunc() where appropriate | Denis Vlasenko | 2006-09-03 | 6 | -21/+12 |
| | |||||
* | zcip: apply patch from | Denis Vlasenko | 2006-09-03 | 1 | -92/+182 |
| | | | | | | http://bugs.busybox.net/view.php?id=1005 zcip does not claim another IP after defending | ||||
* | tar: tar xf foo.tar dir/dir did not extract all subdirs. | Denis Vlasenko | 2006-09-02 | 3 | -1/+16 |
| | | | | | Added testsuite entry for this | ||||
* | ping: bind -> xbind | Denis Vlasenko | 2006-09-02 | 1 | -2/+1 |
| | |||||
* | ping(6): use htons instead of SWAP_BE. | Denis Vlasenko | 2006-09-02 | 2 | -6/+6 |
| | |||||
* | ping: implement -I option | Denis Vlasenko | 2006-09-02 | 3 | -12/+52 |
| | |||||
* | ping6: resolve interface name to number early. | Denis Vlasenko | 2006-09-02 | 2 | -8/+9 |
| | | | | | gcc is more efficient at truncating int to int16 via cast, use that instead of &. |