Bug ID: 1046653 - input prompt appearing when it should not.
Subject: Bug ID: 1046653 - input prompt appearing when it should not.
From: Dieter Kaiser
Date: Mon, 19 Apr 2010 23:42:53 +0200
Am Sonntag, den 18.04.2010, 14:41 -0700 schrieb Steve Haflich:
> Dieter Kaiser <drdieterkaiser at web.de> wrote:
>
> I think the test (output-stream-p *standard-input*) does not make sense.
>
> Yes, it does. It is testing the _value_ of the special variable
> *standard-input*. Remember, the same bidirectional stream might in some
> implementations be the initial value of *standard-input*,
> *standard-output*, *trace-output*, *query-io*, and *error-output*.
>
> This has nothing to say about the logic around this test which might
> indeed be flaky.
Yes, you are right, it might be necessary to do the above test. But in
this case we read from a stream which is bound to *parse-stream* and I
think we have to check if this stream is the *standard-input*.
Dieter Kaiser