]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: gpt: properly encode string on rename
authorVaclav Dolezal <vdolezal@redhat.com>
Wed, 20 Sep 2017 13:50:37 +0000 (15:50 +0200)
committerVaclav Dolezal <vdolezal@redhat.com>
Mon, 18 Dec 2017 15:17:49 +0000 (16:17 +0100)
commit5be3df4afd7adf8b71edee18625d6e35b23a6152
treea926a48006f49acb4d68b62a5779cf7d7bcff19b
parentded09e8ed60d031ad3963dccc1c71800f1d539e1
libfdisk: gpt: properly encode string on rename

GPT partition name entry should be recorded as little endian UCS2, so I have
written proper conversion (assuming UTF8 input).

Signed-off-by: Vaclav Dolezal <vdolezal@redhat.com>
libfdisk/src/gpt.c