In my case the partition name is a zero length string but if I change it
then the output is correct.

This patch resolves the issue for me.

# diff -u parted-2.3/parted/parted.c parted-fixed/parted/parted.c
--- parted-2.3/parted/parted.c  2016-02-02 10:01:50.000000000 +0000
+++ parted-fixed/parted/parted.c        2016-02-02 09:56:31.116198000 +0000
@@ -1701,7 +1701,7 @@
                         putchar (':');

                     if (has_name)
-                        printf ("%s:", _(ped_partition_get_name (part)));
+                        printf ("%s:", ped_partition_get_name (part));
                     else
                         putchar (':');

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/559047

Title:
  "parted print" crash in en_GB.utf8  locale

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/559047/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to