Opened 22 months ago

#378 new defect

wmemcmp() fails to compare sub-string

Reported by: komh 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 komh 22 months ago.
Patch for wmemcmp()

Download all attachments as: .zip

Change History (1)

Changed 22 months ago by komh

Patch for wmemcmp()

Note: See TracTickets for help on using tickets.