From owner-cvs-all Tue Nov 6 16: 5:30 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6CF1137B416; Tue, 6 Nov 2001 16:05:26 -0800 (PST) Received: (from fenner@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA705QU31621; Tue, 6 Nov 2001 16:05:26 -0800 (PST) (envelope-from fenner) Message-Id: <200111070005.fA705QU31621@freefall.freebsd.org> From: Bill Fenner Date: Tue, 6 Nov 2001 16:05:26 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/net nslexer.l nsparser.y X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG fenner 2001/11/06 16:05:26 PST Modified files: lib/libc/net nslexer.l nsparser.y Log: Don't ignore unknown characters. The previous code treated a line like: hosts:!!!!!!!!@@@@@$%^&*()()*$(files{}{}|||++!)(dns exactly the same as: hosts: files dns Recover from parse errors by looking for the end of a line; this allows entries without errors to still be parsed even if there is an erroneous entry earlier in the file. Revision Changes Path 1.2 +1 -3 src/lib/libc/net/nslexer.l 1.2 +4 -0 src/lib/libc/net/nsparser.y To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message