[php-src] PR #25664: ext/session: use pread()/pwrite() unconditionally on non-Windows
| From: | jorgsowa | Date: | Mon, 23 Nov 2026 09:17:37 +0000 |
| Subject: | [php-src] PR #25664: ext/session: use pread()/pwrite() unconditionally on non-Windows | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-40917@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25664
Author: jorgsowa
The
PHP_PREAD_TEST and PHP_PWRITE_TEST configure checks work around a
glibc bug fixed in 2.2.5 and missing off64_t prototypes. Both functions are POSIX, so remove the
checks.
The checks have to execute a test program, which is not possible when cross-compiling, so
cross-compiled builds never used pread()/pwrite().