1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00
freebsd/usr.sbin/config
Kyle Evans 83d7ed8af3 config: drop dependency on libsbuf
Use an std::stringstream instead.  get_word() and get_quoted_word() both
return a buffer that's presumed to not need release, so solve this by
returning a new special configword type that holds a string or eof/eol
state.  This cleans up caller checking for EOF/EOL to make it more
explicit what they're doing, at least in the EOL cases which previously
checked for NULL.

Sponsored by:	Klara, Inc.
Sponsored by:	NetApp, Inc.
Differential Revision:	https://reviews.freebsd.org/D38276
2023-02-08 22:56:10 -06:00
..
config.5 config(5): drop mention of mips 2022-10-17 15:12:12 -03:00
config.8 Indicate which port gdb.1 and kgdb.1 come from. 2022-08-17 19:13:22 +02:00
config.h config: drop dependency on libsbuf 2023-02-08 22:56:10 -06:00
config.y config(8): Remove obsolete 'config' directive. 2021-06-17 15:17:18 -06:00
configvers.h
kernconf.tmpl
lang.l config(8): Remove obsolete 'config' directive. 2021-06-17 15:17:18 -06:00
main.cc config: drop dependency on libsbuf 2023-02-08 22:56:10 -06:00
Makefile config: drop dependency on libsbuf 2023-02-08 22:56:10 -06:00
Makefile.depend
mkheaders.c
mkmakefile.cc config: drop dependency on libsbuf 2023-02-08 22:56:10 -06:00
mkoptions.cc config: drop dependency on libsbuf 2023-02-08 22:56:10 -06:00