Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Sep 2003 15:05:25 +0100
From:      Bruce M Simpson <bms@spc.org>
To:        Stefan Farfeleder <stefan@fafoe.narf.at>
Cc:        arch@FreeBSD.org
Subject:   Re: sys/conf/DEFAULT[S]
Message-ID:  <20030927140525.GA3261@saboteur.dek.spc.org>
In-Reply-To: <20030927105241.GG802@wombat.fafoe.narf.at>
References:  <XFMail.20030924170342.jhb@FreeBSD.org> <20030925092319.H5418@gamplex.bde.org> <49939.204.254.155.35.1064593320.squirrel@mail.migus.org> <20030927080420.N18558@gamplex.bde.org> <20030927105241.GG802@wombat.fafoe.narf.at>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 27, 2003 at 12:52:44PM +0200, Stefan Farfeleder wrote:
> > Similarly with FOOBAR's contents identical with SMP's contents except
> > for including FOO instead of GENERIC.  So the bug must be related to
> > the file being included ... adding an empty or comment line to the
> > beginning of FOO works around it.  I guess there is an off-by-1 byte
> > or line error switching the input stream.
> 
> The problem is simply that the input stream is switched immediately to
> the included file after reading the file name and the parser is still
> waiting for its newline or semicolon from the production

bde mentioned this problem to me a few months ago when I suggested
we MFC the include feature to 4.x.  Thanks for tracking it down!

BMS



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