mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-14 13:21:54 -08:00
ecl_stream_to_handle: fix problem when passing stream
Function for some types of streams without handler (not all) was calling internal-error stopping whole implementation instead of returning `INVALID_HANDLER'. Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
This commit is contained in:
parent
dd2e3903bc
commit
26690cacdd
1 changed files with 1 additions and 2 deletions
|
|
@ -4185,9 +4185,8 @@ ecl_stream_to_handle(cl_object s, bool output)
|
|||
#if defined(ECL_MS_WINDOWS_HOST)
|
||||
case ecl_smm_io_wcon:
|
||||
#endif
|
||||
return -1;
|
||||
default:
|
||||
ecl_internal_error("illegal stream mode");
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue