Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Oct 2020 17:13:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 250185] PHP: Fail posix_getpwnam, posix_getpwuid, ...
Message-ID:  <bug-250185-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250185

            Bug ID: 250185
           Summary: PHP: Fail posix_getpwnam, posix_getpwuid, ...
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dl@CyberPunk.ru

Created attachment 218596
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D218596&action=
=3Dedit
php_FreeBSD_sysconf

I am opened the problem https://bugs.php.net/bug.php?id=3D80198 .
Duplicate for you:


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()

The problem is the unsuccessful result for these functions.

Eliminated is trivial. patch applied.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250185-7788>