NetBSD Problem Report #32154

From roland@roland-illig.de  Thu Nov 24 07:50:14 2005
Return-Path: <roland@roland-illig.de>
Received: from baccf5ee.roland-illig.de (c172015.adsl.hansenet.de [213.39.172.15])
	by narn.netbsd.org (Postfix) with ESMTP id 77DE763BA19
	for <gnats-bugs@gnats.netbsd.org>; Thu, 24 Nov 2005 07:50:09 +0000 (UTC)
Message-Id: <20051124075003.0CC07F5F1@baccf5ee.roland-illig.de>
Date: Thu, 24 Nov 2005 08:50:03 +0100 (CET)
From: rillig@NetBSD.org
Reply-To: rillig@NetBSD.org
To: gnats-bugs@netbsd.org
Subject: make(1) parser bug in brk_string()
X-Send-Pr-Version: 3.95

>Number:         32154
>Category:       bin
>Synopsis:       make(1) parser bug in brk_string()
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 24 07:51:00 +0000 2005
>Closed-Date:    Fri Dec 19 22:04:57 +0000 2008
>Last-Modified:  Fri Dec 19 22:05:02 +0000 2008
>Originator:     Roland Illig
>Release:        NetBSD 3.99.10
>Organization:

>Environment:
>Description:

The brk_string() function does not detect partial words at the end of
the string. It simply discards them.

>How-To-Repeat:

$ cat foo.mk
all:
        showargs foo bar baz '
all-sh:
        set -x; showargs foo bar baz

$ make -f foo.mk all
showargs foo bar baz '
(foo)(bar)(baz)

$ make -f foo.mk all-sh
set -x; showargs foo bar baz
+ showargs foo bar baz
(foo)(bar)(baz)

>Fix:


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: gnats-admin->bin-bug-people
Responsible-Changed-By: fair@netbsd.org
Responsible-Changed-When: Thu, 24 Nov 2005 13:24:25 +0000
Responsible-Changed-Why:

Wrong category.



State-Changed-From-To: open->closed
State-Changed-By: christos@NetBSD.org
State-Changed-When: Fri, 19 Dec 2008 17:04:57 -0500
State-Changed-Why:
fixed, thanks


From: Christos Zoulas <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/32154 CVS commit: src/usr.bin/make
Date: Fri, 19 Dec 2008 22:04:36 +0000 (UTC)

 Module Name:	src
 Committed By:	christos
 Date:		Fri Dec 19 22:04:36 UTC 2008

 Modified Files:
 	src/usr.bin/make: str.c

 Log Message:
 PR/32154: Roland Illig: brk_string fails to report errors in unquoted strings.


 To generate a diff of this commit:
 cvs rdiff -r1.30 -r1.31 src/usr.bin/make/str.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.