When posting with yenc encoding, the downloaded files
generate the following messages by pan when being decoded:
** WARNING **: Checksum for
`/export/home/mjfrazer/News/Pan/wtc-photo.r05' failed -
file may be corrupt
However the file is fine. Is ypost not computing the
CRC correctly? I have never seen this message from a
post from another posting agent.
thanks
Logged In: YES
user_id=364322
John, you are the ypost man... any thoughts? Also, check
out the patch that is on the site.
This bug is caused by g++ compilation under 64bits systems. The long used to store the CRC32 is expected by the author to be 32bits, which it isn't at least under AMD64 (long is 64bits for g++) and you get this kind of errors:
CRC mismatch 45946B75 != FFFFFFFF45946B75
I changed the long to an int in yenc.h.
This fixed the problem.
30c30
< long m_crc_val, m_wholeFileCrc;
---
> int m_crc_val, m_wholeFileCrc;