Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2000 14:34:48 +0200 (CEST)
From:      Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: kernel config needs a blank line at EOF
Message-ID:  <200008021234.OAA36003@dorifer.heim3.tu-clausthal.de>
In-Reply-To: <8m810t$2mub$1@atlantis.rz.tu-clausthal.de>

next in thread | previous in thread | raw e-mail | index | archive | help
In list.freebsd-stable Dan Langille <dan@langille.org> wrote:
 > config: line 238: syntax error
 > [...]
 > which was the last line in the file.  I then suggested then they add a
 > CRLF to the end of the file (so that the last line was an empy
 > line).  config then ran successfully.

Do you mean that the last line was not terminated by a
newline character?  In that case it was not a valid unix
textfile, and you'll get undefined behaviour.  This can't
happen when you use a unix text editor such as vi, which
always terminates the last line with a newline character.

If you mean that there really needed to be an empty line
after the last line (i.e. the last two characters in the
file had to be newlines), then I cannot reproduce the
problem here on a 4.1 box.  Even the last line in GENERIC
isn't empty, and it's working fine.  (If it wasn't, I'd
call this a bug in config.)

Regards
   Oliver

PS:  By the way, the newline is not "CRLF".  This is not
DOS.  ;-)

-- 
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de)
Addresses will change soon!!  If in doubt:  www.fromme.com

"In jedem Stück Kohle wartet ein Diamant auf seine Geburt"
                                         (Terry Pratchett)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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