Messages in this thread Patch in this message | | | Date | Sun, 9 Apr 2006 20:23:38 -0700 | From | "Randy.Dunlap" <> | Subject | [PATCH] config: exit if no beginning filename |
| |
From: Randy Dunlap <rdunlap@xenotime.net>
If the beginning Kconfig file is missing, config segfaults so it might as well exit after the error message.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> --- scripts/kconfig/conf.c | 1 + 1 files changed, 1 insertion(+)
--- linux-2617-rc1.orig/scripts/kconfig/conf.c +++ linux-2617-rc1/scripts/kconfig/conf.c @@ -553,6 +553,7 @@ int main(int ac, char **av) name = av[i]; if (!name) { printf(_("%s: Kconfig file missing\n"), av[0]); + exit(1); } conf_parse(name); //zconfdump(stdout);
--- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |