* added a PrintToStream() method

* added optional tracing for the main operations
* fixed bad pointer arithmetic when reallocating/moving the object's data
* it was impossible to remove the very first space via _RemoveSpaces()
* added a little more variaty to error return codes for some
  functions to make them a little more helpful

-> This fixes the bogus space values in DriveSetup (#1737)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23824 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2008-02-02 12:38:15 +00:00
parent f033aee165
commit 96418817f9
2 changed files with 69 additions and 6 deletions
@@ -28,6 +28,7 @@ public:
off_t* offset, off_t*size) const;
int32 CountPartitionableSpaces() const;
void PrintToStream() const;
private:
status_t _InsertSpaces(int32 index, int32 count);
void _RemoveSpaces(int32 index, int32 count);