aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* pstree: tiny shrinkDenys Vlasenko2010-12-051-2/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pstree: fix width logic. +30 bytesLauri Kasanen2010-12-051-28/+26
| | | | | Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pstree: new applet. +1664 bytesLauri Kasanen2010-12-053-0/+418
| | | | | | | | | text data bss dec hex filename 883379 936 17192 901507 dc183 busybox_old 885043 936 17192 903171 dc803 busybox_unstripped Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* typo fixDenys Vlasenko2010-12-051-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add if guards around include <malloc.h>Denys Vlasenko2010-12-052-2/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb/pw_encrypt_sha: forgot to move &ctx to 1st param here in sha hash reworkDenys Vlasenko2010-12-011-25/+25
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* touch: fix help text to not show options disabled in .configDenys Vlasenko2010-12-015-25/+29
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* su: suppress "warning: unused variable 'user_buf'"Denys Vlasenko2010-11-301-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: do not use GNU-isms in findChris Rees2010-11-301-2/+2
| | | | | Signed-off-by: Chris Rees <utisoft@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* telnetd: write utmp record with correct pidDenys Vlasenko2010-11-301-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ping: set not only IP_TTL, but also IP_MULTICAST_TTLDenys Vlasenko2010-11-291-2/+4
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* patch: fix "patch at the beginning" testcase failureRob Landley2010-11-291-9/+14
| | | | | Signed-off-by: Rob Landley <rob@landley.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* exclude the case of just "busybox" from previous commitDenys Vlasenko2010-11-291-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* if only one applet is enabled, make "busybox applet [params]" work as expectedDenys Vlasenko2010-11-291-29/+33
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ping: add -t TTL optionJoachim Nilsson2010-11-285-91/+102
| | | | | | | | | | | | function old new delta common_ping_main 1755 1796 +41 packed_usage 27954 27971 +17 bbconfig_config_bz2 4965 4966 +1 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 59/0) Total: 59 bytes Signed-off-by: Joachim Nilsson <joachim.nilsson@vmlinux.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dhcpd: reply with NAK to clients in INIT-REBOOT state w/o existing leaseDenys Vlasenko2010-11-281-7/+11
| | | | | | We were not responding to them at all. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* use BB_EXECVP_or_die where appropriateDenys Vlasenko2010-11-283-6/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: move G_x_mode define to the more appropriate placeDenys Vlasenko2010-11-281-5/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Support set -o xtrace/noexec alternates for set -x/-nDan Fandrich2010-11-281-6/+14
| | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: display useful help textDan Fandrich2010-11-281-2/+8
| | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add a test for patch which we currently failDenys Vlasenko2010-11-282-0/+38
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dhcpd: smaller code: do not look for REQUESTED_IP twiceDenys Vlasenko2010-11-281-26/+30
| | | | | | | | text data bss dec hex filename 883235 936 17192 901363 dc0f3 busybox_old 883219 936 17192 901347 dc0e3 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* blkid: add TODODenys Vlasenko2010-11-251-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* gen_build_files.sh: better commentDenys Vlasenko2010-11-251-3/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: fix for dashDenys Vlasenko2010-11-241-3/+6
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Start 1.19.0 development cycleDenys Vlasenko2010-11-231-2/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Bump version to 1.18.01_18_0Denys Vlasenko2010-11-231-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* date :add a comment about older toolchainsDenys Vlasenko2010-11-231-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fixes for bugs discovered by randomconfig builds and testsDenys Vlasenko2010-11-227-10/+26
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix misspelling in commentDenys Vlasenko2010-11-221-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* hush: fix improper handling of newline and hash chars in few corner casesDenys Vlasenko2010-11-227-123/+160
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* nc: fix SEGV on -v when NC_EXTRA is offDenys Vlasenko2010-11-221-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* inetd: if argv[0] is not specified, set it to program nameMike Frysinger2010-11-221-0/+6
| | | | | | | With inetd.conf files that skip argv[], inetd execs programs with argc==0. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lineedit: fix tab-completion of filenames with spacesMike Shal2010-11-221-22/+45
| | | | | | | | | | | | Using ash in busybox git version dea28e1e, tab completion doesn't seem to work properly for filenames that have special characters (such as spaces) in them. For example, with filenames "foo bar" and "foo zap", typing "ls fo<TAB>" correctly expands to "ls foo\ ", but then continuing to type "b<TAB>" will produce "ls foo\ bbar", which is not correct (the 'b' is duplicated). Signed-off-by: Mike Shal <marfey@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* patch: remove out-of-file build machineryDenys Vlasenko2010-11-224-31/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* gen_build_files.sh: restore deleted commentDenys Vlasenko2010-11-211-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cmp: with -s, do not report open errorsDenys Vlasenko2010-11-211-4/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* patch: simplify double list helpersDenys Vlasenko2010-11-211-42/+32
| | | | | | | | | | | | | | function old new delta dlist_free - 29 +29 fail_hunk 130 132 +2 patch_main 1987 1982 -5 dlist_add 59 54 -5 TOY_llist_pop 9 - -9 TOY_llist_free 54 - -54 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 1/2 up/down: 31/-73) Total: -42 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* patch: busyboxify by migrating from toybox to busybox helpersDenys Vlasenko2010-11-212-162/+87
| | | | | | | | | | | | | | function old new delta get_line 90 128 +38 bbconfig_config_bz2 4959 4965 +6 makedevs_main 1038 1035 -3 fail_hunk 133 130 -3 finish_oldfile 174 124 -50 patch_main 2066 1987 -79 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/4 up/down: 44/-135) Total: -91 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* gen_build_files.sh: rewrite with sedMike Frysinger2010-11-161-53/+47
| | | | | | | | | The shell parsing of files is incredibly slow on many systems. With one report, the process was taking a minute or two which made people thing the build was hung. So rewrite the craziness with sed and proper shell functions. On an idle system, this cut the runtime by half. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* allow SKIP_STRIP to be set in the envMike Frysinger2010-11-161-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* depmod.pl: add recursive sanity checkMike Frysinger2010-11-161-0/+3
| | | | | | | | If modules contain circular dependencies, the depmod script will follow the circle forever. So add a simple sanity check to abort rather than chew up the CPU. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* lineedit: create history files with mode 0600Wolfram Sang2010-11-151-5/+7
| | | | | Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: add support for "set -o pipefail"Denys Vlasenko2010-11-143-23/+186
| | | | | | | | | | | | function old new delta checkjobs 467 517 +50 builtin_set 259 286 +27 o_opt_strings - 10 +10 hush_main 1011 1013 +2 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 3/0 up/down: 89/0) Total: 89 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: preparatory patch for set -o pipefail supportDenys Vlasenko2010-11-141-4/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: remove unused variableLauri Kasanen2010-11-131-4/+3
| | | | | Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* deluser: do not warn spuriously when deleting group by deluserTito Ragusa2010-11-081-6/+14
| | | | | Signed-off-by: Tito Ragusa <farmatito@tiscali.it> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* delgroup: correct the check for users who still use the groupDenys Vlasenko2010-11-071-12/+12
| | | | | Signed-off-by: Tito <farmatito@tiscali.it> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* typo fixDenys Vlasenko2010-11-062-2/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* deluser: 2nd attempt at deluser/delgroup size reduction and improvementsTito Ragusa2010-11-061-29/+70
| | | | | Signed-off-by: Tito Ragusa <farmatito@tiscali.it> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>