christos
202553924e
Keep track where more objects are declared so that we can print where things
...
have been redefined.
2020-03-07 19:26:13 +00:00
uebayasi
2cb009cdd9
Introduce a new syntax, "buildprefix", to specify prefix of files under kernel
...
build subdirectory. This is not used now that everything is built at the
top of kernel build directory. It will become mandatory for source/object
files put out of kernel source tree to specify corresponding build subdirectory.
Only ``no dots'' relative path is accepted as "buildprefix".
2015-09-01 13:42:48 +00:00
christos
d12b0036c5
- add RCSID's
...
- fix -Wconversion (except scanner)
2014-10-29 17:14:50 +00:00
uebayasi
93405beec9
Enable debug for tools.
2014-10-11 03:17:40 +00:00
uebayasi
99af41ba8d
Add debug print function.
2014-10-09 06:45:31 +00:00
christos
6fce9f6ad7
go back to using file:line: from uwe.
2013-11-01 21:39:13 +00:00
christos
8ae3ff1668
make config errors look more like other programs: <file>,<line>:
...
instead of <file>:<line>:
2013-11-01 17:09:59 +00:00
dholland
cb79ede2d1
Give option definitions their own data structure instead of using nvlists.
...
(and using messy hacks to make up for nvlists not holding quite the right
things)
2012-03-12 02:58:55 +00:00
dholland
f5d4142b2d
Move locator lists to their own data structure. This can use more tidying;
...
it is not clear to me at the moment what the "string" and "num" values
pushed around in locator lists are supposed to actually mean.
2012-03-11 21:16:07 +00:00
dholland
25c56bd707
Add some organizational comments
2012-03-11 20:02:55 +00:00
dholland
a551c5e8b7
Create a struct condexpr type to hold condition expressions, instead
...
of abusing struct nvlist to make trees.
(These are the a|b and a&b constructs.)
2012-03-11 08:21:53 +00:00
dholland
bbe96a5ad8
Create a new type struct attrlist to manage lists of attributes,
...
instead of using struct nvlist.
(struct nvlist holds lists (or trees!) of semi-arbitrary stuff with no
structure and almost no type safety; it should go away.)
2012-03-11 07:32:41 +00:00
dholland
671dbef5d6
Use __printflike. Build products unchanged.
2012-03-10 21:53:38 +00:00
christos
0001b92828
rename nv_int -> nv_num and make it long long, so that dev_t will fit when
...
we change it.
2008-12-28 01:23:46 +00:00
lukem
82d7cb8306
Use a common function to generate the "MACHINE GENERATED" comment,
...
and ensure mkswap.c adds it too.
2007-12-12 00:03:33 +00:00
christos
c7295a4c51
- rename {x,}error -> cfg{x,}error and {x,}warn -> cfg{x,}warn so that we
...
can use err(3) and warn(3) to display errors instead of using inconsistent
fprintf's.
- remove emalloc/estrdup etc. We have them in libutil.
2007-01-13 23:47:36 +00:00
cube
718ffd7615
Handle defopt lists properly, as ':=' syntax introduce an additional
...
element... For that, introduce nvcat(nv1, nv2).
2007-01-12 21:49:51 +00:00
dsl
17ff309c84
There isn't really any point in the 'union' for nv_str and nv_ptr, all it
...
does is cause confusion when I try to add default values for defparam.
Also if malloc()/free() aren't efficient enough for us, we ought to fix
them rather than having local free list - so kill the local free lists.
2006-09-03 07:45:40 +00:00
christos
d0fb89015b
Now that this is part of tools, we don't need the extra build glue.
2006-08-26 18:17:13 +00:00
cube
0dbd1c0e04
- Keep track of the file in which we find the device instance
...
- Introduce xwarn() for delayed warnings
- Use xerror() and xwarn() in fixdevis() to notify about orphans
That way the correct file is printed when listing orphaned devices.
Reported by Juergen Hannken-Illjes in private mail.
2005-10-04 12:35:00 +00:00
thorpej
5ecc953bdb
config and genassym are not sysadmin tools, they are development tools.
...
As such, they don't belong in /usr/sbin, but rather /usr/bin. Move them
there.
2005-06-05 18:19:52 +00:00