[php-src] PR #25669: ext/session: remove dead F_SETFD fallback in mod_files
| From: | jorgsowa | Date: | Mon, 23 Nov 2026 11:58:14 +0000 |
| Subject: | [php-src] PR #25669: ext/session: remove dead F_SETFD fallback in mod_files | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-40922@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25669
Author: jorgsowa
The session file is already opened with
O_CLOEXEC, which POSIX.1-2008
requires, so the fcntl() fallback for systems without it is never compiled. Windows has
neither, so nothing changes there either.
Other places also guard for O_CLOEXEC, but I want to focus only on
ext/session.