On 21.8.2012, at 13.10, Andre Gröbe wrote: > [t...@iki.fi; Mo 20 Aug 2012 20:22:58 CEST] >>> Is there a fix so dovecot reads a line until EOL or EOF (if this is the >>> real reason)? >> >> Without having actually looked at the code, I'd guess you can just replace >> IO_BLOCK_SIZE > > with (size_t)-1. > > Unfortunatly this can't be a fix because in file_set_size() dovecot defines > an array 'char block[IO_BLOCK_SIZE]'. On the other hand the default block > size is predestined for file ops.
Does the attached patch fix it? (not a very good fix)
diff
Description: Binary data