[dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-uidlist.c, 1.56, 1.57

tss at dovecot.org tss at dovecot.org
Thu Dec 28 23:21:08 UTC 2006


Update of /var/lib/cvs/dovecot/src/lib-storage/index/maildir
In directory talvi:/tmp/cvs-serv11755/lib-storage/index/maildir

Modified Files:
	maildir-uidlist.c 
Log Message:
debug: MEMPOOL_GROWING prefix in alloconly pool names means that when 
the memory pool needs to be grown, there's no need to log a warning.


Index: maildir-uidlist.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/maildir/maildir-uidlist.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- maildir-uidlist.c	28 Dec 2006 16:51:17 -0000	1.56
+++ maildir-uidlist.c	28 Dec 2006 23:21:06 -0000	1.57
@@ -302,7 +302,8 @@
 
 	if (uidlist->record_pool == NULL) {
 		uidlist->record_pool =
-			pool_alloconly_create("uidlist record_pool",
+			pool_alloconly_create(MEMPOOL_GROWING
+					      "uidlist record_pool",
 					      nearest_power(st.st_size -
 							    st.st_size/8));
 	}
@@ -684,8 +685,8 @@
 		return 1;
 	}
 
-	ctx->record_pool =
-		pool_alloconly_create("maildir_uidlist_sync", 16384);
+	ctx->record_pool = pool_alloconly_create(MEMPOOL_GROWING
+						 "maildir_uidlist_sync", 16384);
 	ctx->files = hash_create(default_pool, ctx->record_pool, 4096,
 				 maildir_hash, maildir_cmp);
 
@@ -716,7 +717,8 @@
 
 		if (uidlist->record_pool == NULL) {
 			uidlist->record_pool =
-				pool_alloconly_create("uidlist record_pool",
+				pool_alloconly_create(MEMPOOL_GROWING
+						      "uidlist record_pool",
 						      1024);
 		}
 



More information about the dovecot-cvs mailing list