From owner-freebsd-current Mon Sep 11 10:13:55 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA26707 for current-outgoing; Mon, 11 Sep 1995 10:13:55 -0700 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id KAA26701 for ; Mon, 11 Sep 1995 10:13:54 -0700 Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA28627; Mon, 11 Sep 1995 13:13:37 -0400 Date: Mon, 11 Sep 1995 13:13:37 -0400 From: "Garrett A. Wollman" Message-Id: <9509111713.AA28627@halloran-eldar.lcs.mit.edu> To: Bruce Evans Cc: current@freebsd.org Subject: test coverage of LINT In-Reply-To: <199509100344.NAA19536@godzilla.zeta.org.au> References: <199509100344.NAA19536@godzilla.zeta.org.au> Sender: current-owner@freebsd.org Precedence: bulk < said: > do that since the file contents doesn't change like it should. For lfs.h, > the behaviour is different but probably still broken: if the LFS option > isn't enabled, then lfs.h defines NLFS as 0; otherwise lfs.h isn't created. > Nothing actually includes lfs.h so there is no problem in practice (but > config doesn't know that). This is standard behavior, demonstrating the difference between `option' and `pseudo-device' declarations in the config file. Config has no way of knowing which declaration you didn't specify, and so it generates the header as if the unspecified option were a pseudo-device. > NFOO is guaranteed to be > 0 if the driver is configured (except possibly > for cases involving cross references). I'd like to remove these ifdefs. Since they don't hurt anything, I am inclined to leave them in as a reminder to people looking at the source code what "foo.h" and NFOO are for. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant