~ubuntu-branches/ubuntu/utopic/gdisk/utopic-proposed

« back to all changes in this revision

Viewing changes to gptpart.cc

  • Committer: Package Import Robot
  • Author(s): Guillaume Delacour
  • Date: 2012-03-21 23:18:43 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20120321231843-0uep1rjni0ajtsda
Tags: 0.8.2-1
* New upstream release
* debian/patches/manpages.diff:
  + Edit header with DEP3 format
  + Refresh original patch (as version has changed in the manpage)
  + Add an escape on single quote
  + Fix a minor typo (Closes: #651379)
* debian/patches/eof_stdin.diff: avoid infinite loop when ^D in gdisk,
  thanks Gianluigi Tiesi (Closes: #660815)
* debian/control:
  + Remove unnecessary "for" in long description
  (Closes: #644537)
  + Update Depends on debhelper v9
  + Bump to Standards-Version 3.9.3 (no changes needed)
* debian/compat: Update compat to version 9
* debian/copyright: Update url format

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
 
91
91
// Return 1 if the partition is in use
92
92
int GPTPart::IsUsed(void) {
93
 
   return (firstLBA != UINT64_C(0));
 
93
   return (partitionType != GUIDData("0x00"));
 
94
//   return (firstLBA != UINT64_C(0));
94
95
} // GPTPart::IsUsed()
95
96
 
96
97
// Set the type code to the specified one. Also changes the partition