[dovecot-cvs] dovecot/src/lib-storage mail-search.c,1.13,1.14

cras at procontrol.fi cras at procontrol.fi
Sun Sep 21 20:21:40 EEST 2003


Update of /home/cvs/dovecot/src/lib-storage
In directory danu:/tmp/cvs-serv17131/lib-storage

Modified Files:
	mail-search.c 
Log Message:
data_stack_pool split into two: unsafe_data_stack_pool which works like
before, and a new one which verifies that stack frame stays the same
whenever the pool is accessed.



Index: mail-search.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/mail-search.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- mail-search.c	6 Aug 2003 20:15:32 -0000	1.13
+++ mail-search.c	21 Sep 2003 16:21:37 -0000	1.14
@@ -151,7 +151,8 @@
 
 	*have_headers = *have_body = have_text = FALSE;
 
-	headers = buffer_create_dynamic(data_stack_pool, 128, (size_t)-1);
+	headers = buffer_create_dynamic(pool_datastack_create(),
+					128, (size_t)-1);
 	for (; args != NULL; args = args->next) {
 		search_arg_analyze(args, headers, have_headers,
 				   have_body, &have_text);



More information about the dovecot-cvs mailing list