OSDN Git Service

Tweak utf8towc() to return -1 earlier sometimes (instead of -2), and add test
authorRob Landley <rob@landley.net>
Tue, 5 Sep 2017 07:36:24 +0000 (02:36 -0500)
committerRob Landley <rob@landley.net>
Tue, 5 Sep 2017 07:36:24 +0000 (02:36 -0500)
commitb3e70932b6534e603b03d28c45133b8f991f48fe
treeda3eff855103f5efd8ae82302bcd8b941c3611c7
parent6e766936396e2da7fb3820cadb3a9ae823caa9a8
Tweak utf8towc() to return -1 earlier sometimes (instead of -2), and add test
program to compare against libc output.
lib/lib.c
toys/example/test_utf8towc.c [new file with mode: 0644]