From owner-cvs-usrbin Tue Sep 24 19:57:05 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA18642 for cvs-usrbin-outgoing; Tue, 24 Sep 1996 19:57:05 -0700 (PDT) Received: (from steve@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA18355; Tue, 24 Sep 1996 19:55:56 -0700 (PDT) Date: Tue, 24 Sep 1996 19:55:56 -0700 (PDT) From: Steve Price Message-Id: <199609250255.TAA18355@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/make compat.c parse.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk steve 96/09/24 19:55:54 Modified: usr.bin/make compat.c parse.c Log: Fix for PR# 1231, make(1) execution of ``.BEGIN'' does not halt on error. Thanks to Wolfram for reminding me. ;) Also remove a unnecessary test for c == '\n', since the loop (in ParseSkipLine) will not terminate unless c == '\n' || c == EOF, and the EOF case is already explicted handled by a return statement. Revision Changes Path 1.4 +4 -0 src/usr.bin/make/compat.c 1.12 +0 -2 src/usr.bin/make/parse.c