← Commit list

ee9441f84

Eric Andersen
Eric Andersen
2003-01-23
SOURCE BUG Duration: 2s

Subject

Patch from Brett Hunt at micron.com to fixup potential segfaults during 'make menuconfig'

SOURCE BUG

This commit was genuinely broken at the time (not related to our build system): sysdeps/linux/Config.in "fileutils/Config.in" dosyasini kaynak gosteriyor ama bu dosya repoda hic var olmadi (2002-12-05 - 2003-02-15 arasi orijinal yazar hatasi, 3238ea167 ile duzeltildi)

→ Bu hatanin tam hikayesini ve duzeltme diffini gor

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Debian 14.2.0-19) 14.2.0

—

Build Log

(log yok)

Commit Diff GitHub →

scripts/config/menubox.c+4 -4
@@ -311,8 +311,8 @@ dialog_menu (const char *title, const char *prompt, int height, int width,
scroll--;
- print_item (menu, items[scroll * 2]->name, 0, FALSE,
- (items[scroll * 2]->tag[0] != ':'));
+ print_item (menu, items[scroll]->name, 0, FALSE,
+ (items[scroll]->tag[0] != ':'));
} else
choice = MAX(choice - 1, 0);
@@ -343,8 +343,8 @@ dialog_menu (const char *title, const char *prompt, int height, int width,
if (scroll > 0) {
wscrl (menu, -1);
scroll--;
- print_item (menu, items[scroll * 2]->name, 0, FALSE,
- (items[scroll * 2]->tag[0] != ':'));
+ print_item (menu, items[scroll]->name, 0, FALSE,
+ (items[scroll]->tag[0] != ':'));
} else {
if (choice > 0)
choice--;