[Dovecot] 1.2.6 Spurious pread()/stream errors/index corruption

Timo Sirainen tss at iki.fi
Thu Oct 15 20:38:22 EEST 2009


On Thu, 2009-10-15 at 10:06 +0100, Paul Freeman wrote:
> (some previous posts indicated this might be todo with 64bit file offsets
> so we've played around with disable-largefile and setting _FILE_OFFSET_BITS
> manually but without any success)

If your OS is 64bit, you can't disable 64bit file offsets. But yes, your
problems clearly points to pread() being broken for some reason. The
easiest way to see if that's the only thing broken is to comment out
HAVE_PREAD from config.h after configure and recompile.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20091015/08b31bdb/attachment.bin 


More information about the dovecot mailing list