Subject: Re: [boost] [Interprocess] Possible bug in shared memory on FreeBSD 8.0
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2009-08-11 13:40:58
Manish Vachharajani escribió:
>> You are lucky because right now I'm working on Interprocess, that's why
>> changes are happening so fast. This will change tomorrow, because I have
>> other pending tasks, so let's do the work ;-)
> Ok, sounds good to me :)
>> I've uploaded to trunk a change I've done to remove the call to
>> write_whole_device, which called ::lseek and ::write and it's only needed in
>> windows, since truncation in windows does not zero fill the memory if the
>> new size is bigger. Can you test it?
> Works for me under 8.0 on my small test code. Minor bug on 7.2, the
> test in workaround.hpp should be (__FreeBSD__ < 8), not >=8.
> Otherwise, on 7.2 we don't use the filesystem based naming and things
> break. It seems we'd want the opposite, filesystem naming on anything
> less than 8, no filesystem naming on anything greater.
Yes, I realized after committing ;-) changed now in trunk.
> I'll let you know if it works in the main code in which I use this
> stuff later today, after I patch the changes you've made into our
> production version of boost. Do you know if this stuff will make it
> into boost 1.40.0 or is it too late for that?
If you reply ASAP (tomorrow?) and trunk test are ok, I'll commit it for
1.40 if the release manager agrees.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk