Debug print where things are selected (by user).
This commit is contained in:
parent
99af41ba8d
commit
2820acceff
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: files.c,v 1.12 2014/05/21 05:25:34 dholland Exp $ */
|
||||
/* $NetBSD: files.c,v 1.13 2014/10/09 06:49:53 uebayasi Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -297,6 +297,7 @@ fixfiles(void)
|
|||
}
|
||||
}
|
||||
fi->fi_flags |= FI_SEL;
|
||||
CFGDBG(3, "file slected `%s'", fi->fi_path);
|
||||
}
|
||||
return (err);
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: main.c,v 1.55 2014/10/09 06:45:31 uebayasi Exp $ */
|
||||
/* $NetBSD: main.c,v 1.56 2014/10/09 06:49:53 uebayasi Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -956,6 +956,7 @@ addoption(const char *name, const char *value)
|
|||
/* make lowercase, then add to select table */
|
||||
n = strtolower(name);
|
||||
(void)ht_insert(selecttab, n, (void *)__UNCONST(n));
|
||||
CFGDBG(3, "option selected `%s'", n);
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -995,6 +996,7 @@ addfsoption(const char *name)
|
|||
|
||||
/* Add to select table. */
|
||||
(void)ht_insert(selecttab, n, __UNCONST(n));
|
||||
CFGDBG(3, "fs selected `%s'", name);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sem.c,v 1.43 2014/05/29 07:47:45 mrg Exp $ */
|
||||
/* $NetBSD: sem.c,v 1.44 2014/10/09 06:49:53 uebayasi Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -1765,6 +1765,7 @@ selectattr(struct attr *a)
|
|||
{
|
||||
|
||||
(void)ht_insert(selecttab, a->a_name, __UNCONST(a->a_name));
|
||||
CFGDBG(3, "attr selected `%s'", a->a_name);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -1778,12 +1779,14 @@ selectbase(struct devbase *d, struct deva *da)
|
|||
struct attrlist *al;
|
||||
|
||||
(void)ht_insert(selecttab, d->d_name, __UNCONST(d->d_name));
|
||||
CFGDBG(3, "devbase selected `%s'", d->d_name);
|
||||
for (al = d->d_attrs; al != NULL; al = al->al_next) {
|
||||
a = al->al_this;
|
||||
expandattr(a, selectattr);
|
||||
}
|
||||
if (da != NULL) {
|
||||
(void)ht_insert(selecttab, da->d_name, __UNCONST(da->d_name));
|
||||
CFGDBG(3, "devattr selected `%s'", da->d_name);
|
||||
for (al = da->d_attrs; al != NULL; al = al->al_next) {
|
||||
a = al->al_this;
|
||||
expandattr(a, selectattr);
|
||||
|
|
Loading…
Reference in New Issue