Boost logo

Boost :

Subject: [boost] [iostreams] Fix for restrict/slice
From: Daniel James (daniel_james_at_[hidden])
Date: 2009-12-07 14:48:13


I don't want to merge the new iostreams changes until the unit test
results are looking better. So I had a go at fixing restrict_test and
slice_test. It would be really helpful if someone more familiar with
the library than I am check this. There are two changes, the first is
just to fix a problem with running the tests (which I suspect is why
the test failure wasn't noticed before). The second one is the one
that matters. It look like that when a write to a restricted/sliced
stream goes past the end of the restricted area it wasn't writing the
last part of the data, so I've tried to fix that. The change is here:

If it's wrong, I'll revert it. I know little about the library, so I'd
appreciate any help here.



Boost list run by bdawes at, gregod at, cpdaniel at, john at