Remy Maucherat wrote:
On Mon, 2008-04-07 at 22:47 +0000, [EMAIL PROTECTED] wrote:
Author: markt
Date: Mon Apr 7 15:47:54 2008
New Revision: 645722
URL: http://svn.apache.org/viewvc?rev=645722&view=rev
Log:
All of the issues I was seeing with mark/reset were due to states that
resulted in a call to CharChunk.flushBuffer().
I tried many different ways to fix it but by far the simplest was this
patch that just increases the size of the CharChunk internal buffer
when creating the mark sufficiently that flushBuffer() is never
called.
With this patch I can't break mark/reset with bug 44494's test case in
single or multibyte mode.
Oops, I had forgotten that part, there was indeed another problem with
that. Sorry.
No problem. I learned quite a bit digging around in that code ;)
If you can see a better way of fixing this then feel free to propose an
alternative patch.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]