mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-02 07:30:55 -08:00
smm_io should also be allowed when making streams from file descriptors
This commit is contained in:
parent
4d88711624
commit
e5c7309618
1 changed files with 3 additions and 0 deletions
|
|
@ -2735,6 +2735,9 @@ ecl_make_stream_from_fd(cl_object fname, int fd, enum ecl_smmode smm)
|
|||
case smm_output:
|
||||
mode = "w";
|
||||
break;
|
||||
case smm_io:
|
||||
mode = "w+";
|
||||
break;
|
||||
#if defined(ECL_WSOCK)
|
||||
case smm_input_wsock:
|
||||
case smm_output_wsock:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue