Date: Tue, 27 Apr 2010 06:14:30 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/config mkoptions.c Message-ID: <201004270614.o3R6EjYk062725@repoman.freebsd.org>
index | next in thread | raw e-mail
imp 2010-04-27 06:14:30 UTC
FreeBSD src repository
Modified files:
usr.sbin/config mkoptions.c
Log:
SVN rev 207265 on 2010-04-27 06:14:30Z by imp
Require the option that's mapped be listed in the options file. This
will allow people with old config options to either have it just work
(if config is new enough), or get a version error (if their config is
about 7.0 or newer) rather than getting a cryptic error about
duplicated options in the options file, or getting an error about an
unknown option, at which point they'd update their config file only to
learn they need a new config, only to learn they didn't really need to
update their config file... All this because our version checking was
in the wrong place for the past decade...
# hopefully this is the last change, and we'll be able to config with an
# 8.0 GENERIC file on stable/8 after I merge this change and add the
# compat options.
MFC after: 3 days
Revision Changes Path
1.38 +28 -9 src/usr.sbin/config/mkoptions.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004270614.o3R6EjYk062725>
