diff options
author | Ron Yorston <rmy@pobox.com> | 2012-03-22 15:21:20 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2012-03-22 15:21:20 +0000 |
commit | 0d8b2c4a929ea9d3ac37499319fe0d8e7941a0c2 (patch) | |
tree | 6709ddd6071a9c238ba69233540bbcfe560c6a44 /scripts | |
parent | 67758035a4fe040c6ac69b39d61bcd6bddd7b827 (diff) | |
parent | 56a3b82e9692a25ef9c9269e88feac0d579ce8e8 (diff) | |
download | busybox-w32-0d8b2c4a929ea9d3ac37499319fe0d8e7941a0c2.tar.gz busybox-w32-0d8b2c4a929ea9d3ac37499319fe0d8e7941a0c2.tar.bz2 busybox-w32-0d8b2c4a929ea9d3ac37499319fe0d8e7941a0c2.zip |
Merge commit '56a3b82e9692a25ef9c9269e88feac0d579ce8e8' into merge
Conflicts:
coreutils/ls.c
include/platform.h
libbb/bb_basename.c
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/defconfig.tig | 5 | ||||
-rw-r--r-- | scripts/kconfig/conf.c | 11 | ||||
-rw-r--r-- | scripts/kconfig/lxdialog/textbox.c | 8 | ||||
-rwxr-xr-x | scripts/trylink | 1 |
4 files changed, 10 insertions, 15 deletions
diff --git a/scripts/defconfig.tig b/scripts/defconfig.tig index ab9dc4728..e19217f08 100644 --- a/scripts/defconfig.tig +++ b/scripts/defconfig.tig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Busybox version: 1.19.0.git | 3 | # Busybox version: 1.19.0.git |
4 | # Thu Mar 22 14:00:24 2012 | 4 | # Thu Mar 22 15:00:34 2012 |
5 | # | 5 | # |
6 | CONFIG_HAVE_DOT_CONFIG=y | 6 | CONFIG_HAVE_DOT_CONFIG=y |
7 | # CONFIG_PLATFORM_POSIX is not set | 7 | # CONFIG_PLATFORM_POSIX is not set |
@@ -615,11 +615,13 @@ CONFIG_HD=y | |||
615 | # CONFIG_CONSPY is not set | 615 | # CONFIG_CONSPY is not set |
616 | # CONFIG_NANDWRITE is not set | 616 | # CONFIG_NANDWRITE is not set |
617 | # CONFIG_NANDDUMP is not set | 617 | # CONFIG_NANDDUMP is not set |
618 | # CONFIG_SETSERIAL is not set | ||
618 | # CONFIG_UBIATTACH is not set | 619 | # CONFIG_UBIATTACH is not set |
619 | # CONFIG_UBIDETACH is not set | 620 | # CONFIG_UBIDETACH is not set |
620 | # CONFIG_UBIMKVOL is not set | 621 | # CONFIG_UBIMKVOL is not set |
621 | # CONFIG_UBIRMVOL is not set | 622 | # CONFIG_UBIRMVOL is not set |
622 | # CONFIG_UBIRSVOL is not set | 623 | # CONFIG_UBIRSVOL is not set |
624 | # CONFIG_UBIUPDATEVOL is not set | ||
623 | # CONFIG_ADJTIMEX is not set | 625 | # CONFIG_ADJTIMEX is not set |
624 | CONFIG_BBCONFIG=y | 626 | CONFIG_BBCONFIG=y |
625 | CONFIG_FEATURE_COMPRESS_BBCONFIG=y | 627 | CONFIG_FEATURE_COMPRESS_BBCONFIG=y |
@@ -826,6 +828,7 @@ CONFIG_DHCPD_LEASES_FILE="" | |||
826 | # CONFIG_FEATURE_UDHCP_PORT is not set | 828 | # CONFIG_FEATURE_UDHCP_PORT is not set |
827 | CONFIG_UDHCP_DEBUG=0 | 829 | CONFIG_UDHCP_DEBUG=0 |
828 | # CONFIG_FEATURE_UDHCP_RFC3397 is not set | 830 | # CONFIG_FEATURE_UDHCP_RFC3397 is not set |
831 | # CONFIG_FEATURE_UDHCP_8021Q is not set | ||
829 | CONFIG_UDHCPC_DEFAULT_SCRIPT="" | 832 | CONFIG_UDHCPC_DEFAULT_SCRIPT="" |
830 | CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=0 | 833 | CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=0 |
831 | CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="" | 834 | CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="" |
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c index 6e097889f..ea2446a89 100644 --- a/scripts/kconfig/conf.c +++ b/scripts/kconfig/conf.c | |||
@@ -173,7 +173,7 @@ static void conf_askvalue(struct symbol *sym, const char *def) | |||
173 | int conf_string(struct menu *menu) | 173 | int conf_string(struct menu *menu) |
174 | { | 174 | { |
175 | struct symbol *sym = menu->sym; | 175 | struct symbol *sym = menu->sym; |
176 | const char *def, *help; | 176 | const char *def; |
177 | 177 | ||
178 | while (1) { | 178 | while (1) { |
179 | printf("%*s%s ", indent - 1, "", menu->prompt->text); | 179 | printf("%*s%s ", indent - 1, "", menu->prompt->text); |
@@ -188,10 +188,7 @@ int conf_string(struct menu *menu) | |||
188 | case '?': | 188 | case '?': |
189 | /* print help */ | 189 | /* print help */ |
190 | if (line[1] == '\n') { | 190 | if (line[1] == '\n') { |
191 | help = nohelp_text; | 191 | printf("\n%s\n", menu->sym->help ? menu->sym->help : nohelp_text); |
192 | if (menu->sym->help) | ||
193 | help = menu->sym->help; | ||
194 | printf("\n%s\n", menu->sym->help); | ||
195 | def = NULL; | 192 | def = NULL; |
196 | break; | 193 | break; |
197 | } | 194 | } |
@@ -207,7 +204,6 @@ int conf_string(struct menu *menu) | |||
207 | static int conf_sym(struct menu *menu) | 204 | static int conf_sym(struct menu *menu) |
208 | { | 205 | { |
209 | struct symbol *sym = menu->sym; | 206 | struct symbol *sym = menu->sym; |
210 | int type; | ||
211 | tristate oldval, newval; | 207 | tristate oldval, newval; |
212 | const char *help; | 208 | const char *help; |
213 | 209 | ||
@@ -215,7 +211,6 @@ static int conf_sym(struct menu *menu) | |||
215 | printf("%*s%s ", indent - 1, "", menu->prompt->text); | 211 | printf("%*s%s ", indent - 1, "", menu->prompt->text); |
216 | if (sym->name) | 212 | if (sym->name) |
217 | printf("(%s) ", sym->name); | 213 | printf("(%s) ", sym->name); |
218 | type = sym_get_type(sym); | ||
219 | putchar('['); | 214 | putchar('['); |
220 | oldval = sym_get_tristate_value(sym); | 215 | oldval = sym_get_tristate_value(sym); |
221 | switch (oldval) { | 216 | switch (oldval) { |
@@ -282,11 +277,9 @@ static int conf_choice(struct menu *menu) | |||
282 | { | 277 | { |
283 | struct symbol *sym, *def_sym; | 278 | struct symbol *sym, *def_sym; |
284 | struct menu *child; | 279 | struct menu *child; |
285 | int type; | ||
286 | bool is_new; | 280 | bool is_new; |
287 | 281 | ||
288 | sym = menu->sym; | 282 | sym = menu->sym; |
289 | type = sym_get_type(sym); | ||
290 | is_new = !sym_has_value(sym); | 283 | is_new = !sym_has_value(sym); |
291 | if (sym_is_changable(sym)) { | 284 | if (sym_is_changable(sym)) { |
292 | conf_sym(menu); | 285 | conf_sym(menu); |
diff --git a/scripts/kconfig/lxdialog/textbox.c b/scripts/kconfig/lxdialog/textbox.c index 77848bb8e..de4ae41d7 100644 --- a/scripts/kconfig/lxdialog/textbox.c +++ b/scripts/kconfig/lxdialog/textbox.c | |||
@@ -38,11 +38,8 @@ int dialog_textbox(const char *title, const char *file, int height, int width) | |||
38 | { | 38 | { |
39 | int i, x, y, cur_x, cur_y, fpos, key = 0; | 39 | int i, x, y, cur_x, cur_y, fpos, key = 0; |
40 | int passed_end; | 40 | int passed_end; |
41 | char search_term[MAX_LEN + 1]; | ||
42 | WINDOW *dialog, *text; | 41 | WINDOW *dialog, *text; |
43 | 42 | ||
44 | search_term[0] = '\0'; /* no search term entered yet */ | ||
45 | |||
46 | /* Open input file for reading */ | 43 | /* Open input file for reading */ |
47 | if ((fd = open(file, O_RDONLY)) == -1) { | 44 | if ((fd = open(file, O_RDONLY)) == -1) { |
48 | endwin(); | 45 | endwin(); |
@@ -437,7 +434,6 @@ static void print_page(WINDOW * win, int height, int width) | |||
437 | */ | 434 | */ |
438 | static void print_line(WINDOW * win, int row, int width) | 435 | static void print_line(WINDOW * win, int row, int width) |
439 | { | 436 | { |
440 | int y, x; | ||
441 | char *line; | 437 | char *line; |
442 | 438 | ||
443 | line = get_line(); | 439 | line = get_line(); |
@@ -446,11 +442,13 @@ static void print_line(WINDOW * win, int row, int width) | |||
446 | waddch(win, ' '); | 442 | waddch(win, ' '); |
447 | waddnstr(win, line, MIN(strlen(line), width - 2)); | 443 | waddnstr(win, line, MIN(strlen(line), width - 2)); |
448 | 444 | ||
449 | getyx(win, y, x); | ||
450 | /* Clear 'residue' of previous line */ | 445 | /* Clear 'residue' of previous line */ |
451 | #if OLD_NCURSES | 446 | #if OLD_NCURSES |
452 | { | 447 | { |
453 | int i; | 448 | int i; |
449 | int y, x; | ||
450 | |||
451 | getyx(win, y, x); | ||
454 | for (i = 0; i < width - x; i++) | 452 | for (i = 0; i < width - x; i++) |
455 | waddch(win, ' '); | 453 | waddch(win, ' '); |
456 | } | 454 | } |
diff --git a/scripts/trylink b/scripts/trylink index 5994a757b..a8b0b2e03 100755 --- a/scripts/trylink +++ b/scripts/trylink | |||
@@ -255,6 +255,7 @@ if test "$CONFIG_FEATURE_SHARED_BUSYBOX" = y; then | |||
255 | $GC_SECTIONS \ | 255 | $GC_SECTIONS \ |
256 | $START_GROUP $O_FILES $END_GROUP \ | 256 | $START_GROUP $O_FILES $END_GROUP \ |
257 | -L"$sharedlib_dir" -lbusybox \ | 257 | -L"$sharedlib_dir" -lbusybox \ |
258 | $l_list \ | ||
258 | $INFO_OPTS \ | 259 | $INFO_OPTS \ |
259 | || { | 260 | || { |
260 | echo "Linking $EXE failed" | 261 | echo "Linking $EXE failed" |