OSDN Git Service

put the maximum sector checks in pt-tools.c
authorJoel Granados Moreno <jgranado@redhat.com>
Mon, 18 May 2009 15:37:44 +0000 (17:37 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 24 Jul 2009 13:04:43 +0000 (15:04 +0200)
commit7ba8862bf7b6c73666770777792100a1680accf7
tree495e981f429fd0b54ba76ef3e18eda9ed3a8423b
parentf387fee8be8f6d5cba90555462e5ec0b88400c38
put the maximum sector checks in pt-tools.c

* libparted/labels/dos.c (msdos_partition_check): Use new
ptt_partition_max_start_len function to test for len and start maxs.
* libparted/labels/dvh.c (msdos_partition_check): Likewise.
* libparted/labels/pt-tools.c (ptt_partition_max_start_len):
New function.
* libparted/labels/pt-tools.h: Likewise.
* po/POTFILES.in: Add pt-tools.c to the translation list.
libparted/labels/dos.c
libparted/labels/dvh.c
libparted/labels/pt-tools.c
libparted/labels/pt-tools.h
po/POTFILES.in