OSDN Git Service

In wc, replace mbrtowc() with new utf8towc() which doesn't have a context struct
authorRob Landley <rob@landley.net>
Sat, 2 Sep 2017 23:15:09 +0000 (18:15 -0500)
committerRob Landley <rob@landley.net>
Sat, 2 Sep 2017 23:15:09 +0000 (18:15 -0500)
commit67ddade3373d0fefeff25b48430e5f08c3a7711b
treeead8c34b2a28655eef456b0afa104a438cae2a02
parentbebf14cc298eb41d8e5c245e3800aea69ecca08c
In wc, replace mbrtowc() with new utf8towc() which doesn't have a context struct
or care about locale.
lib/lib.h
lib/linestack.c
toys/posix/wc.c