This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] Fix collate_members_char[wchar_t].cc
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: Ulrich Drepper <drepper at redhat dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Wed, 13 Mar 2002 23:25:02 +0100
- Subject: Re: [PATCH] Fix collate_members_char[wchar_t].cc
- References: <1016058133.6837.1076.camel@myware.mynet>
Ulrich Drepper wrote:
> Well, your change includes
>
> > > > - VERIFY(i1 == i2);
> > > > + VERIFY(i2 == 1);
>
> The original code is correct and according to what you just said it
> would work for you as well. So dump the change and use the original
> VERIFY.
Sorry. I think there is a misunderstanding. I cannot use the original VERIFY
because string::compare does /not/ normalize! (I don't have the standard here,
but, f.i., Josuttis, p. 511).
P.