[php-src] PR #11774: Refactor checks for fpathconf and pathconf
| From: | petk | Date: | Sun, 23 Jul 2023 11:19:39 +0000 |
| Subject: | [php-src] PR #11774: Refactor checks for fpathconf and pathconf | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23146@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11774
Author: petk
Hello, this was found recently. The posix_pathconf and posix_fpathconf are PHP function names. On
the system these are
pathconf and fpathconf therefore the typos fixed in
the M4 stub file. Otherwise, with the current code in the master branch these functions won't
be enabled on any system.
These two might not be available everywhere so we check them in config.m4 when doing the configure
step.
Constants that are defined into main/php_config.h: HAVE_FPATHCONF
HAVE_PATHCONF
Implemented via GH-10238
Related to GH-10350