This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libstdc++/9817: collate::compare doesn't handle nul characters.


Synopsis: collate::compare doesn't handle nul characters.

Responsible-Changed-From-To: unassigned->paolo
Responsible-Changed-By: paolo
Responsible-Changed-When: Sun Feb 23 13:36:24 2003
Responsible-Changed-Why:
    Working on it.
State-Changed-From-To: open->analyzed
State-Changed-By: paolo
State-Changed-When: Sun Feb 23 13:36:24 2003
State-Changed-Why:
    Confirmed. The reason is simple: compare is implemented in
    terms of strcoll (config/locale/*/collate_members.cc). The
    same can be said for transform (strxfrm). Instead, a driver
    should continue if necessary past any '\0' (basically 
    when the first hunk compares equal) and invoke repeatedly
    the underlying C functions. Will do...

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9817


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]