aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-09-09xopen3(O_RDONLY) -> xopen(O_RDONLY).Denis Vlasenko
2006-09-09using [xa]sprintf for string concatenation is neat and savesDenis Vlasenko
~100 bytes according to bloatcheck. Also this fixes bug in rpm
2006-09-09wget: wrap one atrociously long line (around 200 chars long!).Denis Vlasenko
2006-09-09udhcp: FEATURE_UDHCP_SYSLOG should be selected only ifDenis Vlasenko
udhcp[cd] really are going to use it.
2006-09-08login: use some ideas from util-linux's login.Denis Vlasenko
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...).
2006-09-08few random readability enhansements. No code changesDenis Vlasenko
2006-09-08login: make it saner and smaller by ~0.5k.Denis Vlasenko
2006-09-08login: small fixes like \n removal, bb_error_msg'ification, etc.Denis Vlasenko
2006-09-08login: previous commit comment was wrong :)Denis Vlasenko
That commit added login script support. Now _this commit_ is a style fix. Sorry....
2006-09-08login: style fixesDenis Vlasenko
2006-09-08Shrinkage/cleanup from Tito.Rob Landley
2006-09-08Fix warnings.Rob Landley
2006-09-08Second drop. More infrastructure in place, especially for parsing pipelines.Rob Landley
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.)
2006-09-08A quick cleanup pass of some low-hanging mess.Rob Landley
2006-09-08Bugfix for: echo '123456789' | sed 's/./|&/5'Rob Landley
2006-09-07Fix (hopefully) bug 976. Need more thorough audit.Denis Vlasenko
Restore erroneously removed FEATURE_UDHCP_SYSLOG.
2006-09-07getty, sulogin: convert to using bb_msg for syslog outputDenis Vlasenko
2006-09-07fix if (ENABLE_FEATURE_SYSLOG & (...)) - should be &&Denis Vlasenko
2006-09-07Add CONFIG_FEATURE_SYSLOG which controls whetherDenis Vlasenko
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.
2006-09-07CONFIG_FEATURE_COMPRESS_USAGE was impossible to turn onDenis Vlasenko
if !CONFIG_NITPICK
2006-09-07adding files missed in prev updates (forgot about svn add)Denis Vlasenko
2006-09-06Denis Vlasenko has started to put stuff on his BusyBox home page, so index it.Rob Landley
2006-09-06removed a lot of trailing \n in bb_msg() calls. It is addedDenis Vlasenko
automatically by function itself.
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-06- strip 399424 off the bss by making decompress_uncompress buffers config ↵Bernhard Reutner-Fischer
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
2006-09-06- mdev and grep use xregcomp. Closes bug #1021Bernhard Reutner-Fischer
2006-09-05Vladimir Dronnikov (ybrnj80 at yandex dot ru) pointed out that my cleanup ofRob Landley
his code introduced a bug (an extra backslash in the CIFS mount string).
2006-09-05The bb_ prefixes were removed from xasprintf() and xopen() a month ago (inRob Landley
svn 15767).
2006-09-05run_shell.c: style fixDenis Vlasenko
2006-09-05xfunc: fix: && -> &. Also nuked two double semicolons...Denis Vlasenko
2006-09-05Might as well commit this to have the history. It's not linked in to theRob Landley
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.
2006-09-04Thinko.Rob Landley
2006-09-04Patch from Natanael Copa to make start-stop-daemon just use readlink andRob Landley
strcmp to check if a program is already running.
2006-09-03sulogin: fix bug: -tNNN didn't workDenis Vlasenko
2006-09-03dpkg: fix buffer overflow (bug 983)Denis Vlasenko
2006-09-03uuencode: common implementation for wget and uuencode (closing bug 694)Denis Vlasenko
2006-09-03archival: added O_TRUNC so that when we overwrite files on unpack,Denis Vlasenko
we truncate them. Also spotted & fixed hard to trigger bug with extension handling.
2006-09-03tar: revert older fix (non-portable), added new one.Denis Vlasenko
testsuite tar-extracts-all-subdirs now passes.
2006-09-03zcip: bb_error_msg had stray newlines; small optimization in opt parsingDenis Vlasenko
2006-09-03zcip: minor fixesDenis Vlasenko
2006-09-03zcip: fix stdout/err versus syslog output.Denis Vlasenko
Incomplete: xfunc() would not respect this. TODO.
2006-09-03zcip: getopt -> bb_getopt_ulflagsDenis Vlasenko
2006-09-03zcip: convert lots of zero-initialized localsDenis Vlasenko
in zcip_main() to statics in bss.
2006-09-03zcip: use xfunc() where appropriateDenis Vlasenko
2006-09-03replacing func() with xfunc() where appropriateDenis Vlasenko
2006-09-03zcip: apply patch fromDenis Vlasenko
http://bugs.busybox.net/view.php?id=1005 zcip does not claim another IP after defending
2006-09-02tar: tar xf foo.tar dir/dir did not extract all subdirs.Denis Vlasenko
Added testsuite entry for this
2006-09-02ping: bind -> xbindDenis Vlasenko
2006-09-02ping(6): use htons instead of SWAP_BE.Denis Vlasenko
2006-09-02ping: implement -I optionDenis Vlasenko