Aaron Stone wrote:
Paul J Stevens <[EMAIL PROTECTED]> said:
Aaron Stone wrote:
I thought Glib had a memory pool API, but it doesn't look like it :-\
GLib does have a memorypool which is explicitely used for GLists. It's
called GMemChunk.
Yeah, I looked at that, but maybe not long enough. I'll re-read the docs.
[snip]
The problem is with the way dbmail-imapsession constructs GLists of to
build the imap response strings.
It all comes down to the fact that dbmail-imap code-cleanup is not as
finished as would like it to be. It doesn't get rid of the internal
mimeparser nor the internal list implementation.
I have a feeling that getting rid of dbmail_list should be
straightforward, just a lot of manually reading a few lines then replacing
with a GList, no?
Leif wrote a nice implementation of list.c which uses GList. I've had two tries going over the code adapting
all the list_XX calls. Pretty straightforward stuff. Doable without much ado. Unlike mime.c...
I guess that with the recent stack corruption from list.c it's time to make an issue out of it. I'll give it
another go.
--
________________________________________________________________
Paul Stevens mailto:[EMAIL PROTECTED]
NET FACILITIES GROUP PGP: finger [EMAIL PROTECTED]
The Netherlands________________________________http://www.nfg.nl