[dovecot-cvs] dovecot/src/lib-index mail-index.h,1.51,1.52

cras at procontrol.fi cras at procontrol.fi
Thu Nov 21 22:13:34 EET 2002


Update of /home/cvs/dovecot/src/lib-index
In directory danu:/tmp/cvs-serv16852/src/lib-index

Modified Files:
	mail-index.h 
Log Message:
Added mbox lock settings to config file. Support timeouting fcntl() and
flock() locks. Plus before the fcntl/flocks weren't even set.



Index: mail-index.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-index.h,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- mail-index.h	4 Nov 2002 06:20:35 -0000	1.51
+++ mail-index.h	21 Nov 2002 20:13:32 -0000	1.52
@@ -333,6 +333,8 @@
 	int mbox_fd;
 	IBuffer *mbox_inbuf;
 	MailLockType mbox_lock_type;
+	dev_t mbox_dotlock_dev;
+	ino_t mbox_dotlock_ino;
 
 	/* these counters can be used to check that we've synced the mailbox
 	   after locking it */
@@ -374,7 +376,7 @@
 	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
 	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
 	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
-	0, 0, 0, 0
+	0, 0, 0, 0, 0, 0
 
 /* defaults - same as above but prefixed with mail_index_. */
 int mail_index_open(MailIndex *index, int update_recent, int fast);




More information about the dovecot-cvs mailing list