[php-src] PR #12995: Fix sysconf functions in FreeBSD
| From: | 5u623l20 | Date: | Thu, 21 Dec 2023 20:35:45 +0000 |
| Subject: | [php-src] PR #12995: Fix sysconf functions in FreeBSD | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24567@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12995
Author: 5u623l20
All FreeBSD do not implement the function sysconf with arguments _SC_GETGR_R_SIZE_MAX ,
_SC_GETPW_R_SIZE_MAX.
php use this sysconf() in:
- main/main.c php_get_current_user()
- main/fopen_wrappers.c php_fopen_primary_script()
- ext/posix/posix.c posix_getpwnam(), posix_getpwuid(), posix_getgrnam(), posix_getgrgid()
- ext/standard/filestat.c php_get_uid_by_name(), php_get_gid_by_name()