diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-12-24 12:16:24 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-12-24 12:16:24 +0000 |
commit | fcfb5c04bbaa52ae7df5d45bc3ddadcc9e935fa1 (patch) | |
tree | afebd34647c52f89637ab2471cc1a2052a38fe44 | |
parent | e4bc603f0ba296647bd5fc3f1e8e7231effe6676 (diff) | |
download | busybox-w32-fcfb5c04bbaa52ae7df5d45bc3ddadcc9e935fa1.tar.gz busybox-w32-fcfb5c04bbaa52ae7df5d45bc3ddadcc9e935fa1.tar.bz2 busybox-w32-fcfb5c04bbaa52ae7df5d45bc3ddadcc9e935fa1.zip |
defconfig: update
appletli.c: add vda's (C)
top: fixlet for incorrect display of "0"
Makefile: reduce stack size from 20k to 16k
-rw-r--r-- | Makefile.flags | 3 | ||||
-rw-r--r-- | libbb/appletlib.c | 10 | ||||
-rw-r--r-- | procps/top.c | 2 | ||||
-rw-r--r-- | scripts/defconfig | 9 |
4 files changed, 15 insertions, 9 deletions
diff --git a/Makefile.flags b/Makefile.flags index c023299d7..26552222d 100644 --- a/Makefile.flags +++ b/Makefile.flags | |||
@@ -97,4 +97,5 @@ endif | |||
97 | # Busybox is a stack-fatty so make sure we increase default size | 97 | # Busybox is a stack-fatty so make sure we increase default size |
98 | # TODO: use "make stksizes" to find & fix big stack users | 98 | # TODO: use "make stksizes" to find & fix big stack users |
99 | # (we stole scripts/checkstack.pl from the kernel... thanks guys!) | 99 | # (we stole scripts/checkstack.pl from the kernel... thanks guys!) |
100 | FLTFLAGS += -s 20000 | 100 | # Reduced from 20k to 16k in 1.9.0. |
101 | FLTFLAGS += -s 16000 | ||
diff --git a/libbb/appletlib.c b/libbb/appletlib.c index d5a2d06af..80adff5e7 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c | |||
@@ -575,17 +575,19 @@ static int busybox_main(char **argv) | |||
575 | output_width -= sizeof("start-stop-daemon, ") + 8; | 575 | output_width -= sizeof("start-stop-daemon, ") + 8; |
576 | 576 | ||
577 | printf("%s multi-call binary\n", bb_banner); /* reuse const string... */ | 577 | printf("%s multi-call binary\n", bb_banner); /* reuse const string... */ |
578 | printf("Copyright (C) 1998-2006 Erik Andersen, Rob Landley, and others.\n" | 578 | printf("Copyright (C) 1998-2007 Erik Andersen, Rob Landley, Denys Vlasenko\n" |
579 | "Licensed under GPLv2. See source distribution for full notice.\n" | 579 | "and others. Licensed under GPLv2.\n" |
580 | "See source distribution for full notice.\n" | ||
580 | "\n" | 581 | "\n" |
581 | "Usage: busybox [function] [arguments]...\n" | 582 | "Usage: busybox [function] [arguments]...\n" |
582 | " or: [function] [arguments]...\n" | 583 | " or: function [arguments]...\n" |
583 | "\n" | 584 | "\n" |
584 | "\tBusyBox is a multi-call binary that combines many common Unix\n" | 585 | "\tBusyBox is a multi-call binary that combines many common Unix\n" |
585 | "\tutilities into a single executable. Most people will create a\n" | 586 | "\tutilities into a single executable. Most people will create a\n" |
586 | "\tlink to busybox for each function they wish to use and BusyBox\n" | 587 | "\tlink to busybox for each function they wish to use and BusyBox\n" |
587 | "\twill act like whatever it was invoked as!\n" | 588 | "\twill act like whatever it was invoked as!\n" |
588 | "\nCurrently defined functions:\n"); | 589 | "\n" |
590 | "Currently defined functions:\n"); | ||
589 | col = 0; | 591 | col = 0; |
590 | a = applet_names; | 592 | a = applet_names; |
591 | while (*a) { | 593 | while (*a) { |
diff --git a/procps/top.c b/procps/top.c index 0da742f0b..200519162 100644 --- a/procps/top.c +++ b/procps/top.c | |||
@@ -636,7 +636,7 @@ static void display_topmem_header(int scr_width) | |||
636 | } | 636 | } |
637 | fclose(fp); | 637 | fclose(fp); |
638 | 638 | ||
639 | #define S(s) (s ? s : "0") | 639 | #define S(s) (s ? s : "0 ") |
640 | snprintf(linebuf, sizeof(linebuf), | 640 | snprintf(linebuf, sizeof(linebuf), |
641 | "Mem %stotal %sanon %smap %sfree", | 641 | "Mem %stotal %sanon %smap %sfree", |
642 | S(total), S(anon), S(map), S(mfree)); | 642 | S(total), S(anon), S(map), S(mfree)); |
diff --git a/scripts/defconfig b/scripts/defconfig index 3aacaac64..0b9d5a583 100644 --- a/scripts/defconfig +++ b/scripts/defconfig | |||
@@ -80,6 +80,7 @@ CONFIG_FEATURE_EDITING_HISTORY=15 | |||
80 | CONFIG_FEATURE_TAB_COMPLETION=y | 80 | CONFIG_FEATURE_TAB_COMPLETION=y |
81 | # CONFIG_FEATURE_USERNAME_COMPLETION is not set | 81 | # CONFIG_FEATURE_USERNAME_COMPLETION is not set |
82 | # CONFIG_FEATURE_EDITING_FANCY_PROMPT is not set | 82 | # CONFIG_FEATURE_EDITING_FANCY_PROMPT is not set |
83 | CONFIG_FEATURE_COPYBUF_KB=4 | ||
83 | # CONFIG_MONOTONIC_SYSCALL is not set | 84 | # CONFIG_MONOTONIC_SYSCALL is not set |
84 | CONFIG_IOCTL_HEX2STR_ERROR=y | 85 | CONFIG_IOCTL_HEX2STR_ERROR=y |
85 | 86 | ||
@@ -306,6 +307,7 @@ CONFIG_PATCH=y | |||
306 | CONFIG_SED=y | 307 | CONFIG_SED=y |
307 | CONFIG_VI=y | 308 | CONFIG_VI=y |
308 | CONFIG_FEATURE_VI_MAX_LEN=4096 | 309 | CONFIG_FEATURE_VI_MAX_LEN=4096 |
310 | # CONFIG_FEATURE_VI_8BIT is not set | ||
309 | CONFIG_FEATURE_VI_COLON=y | 311 | CONFIG_FEATURE_VI_COLON=y |
310 | CONFIG_FEATURE_VI_YANKMARK=y | 312 | CONFIG_FEATURE_VI_YANKMARK=y |
311 | CONFIG_FEATURE_VI_SEARCH=y | 313 | CONFIG_FEATURE_VI_SEARCH=y |
@@ -537,8 +539,8 @@ CONFIG_RUNLEVEL=y | |||
537 | CONFIG_RX=y | 539 | CONFIG_RX=y |
538 | CONFIG_STRINGS=y | 540 | CONFIG_STRINGS=y |
539 | CONFIG_SETSID=y | 541 | CONFIG_SETSID=y |
540 | CONFIG_TASKSET=y | 542 | # CONFIG_TASKSET is not set |
541 | CONFIG_FEATURE_TASKSET_FANCY=y | 543 | # CONFIG_FEATURE_TASKSET_FANCY is not set |
542 | CONFIG_TIME=y | 544 | CONFIG_TIME=y |
543 | CONFIG_TTYSIZE=y | 545 | CONFIG_TTYSIZE=y |
544 | CONFIG_WATCHDOG=y | 546 | CONFIG_WATCHDOG=y |
@@ -552,7 +554,7 @@ CONFIG_FEATURE_PREFER_IPV4_ADDRESS=y | |||
552 | CONFIG_ARP=y | 554 | CONFIG_ARP=y |
553 | CONFIG_ARPING=y | 555 | CONFIG_ARPING=y |
554 | CONFIG_DNSD=y | 556 | CONFIG_DNSD=y |
555 | CONFIG_ETHER_WAKE=y | 557 | # CONFIG_ETHER_WAKE is not set |
556 | CONFIG_FAKEIDENTD=y | 558 | CONFIG_FAKEIDENTD=y |
557 | CONFIG_FTPGET=y | 559 | CONFIG_FTPGET=y |
558 | CONFIG_FTPPUT=y | 560 | CONFIG_FTPPUT=y |
@@ -645,6 +647,7 @@ CONFIG_APP_UDHCPC=y | |||
645 | CONFIG_FEATURE_UDHCPC_ARPING=y | 647 | CONFIG_FEATURE_UDHCPC_ARPING=y |
646 | # CONFIG_FEATURE_UDHCP_DEBUG is not set | 648 | # CONFIG_FEATURE_UDHCP_DEBUG is not set |
647 | CONFIG_FEATURE_RFC3397=y | 649 | CONFIG_FEATURE_RFC3397=y |
650 | CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80 | ||
648 | CONFIG_VCONFIG=y | 651 | CONFIG_VCONFIG=y |
649 | CONFIG_WGET=y | 652 | CONFIG_WGET=y |
650 | CONFIG_FEATURE_WGET_STATUSBAR=y | 653 | CONFIG_FEATURE_WGET_STATUSBAR=y |