Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-06-14 10:25:51


Hi Craig,

> I took a look at the source code for doxygen, which makes
> extensive use of popen() under Windows and Unix, and put something
> together for bjam.

And it works for Windows too. That's cool!

> I'm really new to Jam internals, and just put something together
> based on looking at the Jam C source code, so would appreciate
> any feedback.

I'm not sure making a separate list element for each chunk that fread returns
is good. I'd use facilities from jam_src/string.h to build a big string and
create 1-element list.

I'm also worried about the fact that potentially long output will be stored
permanently in jam's string cache, but I see no way around this and anywhat
it's not something you can fix.

Thanks,
Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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