mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-12 12:21:15 -08:00
ecl_listen_stream() now returns the correct value when applied on a CLOS stream.
This commit is contained in:
parent
9f4101bda4
commit
252c7f3510
2 changed files with 4 additions and 1 deletions
|
|
@ -262,6 +262,9 @@ ECL 0.9i
|
|||
Top level.
|
||||
>>
|
||||
|
||||
- ecl_listen_stream (used in LISTEN or READ-CHAR-NO-HANG) now returns the
|
||||
correct value when applied on a CLOS stream (M. Goffioul)
|
||||
|
||||
* Documentation:
|
||||
|
||||
- The HTML manuals now use CSS for a more appealing look.
|
||||
|
|
|
|||
|
|
@ -1905,7 +1905,7 @@ BEGIN:
|
|||
#ifdef ECL_CLOS_STREAMS
|
||||
if (type_of(strm) == t_instance) {
|
||||
cl_object flag = funcall(2, @'ext::stream-listen', strm);
|
||||
return !(strm == Cnil);
|
||||
return !(flag == Cnil);
|
||||
}
|
||||
#endif
|
||||
if (type_of(strm) != t_stream)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue