From: Sam Ravnborg Date: Sat, 2 Feb 2008 19:44:09 +0000 (+0100) Subject: kconfig: mark config as changed when loading an alternate config X-Git-Tag: v2.6.25-rc1~1062^2~9 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36ef805bd51ef831aa6ed66a23ea0dfbc60d0c3e;p=linux-2.6 kconfig: mark config as changed when loading an alternate config Michal Zachar reported that menuconfig did not save the new config when loading an alternate config unless he altered it manually. Mark config as changed upon load of alternate config fixed this. Signed-off-by: Sam Ravnborg Roman Zippel --- diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c index 50e61c411b..734cf4f313 100644 --- a/scripts/kconfig/mconf.c +++ b/scripts/kconfig/mconf.c @@ -821,6 +821,7 @@ static void conf_load(void) return; if (!conf_read(dialog_input_result)) { set_config_filename(dialog_input_result); + sym_set_change_count(1); return; } show_textbox(NULL, _("File does not exist!"), 5, 38);