NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/46750
The following reply was made to PR toolchain/46750; it has been noted by GNATS.
From: Roland Illig <roland.illig%gmx.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: toolchain/46750
Date: Tue, 10 May 2022 02:20:34 +0200
Robert Elz wrote:
> Edgar Fu=C3=9F wrote:
> | Which bmake fourtunately doesn't adhere to. I doubt you want
> | foo=3D bar # see section 47.11
> | to assign trailing whitespace to foo.
>
> Yet gmake and smake both do include it.
They don't. All of bmake, gmake and smake discard the whitespace between
'bar' and '#'.
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html#tag_2=
0_76_13_05
Even though POSIX requires that the macro value includes trailing
whitespace, I doubt that bmake or gmake will ever adhere to that
specification. It's rather the POSIX specification that should be
adjusted to reflect existing behavior.
Roland
Home |
Main Index |
Thread Index |
Old Index