|
Boost-Build : |
From: João Abecasis (jpabecasis_at_[hidden])
Date: 2005-09-02 13:27:17
Joao Abecasis wrote:
> Hi!
>
> Rene Rivera wrote:
>
>>Of course a contribution of a "CAT" builtin would be ideal ;-) (I might
>>do this myself next week if no one beats me to it.)
>
>
> I'm attaching an implementation for a "CAT" builtin.
>
> (Let me actually attach the files before I forget... done!)
>
> Attached you can find a diff to CVS jam sources, where the CAT builtin
> is defined, and two support files implementing memory mapped files in std C.
For the record, there are some bugs in the implementation I posted that
result in segmentation faults when catting inexistent or inaccessible
files and if allocation fails. I believe I have these fixed on my local
copy, together with some additional small changes and tweaks.
If there is interest in pursuing this direction I'll post the updated
version.
In the meantime comments are always welcome!
João Abecasis
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