|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-07-02 05:01:57
David Abrahams wrote:
> I have made the previously-discussed improvements to property.as-path.
Thank you!
> test_all.py is failing on Windows due to extra whitespace in the output
> file. I'm not sure what to make of that. Vladimir, could you have a look?
<flame>
I hate windows shells!
</flame>
The problem is that
1. Consider the following bat file
@start
echo debug>bin\a.exe
echo bin\a.obj>>bin\a.exe
@end
I would expect that the first line of bin\a.exe should contain "debug" and
nothing more. But, if there's a trailing space on the first line of bat file,
it is transferred to bin\a.exe
2. Consider
actions yfc-compile { echo foo > bar }
Here, jam happily takes everything inside "{}", *including spaces* to be
action text.
Fixing jam would be good, but in the short time I'll introduce new method
"read_and_strip". I also plan to add a new method
"expect_content" which will take care of stripping and slashes direction.
- Volodya
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