dovecot-2.0: sdbox: Removed flock() check. It's not used by sdbox.

dovecot at dovecot.org dovecot at dovecot.org
Thu Jul 15 18:05:09 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/8af3e40dd614
changeset: 11824:8af3e40dd614
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Jul 15 16:05:05 2010 +0100
description:
sdbox: Removed flock() check. It's not used by sdbox.

diffstat:

 src/lib-storage/index/dbox-single/sdbox-storage.c |  7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diffs (17 lines):

diff -r 4138737f41e6 -r 8af3e40dd614 src/lib-storage/index/dbox-single/sdbox-storage.c
--- a/src/lib-storage/index/dbox-single/sdbox-storage.c	Thu Jul 15 15:28:32 2010 +0100
+++ b/src/lib-storage/index/dbox-single/sdbox-storage.c	Thu Jul 15 16:05:05 2010 +0100
@@ -32,13 +32,6 @@
 		     struct mail_namespace *ns ATTR_UNUSED,
 		     const char **error_r ATTR_UNUSED)
 {
-#ifndef HAVE_FLOCK
-	if (master_service_get_client_limit(master_service) > 1) {
-		*error_r = "sdbox requires client_limit=1 for service "
-			"since your OS doesn't support flock()";
-		return -1;
-	}
-#endif
 	return 0;
 }
 


More information about the dovecot-cvs mailing list