From owner-freebsd-stable Wed Aug 2 5:34:54 2000 Delivered-To: freebsd-stable@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id 1DF5237B71E for ; Wed, 2 Aug 2000 05:34:50 -0700 (PDT) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.9.3/8.9.3) id OAA36003; Wed, 2 Aug 2000 14:34:48 +0200 (CEST) (envelope-from olli) Date: Wed, 2 Aug 2000 14:34:48 +0200 (CEST) Message-Id: <200008021234.OAA36003@dorifer.heim3.tu-clausthal.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG Reply-To: freebsd-stable@FreeBSD.ORG Subject: Re: kernel config needs a blank line at EOF X-Newsgroups: list.freebsd-stable In-Reply-To: <8m810t$2mub$1@atlantis.rz.tu-clausthal.de> Organization: Administration TU Clausthal MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: tin/1.4.1-19991201 ("Polish") (UNIX) (FreeBSD/3.4-19991219-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In list.freebsd-stable Dan Langille 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