[dovecot-cvs] dovecot/src/deliver duplicate.c,1.1.2.2,1.1.2.3

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


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

Modified Files:
      Tag: branch_1_0
	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.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- duplicate.c	26 Aug 2006 13:46:24 -0000	1.1.2.2
+++ duplicate.c	28 Dec 2006 16:27:41 -0000	1.1.2.3
@@ -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