Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib-index/mbox/Makefile.am @ 521:83da62e0675a HEAD
mbox locking fixes / changes. we now read-lock the mbox file before syncing
so we can be sure no-one corrupts our reads by expunging mailbox. mbox file
is kept open all the time, but re-opened when device/inode for file has
changed (ie. someone overwrote it). File is also kept mmap()ed until lock is
dropped.
we currently create .lock file even when reading the file (ie. being
effectively write-lock), but that'll be made configurable later.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 26 Oct 2002 22:38:37 +0300 |
parents | ff05b320482c |
children | 314a91d2761f |
line wrap: on
line source
noinst_LIBRARIES = libstorage_index_mbox.a INCLUDES = \ -I$(top_srcdir)/src/lib \ -I$(top_srcdir)/src/lib-mail \ -I$(top_srcdir)/src/lib-imap \ -I$(top_srcdir)/src/lib-index libstorage_index_mbox_a_SOURCES = \ mbox-append.c \ mbox-from.c \ mbox-index.c \ mbox-lock.c \ mbox-open.c \ mbox-rebuild.c \ mbox-rewrite.c \ mbox-sync.c \ mbox-sync-full.c noinst_HEADERS = \ mbox-index.h \ mbox-lock.h