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)

wmemcmp.diff (482 bytes ) - added by KO Myung-Hun 7 years ago.
Patch for wmemcmp()

Download all attachments as: .zip

Change History (1)

by KO Myung-Hun, 7 years ago

Attachment: wmemcmp.diff added

Patch for wmemcmp()

Note: See TracTickets for help on using tickets.