git: b7b485efac8c - main - posix_spawn_file_action_addopen.3: ignoring close failure is now approved
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Apr 2026 08:23:18 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=b7b485efac8c1b601b9c0ada39921bad0e342970
commit b7b485efac8c1b601b9c0ada39921bad0e342970
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-04-02 08:06:52 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-04-03 08:22:53 +0000
posix_spawn_file_action_addopen.3: ignoring close failure is now approved
Reviewed by: dim
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Differential revision: https://reviews.freebsd.org/D56222
---
lib/libc/gen/posix_spawn.3 | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/libc/gen/posix_spawn.3 b/lib/libc/gen/posix_spawn.3
index 0f25fc348610..ad66d1a426c4 100644
--- a/lib/libc/gen/posix_spawn.3
+++ b/lib/libc/gen/posix_spawn.3
@@ -481,8 +481,10 @@ functions conform to
.St -p1003.1-2001 ,
except that they ignore all errors from
.Fn close .
-A future update of the Standard is expected to require that these functions
-not fail because a file descriptor to be closed (via
+The
+.St -p1003.1-2024 ,
+version of the Standard no longer requires that these functions
+fail because a file descriptor to be closed (via
.Fn posix_spawn_file_actions_addclose )
is not open.
.Sh HISTORY