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:
parent
7f03bc34fe
commit
51e49965a7
@ -1296,6 +1296,6 @@ PackageWriter::_WriteZlibCompressedData(DataReader& dataReader, off_t size,
|
||||
}
|
||||
}
|
||||
|
||||
_compressedSize = writeOffset - dataOffset;
|
||||
_compressedSize = writeOffset - offsetTableOffset;
|
||||
return B_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user