[Dovecot] fallocate and glibc 2.10
Paul Howarth
paul at city-fan.org
Fri Oct 22 21:22:45 EEST 2010
In glibc 2.10 (32 bit) fallocate() exists but fallocate64() doesn't.
When _FILE_OFFSET_BITS==64, fallocate() is a redirect to fallocate64()
and the program can't be linked (fails to find symbol fallocate64).
See http://bugzilla.redhat.com/500487
Attached patch detects fallocate() more robustly to guard against this
problem.
Cheers, Paul.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dovecot-2.0-fallocate64.patch
Type: text/x-patch
Size: 2343 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20101022/75ad74d6/attachment.bin
More information about the dovecot
mailing list