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

_______________________________________________
Axiom-developer mailing list
Axiom-developer@nongnu.org
https://lists.nongnu.org/mailman/listinfo/axiom-developer

Reply via email to