Fixed spurious error message in FixParts.

This commit is contained in:
Roderick W. Smith
2014-02-17 12:07:02 -05:00
parent 5435fcf5c4
commit 22e88b5be2
3 changed files with 5 additions and 2 deletions

3
NEWS
View File

@@ -1,6 +1,9 @@
0.8.9 (??/??/2014): 0.8.9 (??/??/2014):
------------------- -------------------
- Fixed spurious "0xEE partition doesn't start on sector 1" warning in
FixParts (and perhaps in other programs under some circumstances).
- Added check for valid location of backup GPT data to GPT-destruction - Added check for valid location of backup GPT data to GPT-destruction
options ('z' in gdisk, -z and -Z options to sgdisk). If the backup options ('z' in gdisk, -z and -Z options to sgdisk). If the backup
GPT data structures aren't at the end of the disk, they aren't erased. GPT data structures aren't at the end of the disk, they aren't erased.

View File

@@ -726,7 +726,7 @@ int BasicMBRData::FindOverlaps(void) {
if (numEE > 1) if (numEE > 1)
cout << "\nCaution: More than one 0xEE MBR partition found. This can cause problems\n" cout << "\nCaution: More than one 0xEE MBR partition found. This can cause problems\n"
<< "in some OSes.\n"; << "in some OSes.\n";
if (!ProtectiveOnOne) if (!ProtectiveOnOne && (numEE > 0))
cout << "\nWarning: 0xEE partition doesn't start on sector 1. This can cause " cout << "\nWarning: 0xEE partition doesn't start on sector 1. This can cause "
<< "problems\nin some OSes.\n"; << "problems\nin some OSes.\n";

View File

@@ -8,7 +8,7 @@
#ifndef __GPTSUPPORT #ifndef __GPTSUPPORT
#define __GPTSUPPORT #define __GPTSUPPORT
#define GPTFDISK_VERSION "0.8.8.2" #define GPTFDISK_VERSION "0.8.8.4"
#if defined (__FreeBSD__) || defined (__FreeBSD_kernel__) || defined (__APPLE__) #if defined (__FreeBSD__) || defined (__FreeBSD_kernel__) || defined (__APPLE__)
// Darwin (Mac OS) & FreeBSD: disk IOCTLs are different, and there is no lseek64 // Darwin (Mac OS) & FreeBSD: disk IOCTLs are different, and there is no lseek64