Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Oct 2011 17:11:38 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r226013 - head/sys/conf
Message-ID:  <201110041711.p94HBca3070642@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Tue Oct  4 17:11:38 2011
New Revision: 226013
URL: http://svn.freebsd.org/changeset/base/226013

Log:
  Match the files directive and all the ways to add or subtract options
  and makeoptions by being a little smarter about REs.

Modified:
  head/sys/conf/makeLINT.sed

Modified: head/sys/conf/makeLINT.sed
==============================================================================
--- head/sys/conf/makeLINT.sed	Tue Oct  4 17:09:10 2011	(r226012)
+++ head/sys/conf/makeLINT.sed	Tue Oct  4 17:11:38 2011	(r226013)
@@ -1,7 +1,7 @@
 #!/usr/bin/sed -E -n -f
 # $FreeBSD$
 
-/^(machine|ident|device|nodevice|makeoptions|nomakeoption|options|option|nooption|profile|cpu|maxusers)[[:space:]]/ {
+/^(machine|files|ident|(no)?device|(no)?makeoption(s)?|(no)?option(s)?|profile|cpu|maxusers)[[:space:]]/ {
     s/[[:space:]]*#.*$//
     p
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110041711.p94HBca3070642>