projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc8c1e2
)
scripts/config: fix handling of CONFDEFAULT on oldconfig
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 3 Nov 2015 12:00:53 +0000
(12:00 +0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 3 Nov 2015 12:00:53 +0000
(12:00 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47372
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
scripts/config/confdata.c
patch
|
blob
|
history
diff --git
a/scripts/config/confdata.c
b/scripts/config/confdata.c
index
d9e1b5c
..
052347c
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