diff options
-rw-r--r-- | CHANGELOG | 7 | ||||
-rw-r--r-- | bsd.cc | 6 | ||||
-rw-r--r-- | bsd.h | 2 |
3 files changed, 13 insertions, 2 deletions
@@ -1,4 +1,9 @@ -0.6.0 (1/??/2009): +0.6.1 (1/??/2009): +------------------ + +- Fixed bug that caused BSD disklabel conversion to not work. + +0.6.0 (1/15/2009): ------------------ - Fixed bug that caused the convert to MBR function to fail. @@ -201,6 +201,12 @@ int BSDData::ShowState(void) { return retval; } // BSDData::ShowState() +// Weirdly, this function has stopped working when defined inline, +// but it's OK here.... +int BSDData::IsDisklabel(void) { + return (state == bsd); +} // BSDData::IsDiskLabel() + // Returns the BSD table's partition type code uint8_t BSDData::GetType(int i) { uint8_t retval = 0; // 0 = "unused" @@ -72,7 +72,7 @@ class BSDData { void ReverseMetaBytes(void); void DisplayBSDData(void); int ShowState(void); // returns 1 if BSD disklabel detected - int IsDisklabel(void) {return (state == bsd);} + int IsDisklabel(void); // Functions to extract data on specific partitions.... uint8_t GetType(int i); |