Re: Memory fixes

Matthew Dempsky <[email protected]> Mon, 26 Jan 2004 11:24:54 +0100
Newsgroups gmane.lisp.scheme.pika.devel
Message-ID <[email protected]>
Tom Lord <lord-1tv/[email protected]> writes:

>     > From: Andreas Rottmann <[email protected]>
>
>     > I just did a little bit of valgrinding of eceval, and found two memory
>     > bugs. A fix for those is in pika-scm--integration--0.1--patch-1, in my
>     > Archive (http://yi.org/rotty/Software#gnuarch).
>
> Matthew should take that since the code it fixes hasn't been merged
> yet from his archive.

Yeah, I'm looking at the bugs he pointed out now... unfortunately the
lexer fix isn't as trivial a fix as he implemented it with -- it
breaks the test cases.  (It doesn't help that I recently refactored
the lexer a little bit and now notice there's an issue if a comment
gets split across two buffers.)

I see a few ugly methods that would work, but I'll take a bit of time
to see if I can come up with a nice fix first.

-jivera