diff options
Diffstat (limited to 'adk')
-rw-r--r-- | adk/config/symbol.c | 2 | ||||
-rw-r--r-- | adk/tools/pkgrebuild.c | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/adk/config/symbol.c b/adk/config/symbol.c index 27f8117d4..685a1ab14 100644 --- a/adk/config/symbol.c +++ b/adk/config/symbol.c @@ -393,6 +393,7 @@ void sym_calc_value(struct symbol *sym) } calc_newval: if (sym->dir_dep.tri == no) { + /* if (sym->rev_dep.tri != no) { fprintf(stderr, "warning: ("); expr_fprint(sym->rev_dep.expr, stderr); @@ -401,6 +402,7 @@ void sym_calc_value(struct symbol *sym) expr_fprint(sym->dir_dep.expr, stderr); fprintf(stderr, ")\n"); } + */ for (esv = sym->val_dep; esv; esv = esv->next) { if ((esv->tri != no) && (expr_calc_value(esv->value) != no)) { diff --git a/adk/tools/pkgrebuild.c b/adk/tools/pkgrebuild.c index e7f037ae5..b4a63d89c 100644 --- a/adk/tools/pkgrebuild.c +++ b/adk/tools/pkgrebuild.c @@ -231,8 +231,10 @@ int main() { closedir(pkgdir); config = fopen(".config", "r"); - if (config == NULL) + if (config == NULL) { perror(".config is missing."); + exit(1); + } configmap = strmap_new(1024); while (fgets(buf, 128, config) != NULL) { @@ -245,8 +247,10 @@ int main() { fclose(config); configold = fopen(".config.old", "r"); - if (configold == NULL) + if (configold == NULL) { perror(".config.old is missing."); + exit(1); + } configoldmap = strmap_new(1024); while (fgets(buf, 128, configold) != NULL) { |