[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-developer] stream_at_end EOF diff -Naur patch
From: |
daly |
Subject: |
[Axiom-developer] stream_at_end EOF diff -Naur patch |
Date: |
Wed, 2 Jul 2014 06:31:37 -0500 |
Camm,
Axiom has a patch we developed for gcl-2.6.8pre7
The problem is that read-char-no-hang was changed to no longer
return EOF.
Axiom reads from sLAterminal_ioA in order to talk to the new
browser over a socket. Since read-char-no-hang no longer returns
EOF we have no way to know when the browser is finished talking.
This causes AXSERV to hang waiting for more input which never comes.
This causes the browser to hang waiting for a response.
The patch we developed for gcl-2.6.8pre7 reads:
--- read.d 2012-01-04 14:42:07.000000000 -0500
+++ read.d.tpd 2012-04-07 20:15:32.489298931 -0400
@@ -2292,7 +2292,7 @@
else if (strm == Ct)
strm = symbol_value(sLAterminal_ioA);
check_type_stream(&strm);
- if (stream_at_end(strm)) {
+ if (!listen_stream(strm)) {
if (eof_errorp == Cnil)
@(return eof_value)
else
Is this patch reasonable for upstream?
Tim
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Axiom-developer] stream_at_end EOF diff -Naur patch,
daly <=