Re: [PATCH] Add posix_spawn_file_actions_addclosefrom_np

Martin Husemann <[email protected]> Mon, 29 Jun 2026 09:12:51 +0000
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
On Sun, May 10, 2026 at 02:26:47PM -0700, Chris Hanson wrote:
> Here?s my final updated patch that also ensures the posix_spawn_file_actions_addclosefrom_np symbol is appropriately weak, guarded by _NETBSD_SOURCE, the libc version is updated, etc.
> 

I still like it :-)

One minor nit: making this visible (in include/spawn.h) only #ifdef _NETBSD_SOURCE
might not be a good idea. I think it should be visible by default unless
some stricte standard is requested.

If we want this in -11, it has to be commited like *today*. Any opinions
on it?

Martin