bin/64327: [PATCH] make(1): document surprising behaviour of assign with expansion

Ruslan Ermilov ru at freebsd.org
Tue Mar 16 06:20:03 PST 2004


The following reply was made to PR bin/64327; it has been noted by GNATS.

From: Ruslan Ermilov <ru at freebsd.org>
To: Oliver Eikemeier <eikemeier at fillmore-labs.com>
Cc: FreeBSD-gnats-submit at freebsd.org
Subject: Re: bin/64327: [PATCH] make(1): document surprising behaviour of assign with expansion
Date: Tue, 16 Mar 2004 16:11:34 +0200

 On Tue, Mar 16, 2004 at 02:58:35PM +0100, Oliver Eikemeier wrote:
 [...]
 > >Perhaps you could convert it to fit the manpage?  Definitely we shouldn't 
 > >put
 > >it in the BUGS section.
 > 
 > I though so. What should I use: HISTORY, CAVEATS, IMPLEMENTATION NOTES or 
 > something else?
 > 
 I prefer to just document this behavior of the := assignment.
 
 > Undefined variables are left untouched when assigned with expansion.
 > 
 Undefined variables can't be "left", as they don't exist at all.  Instead,
 saying something along the code comments, like "expanded variables can be
 undefined, in this case their expansion is attempted later", and give an
 example from the code.
 
 
 Cheers,
 -- 
 Ruslan Ermilov
 FreeBSD committer
 ru at FreeBSD.org


More information about the freebsd-bugs mailing list