git: gpt(8): Change utf8_to_utf16/utf16_to_utf8() to use 'char *'

Aaron LI aly at crater.dragonflybsd.org
Wed Feb 18 06:32:41 PST 2026


commit 92427183b45ce76fdcb970bdaca2825da0c90836
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Jan 21 14:56:32 2026 +0800

    gpt(8): Change utf8_to_utf16/utf16_to_utf8() to use 'char *'
    
    Use 'char *' instead of 'uint8_t *' for NUL-terminated UTF-8 strings,
    making it easier for callers.

Summary of changes:
 sbin/gpt/gpt.c   | 36 +++++++++++++++++++-----------------
 sbin/gpt/gpt.h   |  4 ++--
 sbin/gpt/label.c |  2 +-
 sbin/gpt/show.c  |  4 ++--
 4 files changed, 24 insertions(+), 22 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/92427183b45ce76fdcb970bdaca2825da0c90836


-- 
DragonFly BSD source repository


More information about the Commits mailing list