[parted-devel] [PATCH] GPT strings are UCS-2LE not UTF-16
Brian C. Lane
bcl at redhat.com
Fri May 16 21:43:46 UTC 2014
On Fri, May 16, 2014 at 11:56:02AM -0700, Brian C. Lane wrote:
> There was a problem using UTF-16, it was writing the Byte Order Mark
> before the string which caused problems with older versions of parted
> reading the partition name. The test was skipping these 2 bytes when
> checking the written string.
>
> * libparted/labels/gpt.c: Switch to UCS-2LE for GPT Partition names
> * tests/t0251-gpt-unicode.sh: Update the test
> ---
> libparted/labels/gpt.c | 4 ++--
> tests/t0251-gpt-unicode.sh | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
Scratch this, it doesn't work on ppc64.
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
More information about the parted-devel
mailing list