This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [RFC] collate_members_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: Sun, 10 Mar 2002 00:07:29 +0100
- Subject: Re: [RFC] collate_members_wchar_t.cc
- References: <1015714132.6837.652.camel@myware.mynet>
Ulrich Drepper wrote:
> I'd suggest that you try to single step into the wcscoll call. Maybe
> after linking the test program statically. Of course only if you have
> the glibc sources. See whether the collation happens or whether simple
> wcscmp is called.
Thanks.
Definitely it happens. If I put a break point in r = wcscoll (L"Äuglein",
L"Augment"); then I step into it, I get to strcoll.c:65, then nrules becomes ==
4 and the if (nrules == 0) return STRCMP (s1, s2); at line 103 is false.
Perhaps I can send you privately the statically linked testcase??
Paolo.