aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-12-24 12:16:24 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-12-24 12:16:24 +0000
commitfcfb5c04bbaa52ae7df5d45bc3ddadcc9e935fa1 (patch)
treeafebd34647c52f89637ab2471cc1a2052a38fe44
parente4bc603f0ba296647bd5fc3f1e8e7231effe6676 (diff)
downloadbusybox-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.flags3
-rw-r--r--libbb/appletlib.c10
-rw-r--r--procps/top.c2
-rw-r--r--scripts/defconfig9
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!)
100FLTFLAGS += -s 20000 100# Reduced from 20k to 16k in 1.9.0.
101FLTFLAGS += -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
80CONFIG_FEATURE_TAB_COMPLETION=y 80CONFIG_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
83CONFIG_FEATURE_COPYBUF_KB=4
83# CONFIG_MONOTONIC_SYSCALL is not set 84# CONFIG_MONOTONIC_SYSCALL is not set
84CONFIG_IOCTL_HEX2STR_ERROR=y 85CONFIG_IOCTL_HEX2STR_ERROR=y
85 86
@@ -306,6 +307,7 @@ CONFIG_PATCH=y
306CONFIG_SED=y 307CONFIG_SED=y
307CONFIG_VI=y 308CONFIG_VI=y
308CONFIG_FEATURE_VI_MAX_LEN=4096 309CONFIG_FEATURE_VI_MAX_LEN=4096
310# CONFIG_FEATURE_VI_8BIT is not set
309CONFIG_FEATURE_VI_COLON=y 311CONFIG_FEATURE_VI_COLON=y
310CONFIG_FEATURE_VI_YANKMARK=y 312CONFIG_FEATURE_VI_YANKMARK=y
311CONFIG_FEATURE_VI_SEARCH=y 313CONFIG_FEATURE_VI_SEARCH=y
@@ -537,8 +539,8 @@ CONFIG_RUNLEVEL=y
537CONFIG_RX=y 539CONFIG_RX=y
538CONFIG_STRINGS=y 540CONFIG_STRINGS=y
539CONFIG_SETSID=y 541CONFIG_SETSID=y
540CONFIG_TASKSET=y 542# CONFIG_TASKSET is not set
541CONFIG_FEATURE_TASKSET_FANCY=y 543# CONFIG_FEATURE_TASKSET_FANCY is not set
542CONFIG_TIME=y 544CONFIG_TIME=y
543CONFIG_TTYSIZE=y 545CONFIG_TTYSIZE=y
544CONFIG_WATCHDOG=y 546CONFIG_WATCHDOG=y
@@ -552,7 +554,7 @@ CONFIG_FEATURE_PREFER_IPV4_ADDRESS=y
552CONFIG_ARP=y 554CONFIG_ARP=y
553CONFIG_ARPING=y 555CONFIG_ARPING=y
554CONFIG_DNSD=y 556CONFIG_DNSD=y
555CONFIG_ETHER_WAKE=y 557# CONFIG_ETHER_WAKE is not set
556CONFIG_FAKEIDENTD=y 558CONFIG_FAKEIDENTD=y
557CONFIG_FTPGET=y 559CONFIG_FTPGET=y
558CONFIG_FTPPUT=y 560CONFIG_FTPPUT=y
@@ -645,6 +647,7 @@ CONFIG_APP_UDHCPC=y
645CONFIG_FEATURE_UDHCPC_ARPING=y 647CONFIG_FEATURE_UDHCPC_ARPING=y
646# CONFIG_FEATURE_UDHCP_DEBUG is not set 648# CONFIG_FEATURE_UDHCP_DEBUG is not set
647CONFIG_FEATURE_RFC3397=y 649CONFIG_FEATURE_RFC3397=y
650CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80
648CONFIG_VCONFIG=y 651CONFIG_VCONFIG=y
649CONFIG_WGET=y 652CONFIG_WGET=y
650CONFIG_FEATURE_WGET_STATUSBAR=y 653CONFIG_FEATURE_WGET_STATUSBAR=y