|
Boost : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-09-26 00:27:31
Lewis Hyatt wrote:
> Hi All,
Hi Lewis,
> I apologize if this has been reported before, but I couldn't find it
> after a long search. I encountered problems building bjam on a standard
> Linux distribution (uname -a: Linux 2.4.21-32.0.1.EL #1 Wed May 25
> 14:34:59 EDT 2005 i686 i686 i386 GNU/Linux) with gcc. (same problem with
> gcc 3.2.2 or 4.0.1). The executable seg faulted every time. I tracked
> it to the function var_defines() in variable.c which had a logic error
> at lines 124-130. I didn't investigate far enough to determine why the
> function was receiving strings consisting of a single quote,
I suspect some environment variable has a single quote as a value.
> and I do
> not know if this is irregular or not, but in any case the attached patch
> (output from diff -c) corrects the issue.
Applied, thanks!
- Volodya
P.S. Note that it's better to send jam patches to the jamboost mailing list.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk