wingo pushed a commit to branch wip-whippet in repository guile. commit 24d94d233edf158105614842fec6807846a3b5b0 Author: Andy Wingo <wi...@pobox.com> AuthorDate: Wed Aug 6 14:36:29 2025 +0200
GC triggered by lack of file descriptors will finalize * libguile/fports.c (scm_open_file_with_encoding): Call scm_gc(), so that we finalize. --- libguile/fports.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libguile/fports.c b/libguile/fports.c index d95b5a62f..147fed39e 100644 --- a/libguile/fports.c +++ b/libguile/fports.c @@ -273,7 +273,7 @@ scm_open_file_with_encoding (SCM filename, SCM mode, if (en == EMFILE && retries == 0) /* Run the GC in case it collects open file ports that are no longer referenced. */ - scm_i_gc (FUNC_NAME); + scm_gc (); else SCM_SYSERROR_MSG ("~A: ~S", scm_cons (scm_strerror (scm_from_int (en)),