[v3, 3.2 and 3.1] Fix replace regression wrt 2.95.x and 3.0.x
Mark Mitchell
mark@codesourcery.com
Fri Apr 26 11:03:00 GMT 2002
--On Friday, April 26, 2002 07:58:01 PM +0200 Paolo Carlini
<pcarlini@unitus.it> wrote:
> Benjamin Kosnik wrote:
>
>>> as I did already anticipate yesterday, the fix for
>>> __throw_length_error in basic_string::replace turns out to be quite
>>> critical, since not only tightens the check but avoid throwing in the
>>> /wrong/ situations. I have added therefore a testcase which represents
>>> a regression wrt 2.95.x and 3.0.x.
>>>
>>>
>> This is fine for mainline Paolo. For the branch, you'll probably have to
>> wait for 3.1.1, unless Mark approves. Right now, I think he's only
>> approving fixes to previously reported, GNATS bugs.
Well, I wish everything were in GNATS. But, I'm still approving patches
that fix *regressions*. So, this is OK.
Thanks to both.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Libstdc++
mailing list