From 21ad54b694c676ba608166be137b677bbb747eac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 28 Mar 2023 23:35:35 +0200 Subject: 'spawn' closes only open file descriptors on non-GNU/Linux systems. Fixes . Reported by Omar Polo . * libguile/posix.c (close_inherited_fds_slow): On systems other than GNU/Linux, call 'addclose' only when 'fcntl' succeeds on MAX_FD. * NEWS: Update. --- NEWS | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index cad53ea03..ce8d4e120 100644 --- a/NEWS +++ b/NEWS @@ -24,7 +24,9 @@ the compiler reports it as "possibly unused". * Bug fixes ** (ice-9 suspendable-ports) incorrect UTF-8 decoding - (https://bugs.gnu.org/62290) + () +** Fix invalid use of 'posix_spawn' on non-glibc systems + () ** Hashing of UTF-8 symbols with non-ASCII characters avoids corruption () -- cgit v1.2.1