commit | 9012d79cf0c760eb69d54163ee5152c1b504f7aa | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Sep 15 09:00:02 2021 +0200 |
committer | Gabriel Krisman Bertazi <krisman@collabora.com> | Mon Oct 11 17:01:54 2021 -0300 |
tree | a8e422d8e8a21ab0d0329443ce9eee564c3c8195 | |
parent | 379210db489c562cd40e9913067149869245a1a0 [diff] |
unicode: simplify utf8len Just use the utf8nlen implementation with a (size_t)-1 len argument, similar to utf8_lookup. Also move the function to utf8-selftest.c, as it isn't used anywhere else. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>