The compressed size wasn't computed correctly (ignoring the chunk offset
table), resulting in invalid archives when storing files > 64 KB. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34058 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1296,6 +1296,6 @@ PackageWriter::_WriteZlibCompressedData(DataReader& dataReader, off_t size,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_compressedSize = writeOffset - dataOffset;
|
_compressedSize = writeOffset - offsetTableOffset;
|
||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user