From owner-freebsd-current Mon Apr 26 1:28:53 1999 Delivered-To: freebsd-current@freebsd.org Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (Postfix) with ESMTP id 3F8FC14FDF for ; Mon, 26 Apr 1999 01:28:48 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (Postfix) with ESMTP id 40A571F5C; Mon, 26 Apr 1999 16:28:42 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: chris@calldei.com Cc: A.Leidinger@Wurzelausix.CS.Uni-SB.de, current@FreeBSD.ORG Subject: Re: config & NO_F00F_HACK In-reply-to: Your message of "Sun, 25 Apr 1999 17:26:59 EST." <19990425172657.A422@holly.dyndns.org> Date: Mon, 26 Apr 1999 16:28:42 +0800 From: Peter Wemm Message-Id: <19990426082847.40A571F5C@spinner.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chris Costello wrote: > On Sun, Apr 25, 1999, A.Leidinger@Wurzelausix.CS.Uni-SB.de wrote: > > Hi, > >=20 > > # ident LINT > > LINT: > > $Id: LINT,v 1.589 1999/04/24 21:45:44 peter Exp $ > >=20 > > with: > > option NO_F00F_HACK > >=20 > > # config WORK > > WORK:15: unknown option "NO_F0F_HACK" > ^^^^^^^^^^^^^ > > You made a typo. No, it is a parsing/stringification botch. It's parsed like this: ID: NO_F NUMBER: 00 (octal 0) ID: F_HACK Of course, an atoi of "00" and then a sprintf("%d") results in a single "0". I've fixed this here and will commit it shortly, but I'm a bit nervous about the scope of the change required to prevent this information loss. :-/ I don't know enough lex/yacc to do context-sensitive tokenization. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message