From jan@swi.psy.uva.nl Thu Sep 27 09:53:37 2001
Received: from gollem.swi.psy.uva.nl (root@gollem [145.18.152.30])
	by swi.psy.uva.nl (8.11.2/8.11.2) with ESMTP id f8R7rbv27024;
	Thu, 27 Sep 2001 09:53:37 +0200 (MET DST)
Received: from localhost (localhost [[UNIX: localhost]])
	by gollem.swi.psy.uva.nl (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) id f8R7rbL26090;
	Thu, 27 Sep 2001 09:53:37 +0200
From: Jan Wielemaker <jan@swi.psy.uva.nl>
Organization: SWI, University of Amsterdam
To: "Leonid V. Khramov" <leo@solvo.ru>,
   Prolog mailing list <prolog@swi.psy.uva.nl>
Subject: Re: [SWIPL] wait_for_input BUG! (fwd)
Date: Thu, 27 Sep 2001 09:48:13 +0200
X-Mailer: KMail [version 1.0.29.2]
Content-Type: text/plain
References: <Pine.LNX.4.21.0109261412510.20660-100000@condor.solvo.ru>
In-Reply-To: <Pine.LNX.4.21.0109261412510.20660-100000@condor.solvo.ru>
MIME-Version: 1.0
Message-Id: <01092709533701.25592@gollem>
Content-Transfer-Encoding: 8bit

On Wed, 26 Sep 2001, Leonid V. Khramov wrote:
>Can someone reply to my bug report???????????
>Or it is completely ignored!
>
>
>
>It seems, that there is a bug in wait_for_input/3.
>Prolog make buffering of stream include tcp stream and wait_for_input
>doesn't check that memory buffers, the result is continious waiting
>even when data is ready on stream (really inside the prolog buffer)!!!
>This is a bug.

I was away for a long time, happily cycling through Australia
(Melbourne was too far and too cold Richard :-).  Anyway, I'm back
and trying to work through the mail and fix important problems.
This one looked simple and important enough to fix quickly.

Please pick the file src/pl-file.c from the CVS server, recompile and
your problem should be gone.

Thanks for the report

	--- Jan

