[dovecot-cvs] dovecot/src/deliver duplicate.c,1.3,1.4

tss at dovecot.org tss at dovecot.org
Thu Dec 28 16:28:24 UTC 2006


Update of /var/lib/cvs/dovecot/src/deliver
In directory talvi:/tmp/cvs-serv32328/src/deliver

Modified Files:
	duplicate.c 
Log Message:
Added dotlock_use_excl setting.


Index: duplicate.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/deliver/duplicate.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- duplicate.c	26 Aug 2006 13:46:25 -0000	1.3
+++ duplicate.c	28 Dec 2006 16:28:21 -0000	1.4
@@ -9,6 +9,7 @@
 #include "hash.h"
 #include "duplicate.h"
 
+#include <stdlib.h>
 #include <fcntl.h>
 #include <unistd.h>
 
@@ -240,6 +241,8 @@
 
 void duplicate_init(void)
 {
+	duplicate_dotlock_set.use_excl_lock =
+		getenv("DOTLOCK_USE_EXCL") != NULL;
 }
 
 void duplicate_deinit(void)



More information about the dovecot-cvs mailing list