Subject: bin/34128: The make(1) operator :M is buggy
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <rillig@NetBSD.org>
List: netbsd-bugs
Date: 08/02/2006 15:50:00
>Number: 34128
>Category: bin
>Synopsis: The make(1) operator :M is buggy
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 02 15:50:00 +0000 2006
>Originator: Roland Illig
>Release: NetBSD 3.0_STABLE
>Organization:
>Environment:
System: NetBSD bacc.roland-illig.de 3.0_STABLE NetBSD 3.0_STABLE (GENERIC) #0: Sat Jun 17 13:16:17 CEST 2006 build@baccf5ee.roland-illig.de:/home/build/3/2006-06/i386/work/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
The :M* operator does not work as expected when it is passed an empty
word in double quotes.
>How-To-Repeat:
ARGS= a "" b
all:
echo '${ARGS:M*}'
I expected the output to be the same as the input, but one double quote
is missing. I cannot say whether it is the first or the second one. :)
>Fix:
Well, somewhere in var.c, I guess.
>Unformatted: