Opened 7 years ago
#378 new defect
wmemcmp() fails to compare sub-string
Reported by: | KO Myung-Hun | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | new |
Component: | libc | Version: | 0.6.6 |
Severity: | normal | Keywords: | |
Cc: |
Description
Hi/2.
As a subject, wmemcmp() fails. For example,
wmemcmp(L"Hello", L"Hello, world!", 5);
does not return 0.
See the simple testcase at https://github.com/komh/klibctest/blob/master/str/wmemcmp-1.c.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
Patch for wmemcmp()