projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9983a57
)
scripts/config: fix handling of CONFDEFAULT on oldconfig
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 29 Feb 2016 16:06:19 +0000
(16:06 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 29 Feb 2016 16:06:19 +0000
(16:06 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r47372
SVN-Revision: 48816
scripts/config/confdata.c
patch
|
blob
|
history
diff --git
a/scripts/config/confdata.c
b/scripts/config/confdata.c
index d9e1b5c4c58b690dd400a0701177ae17f699bc6b..052347ce06cdf483edec0938d6713169b7a5ec82 100644
(file)
--- a/
scripts/config/confdata.c
+++ b/
scripts/config/confdata.c
@@
-1166,6
+1166,8
@@
bool conf_set_all_new_symbols(enum conf_def_mode mode)
}
bool has_changed = false;
+ sym_clear_all_valid();
+
for_all_symbols(i, sym) {
if (sym_has_value(sym) || (sym->flags & SYMBOL_VALID))
continue;
@@
-1209,8
+1211,6
@@
bool conf_set_all_new_symbols(enum conf_def_mode mode)
}
- sym_clear_all_valid();
-
/*
* We have different type of choice blocks.
* If curr.tri equals to mod then we can select several