OutputFile::unset_extent(); endianness in Mach_fat_* and PackMachBase::b_info

This commit is contained in:
John Reiser
2007-02-06 13:11:31 -08:00
parent 42d69bd0e5
commit 4cb57d9059
4 changed files with 42 additions and 25 deletions
+2 -3
View File
@@ -407,11 +407,10 @@ void OutputFile::set_extent(off_t offset, off_t length)
}
}
off_t OutputFile::clear_offset()
off_t OutputFile::unset_extent()
{
_offset = 0;
::lseek(_fd, 0, SEEK_END);
_length = tell();
_length = ::lseek(_fd, 0, SEEK_END);
return _length;
}