This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: basic_string<>::_M_mutate - updated patch
> 1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
>
> * bits/string.tcc: New implementation and interface of _M_mutate.
> Adapt the change in all functions that call _M_mutate.
> * bits/basic_string.h:
> And here.
Having problems applying the patch, just FYI:
% patch < p.bstring1
patching file `basic_string.h'
Hunk #1 FAILED at 274.
Hunk #2 FAILED at 390.
2 out of 2 hunks FAILED -- saving rejects to basic_string.h.rej
patching file `string.tcc'
Hunk #1 FAILED at 242.
Hunk #2 FAILED at 249.
Hunk #3 FAILED at 291.
Hunk #4 FAILED at 431.
Hunk #5 FAILED at 459.
5 out of 5 hunks FAILED -- saving rejects to string.tcc.rej
But the manually patched code seems fine, passes all the string tests, and so I'll check it in within the next two hours
unless somebody (Nathan) has other problems.
> basic_string<>::_S_copy_chars for _CharT*, iterator and const_iterator,
> that I sent some weeks ago, is still not installed.
...because you have not justified it's necessity. If you can, please post a testcase.
-Benjamin