[dovecot-cvs] dovecot/src/lib-imap imap-bodystructure.c,1.45,1.46
imap-envelope.c,1.31,1.32 imap-quote.c,1.16,1.17
cras at procontrol.fi
cras at procontrol.fi
Sun Sep 21 20:21:39 EEST 2003
- Previous message: [dovecot-cvs] dovecot/src/lib-charset charset-utf8.c,1.10,1.11
- Next message: [dovecot-cvs] dovecot/src/lib mempool-unsafe-datastack.c,NONE,1.1
Makefile.am,1.33,1.34 mempool-alloconly.c,1.24,1.25
mempool-datastack.c,1.9,1.10 mempool-system.c,1.13,1.14
mempool.h,1.11,1.12 str.c,1.11,1.12 strfuncs.c,1.32,1.33
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/lib-imap
In directory danu:/tmp/cvs-serv17131/lib-imap
Modified Files:
imap-bodystructure.c imap-envelope.c imap-quote.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: imap-bodystructure.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-imap/imap-bodystructure.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- imap-bodystructure.c 20 Aug 2003 02:51:06 -0000 1.45
+++ imap-bodystructure.c 21 Sep 2003 16:21:37 -0000 1.46
@@ -658,7 +658,8 @@
len = strlen(bodystructure);
str = t_str_new(len);
- input = i_stream_create_from_data(data_stack_pool, bodystructure, len);
+ input = i_stream_create_from_data(pool_datastack_create(),
+ bodystructure, len);
(void)i_stream_read(input);
parser = imap_parser_create(input, NULL, (size_t)-1);
Index: imap-envelope.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-imap/imap-envelope.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- imap-envelope.c 6 Aug 2003 20:15:31 -0000 1.31
+++ imap-envelope.c 21 Sep 2003 16:21:37 -0000 1.32
@@ -380,7 +380,7 @@
i_assert(field < IMAP_ENVELOPE_FIELDS);
- input = i_stream_create_from_data(data_stack_pool, envelope,
+ input = i_stream_create_from_data(pool_datastack_create(), envelope,
strlen(envelope));
parser = imap_parser_create(input, NULL, (size_t)-1);
Index: imap-quote.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-imap/imap-quote.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- imap-quote.c 23 Jun 2003 18:22:48 -0000 1.16
+++ imap-quote.c 21 Sep 2003 16:21:37 -0000 1.17
@@ -91,8 +91,6 @@
string_t *str;
char *ret;
- i_assert(pool != data_stack_pool);
-
if (value == NULL)
return "NIL";
- Previous message: [dovecot-cvs] dovecot/src/lib-charset charset-utf8.c,1.10,1.11
- Next message: [dovecot-cvs] dovecot/src/lib mempool-unsafe-datastack.c,NONE,1.1
Makefile.am,1.33,1.34 mempool-alloconly.c,1.24,1.25
mempool-datastack.c,1.9,1.10 mempool-system.c,1.13,1.14
mempool.h,1.11,1.12 str.c,1.11,1.12 strfuncs.c,1.32,1.33
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list