[dovecot-cvs] dovecot/src/master master-settings.c,1.90,1.91

cras at dovecot.org cras at dovecot.org
Tue Oct 4 00:23:26 EEST 2005


Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv7036/src/master

Modified Files:
	master-settings.c 
Log Message:
Default lock_method to flock instead of fcntl. This is at least useful for
not allowing Dovecot's indexes to be used accidentally with wrong settings
in NFS mounted partitions.



Index: master-settings.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/master-settings.c,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -d -r1.90 -r1.91
--- master-settings.c	1 Oct 2005 10:52:16 -0000	1.90
+++ master-settings.c	3 Oct 2005 21:23:24 -0000	1.91
@@ -299,7 +299,7 @@
 #else
 	MEMBER(mmap_no_write) FALSE,
 #endif
-	MEMBER(lock_method) "fcntl",
+	MEMBER(lock_method) "flock",
 	MEMBER(maildir_stat_dirs) FALSE,
 	MEMBER(maildir_copy_with_hardlinks) FALSE,
 	MEMBER(mbox_read_locks) "fcntl",



More information about the dovecot-cvs mailing list