Date: Tue, 16 Mar 2004 06:20:03 -0800 (PST) From: Ruslan Ermilov <ru@freebsd.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/64327: [PATCH] make(1): document surprising behaviour of assign with expansion Message-ID: <200403161420.i2GEK3g5009701@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/64327; it has been noted by GNATS. From: Ruslan Ermilov <ru@freebsd.org> To: Oliver Eikemeier <eikemeier@fillmore-labs.com> Cc: FreeBSD-gnats-submit@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@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403161420.i2GEK3g5009701>