[dovecot-cvs] dovecot/src/lib-index mail-index.h,1.66,1.67

cras at procontrol.fi cras at procontrol.fi
Wed Feb 12 14:07:53 EET 2003


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

Modified Files:
	mail-index.h 
Log Message:
Locking code cleanups and small fixes



Index: mail-index.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-index.h,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- mail-index.h	27 Jan 2003 01:59:59 -0000	1.66
+++ mail-index.h	12 Feb 2003 12:07:51 -0000	1.67
@@ -1,6 +1,7 @@
 #ifndef __MAIL_INDEX_H
 #define __MAIL_INDEX_H
 
+#include "file-dotlock.h"
 #include "message-parser.h"
 #include "imap-util.h"
 
@@ -367,8 +368,7 @@
 	int mbox_fd;
 	struct istream *mbox_stream;
 	enum mail_lock_type mbox_lock_type;
-	dev_t mbox_dotlock_dev;
-	ino_t mbox_dotlock_ino;
+	struct dotlock mbox_dotlock;
 
 	/* these counters can be used to check that we've synced the mailbox
 	   after locking it */
@@ -420,7 +420,7 @@
    members.. */
 #define MAIL_INDEX_PRIVATE_FILL \
 	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, 0, \
 	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
 	0, 0




More information about the dovecot-cvs mailing list