[kaffe] Problem with BufferedInputStream [patch]

Mark Wielaard mark@klomp.org
Sat Jun 7 04:37:01 2003


Hi,

> On Thu, 2003-06-05 at 17:54, Mark Wielaard wrote:
> > On Thu, 2003-06-05 at 15:48, Helmer Kr=E4mer wrote:
> > > So I would not completely remove the loop, but rather replace it with
> > > something like "do {} while (len>0 && available()>0)"; dunno whether
> > > that's really more correct, though...
> [...]
> But I did try it out and the attached patch does what you suggest. Makes
> the simple ReadLineTest and Snark work correctly and doesn't introduce
> Mauve or make check regressions.

Since 1.1 is going to be released any day now I would really like this
or my original patch go in. It solves the BufferedReader.readLine()
problem which is the only thing that prevents my application from
running nicely on Kaffe.

Cheers,

Mark