NetBSD Problem Report #515

From gnats  Wed Oct 12 08:36:38 1994
Received: from werple.apana.org.au (root@werple.apana.org.au [192.188.107.10]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id IAA06421 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Wed, 12 Oct 1994 08:36:34 -0700
Message-Id: <199410121538.BAA08189@werple.apana.org.au>
Date: Thu, 13 Oct 1994 01:38:05 +1000
From: Geoff Wing <mason@werple.apana.org.au>
Reply-To: mason@werple.apana.org.au
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: usr.bin/make barfs on blank non-empty lines
X-Send-Pr-Version: 3.2

>Number:         515
>Category:       bin
>Synopsis:       usr.bin/make barfs on blank but non-empty lines
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 12 08:50:03 +0000 1994
>Closed-Date:    Tue Oct 18 20:37:00 +0000 1994
>Last-Modified:  
>Originator:     Geoff Wing
>Release:        
>Organization:
>Environment:
System: NetBSD werple.apana.org.au 1.0A NetBSD 1.0A (WERPLE) #11: Thu Sep 15 14:41:09 EST 1994 andrew@werple.apana.org.au:/src/netbsd/sys/arch/i386/compile/WERPLE i386


>Description:
	usr.bin/make barfs on Makefiles with lines which contain only
	spaces, complains about Missing dependency.
>How-To-Repeat:
>Fix:
*** src/usr.bin/make/parse.c.~1~	Tue Jun  7 20:17:15 1994
--- src/usr.bin/make/parse.c	Tue Sep 27 21:43:36 1994
***************
*** 661,666 ****
--- 661,670 ----
      specType = Not;
      paths = (Lst)NULL;

+     for (cp = line; isspace(*cp); cp++) ;
+     if (*cp == '\0')
+ 	return;			/* skip lines of only spaces */
+ 
      curTargs = Lst_Init(FALSE);

      do {

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mycroft 
State-Changed-When: Tue Oct 18 13:37:00 PDT 1994 
State-Changed-Why:  
Fixed. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.