|
Boost-Build : |
Subject: Re: [Boost-build] [Boost-commit] svn:boost r86565 - trunk/tools/build/v2/tools
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-11-06 10:31:44
AMDG
On 11/05/2013 01:33 AM, jurko.gospodnetic_at_[hidden] wrote:
> Author: jurko
> Date: 2013-11-05 04:33:37 EST (Tue, 05 Nov 2013)
> New Revision: 86565
> URL: http://svn.boost.org/trac/boost/changeset/86565
>
> Log:
> Stylistic change - jam construct like 'if $(var)-is-not-empty' does not actually test whether the $(var) variable is not empty and instead tests whether the variable is defined at all to any value. Specifically, if the variable is defined as an empty string, the test will still pass.
>
FWIW, empty in this case means empty list, not empty string.
local var = ; # $(var)-is-defined evaluates to false
> Text files modified:
> trunk/tools/build/v2/tools/msvc.jam | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
In Christ,
Steven Watanabe
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk