Tar files created with cygwin fail checksum checks

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
squisher
Competition winner
Posts: 91
Joined: Sat May 17, 2008 2:23 am
Contact:

Tar files created with cygwin fail checksum checks

Post by squisher »

Hi,

I'm creating a tar in cygwin using ordinary parameters (tar cf file.tar file1 file2 ..), and the following function is failing to match the checksums:

Code: Select all

bool CArchiveLoaderTAR::isALoadableFileFormat(io::IReadFile* file) const
...
return checksum1 == checksum || checksum2 == (s32)checksum;
I've tried tarring with multiple formats (gnu, oldgnu, ustar, posix) to no avail. Let me know if I need to provide any more info.
Post Reply