ce6563fae4
- Add libparted function to query maximum partition length and start addresses for a given disk (#533417) - Add per disk flags functions from upstream, this is the way upstream has implemented the disable cylinder alignment functionality - Add --align cmdline option to specify how to align new partitions see the parted man page for details (#361951) - Make the default alignment for new partitions optimal (#361951) - When cylinder alignment is disabled, allow use of the last (incomplete) cylinder of the disk (#533328) - Don't crash when printing partition tables in Russian (#543029) - Make parted work correctly with new lvm (#525095)
13 lines
570 B
Diff
13 lines
570 B
Diff
diff -up parted-1.9.0/parted/parted.c.ru parted-1.9.0/parted/parted.c
|
|
--- parted-1.9.0/parted/parted.c.ru 2009-12-17 10:32:41.000000000 +0100
|
|
+++ parted-1.9.0/parted/parted.c 2009-12-17 10:32:01.000000000 +0100
|
|
@@ -1227,7 +1227,7 @@ partition_print_flags (PedPartition* par
|
|
ped_realloc (&_res, strlen (res) + 1
|
|
+ strlen (name));
|
|
res = _res;
|
|
- strncat (res, name, 21);
|
|
+ strcat (res, name);
|
|
}
|
|
}
|
|
|