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

Aaron LI aly at crater.dragonflybsd.org
Sat Feb 21 17:07:06 PST 2026


commit b517f3fcb634858874bfc85db552ac9d267e3ce5
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/b517f3fcb634858874bfc85db552ac9d267e3ce5


-- 
DragonFly BSD source repository


More information about the Commits mailing list