[php-src] PR #21553: ext/standard: Use posix_spawn_file_actions_addchdir when available
| From: | NattyNarwhal | Date: | Fri, 27 Mar 2026 16:02:45 +0000 |
| Subject: | [php-src] PR #21553: ext/standard: Use posix_spawn_file_actions_addchdir when available | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35394@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21553
Author: NattyNarwhal
posix_spawn_file_actions_addchdir is part of POSIX now, so some OSes (macOS at least) have started
to deprecated the _np variant. Some support both names (Solaris, NetBSD), others don't yet
(FreeBSD).
Use the non-np variant when possible to avoid the deprecation warning on macOS and other platforms
in the future.
Fixes GH-21552