OSDN Git Service

Change output buffer size semantics for UTF functions.
authorrelan <relan@users.noreply.github.com>
Tue, 20 Dec 2016 08:26:52 +0000 (11:26 +0300)
committerrelan <relan@users.noreply.github.com>
Mon, 26 Dec 2016 07:01:18 +0000 (10:01 +0300)
commit758e96d2be3b4ca302a3169454e39028edac58a0
tree7c661041def22bcaa5dcce83a09a4e8026ae55aa
parente62b9699508e26f3865918bb75bef199cb5627df
Change output buffer size semantics for UTF functions.

Make them consistent with other string functions: now output buffer size
includes potential null terminator, i.e. this is total size. This change
also means that if output buffer isn't large enough it can be left
unterminated (indicated by the -ENAMETOOLONG return value).
libexfat/exfat.h
libexfat/lookup.c
libexfat/node.c
libexfat/utf.c
libexfat/utils.c
mkfs/main.c