From 9756360b3cd8a179d4e9bcf0eb56609a7eca35f7 Mon Sep 17 00:00:00 2001 From: Marius Gerbershagen Date: Sun, 10 Mar 2024 18:48:47 +0100 Subject: [PATCH] pathname: fix bug in handling streams ecl_stream_pathname returns a string and not a pathname, so we have to check for that again. --- src/c/pathname.d | 1 + 1 file changed, 1 insertion(+) diff --git a/src/c/pathname.d b/src/c/pathname.d index 79865ce51..4805feeea 100644 --- a/src/c/pathname.d +++ b/src/c/pathname.d @@ -749,6 +749,7 @@ cl_pathname(cl_object x) default: if (!Null(cl_streamp(x))) { x = ecl_stream_pathname(x); + goto L; } else { const char *type = "(OR FILE-STREAM STRING PATHNAME)"; FEwrong_type_only_arg(@[pathname], x, ecl_read_from_cstring(type));