From owner-cvs-src-old@FreeBSD.ORG Sun May 2 06:19:15 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5F4E81065720 for ; Sun, 2 May 2010 06:19:15 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 4EAE88FC19 for ; Sun, 2 May 2010 06:19:15 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o426JFxC054314 for ; Sun, 2 May 2010 06:19:15 GMT (envelope-from imp@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o426JFEk054313 for cvs-src-old@freebsd.org; Sun, 2 May 2010 06:19:15 GMT (envelope-from imp@repoman.freebsd.org) Message-Id: <201005020619.o426JFEk054313@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to imp@repoman.freebsd.org using -f From: Warner Losh Date: Sun, 2 May 2010 06:18:57 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/usr.sbin/config mkoptions.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 May 2010 06:19:15 -0000 imp 2010-05-02 06:18:57 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) usr.sbin/config mkoptions.c Log: SVN rev 207493 on 2010-05-02 06:18:57Z by imp MFC r207265: 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. Revision Changes Path 1.34.10.5 +28 -9 src/usr.sbin/config/mkoptions.c