mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-14 21:32:49 -08:00
WRITE-LINE did not work with Gray streams.
This commit is contained in:
parent
44a1cff9b5
commit
e57c1ac85a
2 changed files with 10 additions and 3 deletions
|
|
@ -198,6 +198,8 @@ ECL 8.9.0:
|
|||
|
||||
- Hash tables were not properly serialized.
|
||||
|
||||
- WRITE-LINE did not work with gray streams (A. Vodonosov)
|
||||
|
||||
;;; Local Variables: ***
|
||||
;;; mode:text ***
|
||||
;;; fill-column:79 ***
|
||||
|
|
|
|||
|
|
@ -1892,9 +1892,14 @@ potential_number_p(cl_object strng, int base)
|
|||
@
|
||||
strng = ecl_check_type_string(@'write-line', strng);
|
||||
strm = stream_or_default_output(strm);
|
||||
si_do_write_sequence(strng, strm, start, end);
|
||||
ecl_write_char('\n', strm);
|
||||
ecl_force_output(strm);
|
||||
#ifdef ECL_CLOS_STREAMS
|
||||
if (type_of(strm) != t_stream)
|
||||
funcall(5, @'gray::stream-write-string', strm, strng,
|
||||
start, end);
|
||||
else
|
||||
#endif
|
||||
si_do_write_sequence(strng, strm, start, end);
|
||||
ecl_terpri(strm);
|
||||
@(return strng)
|
||||
@)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue