On Wed Apr 23, 2003 at 18:58:43 +0300, Timo Sirainen wrote:
Anyway, I changed it now so that it fallbacks to non-fixed mmap() after 100 tries. mremap_anon() was also somewhat broken. I put 0.99.9-test7 to web page which fixes these and other stuff.
The define in fdpass.c has to be _AIX not just AIX.
In mail-index-open.c:289(mail_index_create_memory) you use a path variable which is undefined.
Now, with the filler still in, it works for an empty inbox. If a mailbox contains something (7 mails in this case), I get:
imap-login: Apr 23 16:22:16 Info: Login: xxx [x.x.x.x] imap(xxx): Apr 23 16:22:16 Error: Corrupted index data file HOME/Mail/f/.imap/sf1/.imap.index.data: Invalid location field for record 7
I deleted the .imap dirs before.
And for "default_mail_env = mbox:~/Mail:INDEX=MEMORY", I'm getting:
imap(xxx): Apr 23 16:16:54 Error: msync() failed with index file (in-memory index for HOME/Mail/f/sf1): Invalid argument
Adam
Adam adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/