--- Dalibor Topic <[EMAIL PROTECTED]> wrote:
> Hi Mark,
>
> --- Mark Wielaard <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > > On Thu, 2003-06-05 at 17:54, Mark Wielaard wrote:
> > > > On Thu, 2003-06-05 at 15:48, Helmer Krämer wrote:
> > > > > So I would not completely remove the loop, but rather r
Hi Mark,
--- Mark Wielaard <[EMAIL PROTECTED]> wrote:
> Hi,
>
> > On Thu, 2003-06-05 at 17:54, Mark Wielaard wrote:
> > > On Thu, 2003-06-05 at 15:48, Helmer Krämer wrote:
> > > > So I would not completely remove the loop, but rather replace it with
> > > > something like "do {} while (len>0 && a
Hi,
> On Thu, 2003-06-05 at 17:54, Mark Wielaard wrote:
> > On Thu, 2003-06-05 at 15:48, Helmer Krämer 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, tho
Hi,
On Thu, 2003-06-05 at 17:54, Mark Wielaard wrote:
> On Thu, 2003-06-05 at 15:48, Helmer Krämer 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...
> >
Hi,
On Thu, 2003-06-05 at 15:48, Helmer Krämer wrote:
> Just some minor comments, though. If I understand the spec correctly,
> BufferedInputStream.read() should block until data is available and
> read as much of it as possible afterwards (either until the destination
> buffer is full or until fu
On 05 Jun 2003 14:41:41 +0200
Mark Wielaard <[EMAIL PROTECTED]> wrote:
Hi Mark,
> The attached patch removes the while (len > 0) construct which makes the
> above program (and The Hunting of the Snark Project) work correctly.
>
> Mauve and make check results do not show regressions with this cha
Hi,
I tried to get my java bittorrent project (http://www.klomp.org/snark/),
working with kaffe and found a problem with BufferedInputStream. The
code contains the following construct (simplified, the real code uses a
Socket InputStream):
public class ReadLineTest
{
public static void main(Stri