Bug #71567 [Opn]: php_random_bytes: called object is not a function
| From: | laruence@php.net | Date: | Mon, 15 Feb 2016 05:37:51 +0000 |
| Subject: | Bug #71567 [Opn]: php_random_bytes: called object is not a function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-199217@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71567&edit=1
ID: 71567
Updated by: laruence@php.net
Reported by: cyrus at safe-mail dot net
Summary: php_random_bytes: called object is not a function
Status: Open
Type: Bug
Package: Compile Failure
Operating System: Solaris 11 (x86 and sparc)
PHP Version: 7.0.3
Block user comment: N
Private report: N
New Comment:
it's weird, the comment fix seems not right. I can see the current codes is:
/* Does the file exist and is it a character device? */
if (fstat(fd, &st) != 0 ||
# ifdef S_ISNAM
!(S_ISNAM(st.st_mode) || S_ISCHR(st.st_mode))
# else
!S_ISCHR(st.st_mode)
# endif
it's differnet :<
Previous Comments:
------------------------------------------------------------------------
[2016-02-11 09:58:39] cyrus at safe-mail dot net
Description:
------------
Description:
------------
<path>/php-7.0.3/ext/standard/random.c: In function 'php_random_bytes':
<path>/php-7.0.3/ext/standard/random.c:145:26: error: called object '20480' is not a
function
*** Error code 1
make: Fatal error: Command failed for target `ext/standard/random.lo'
----------
occurs only on Solaris (x86/sparc)
works well on RHEL 6/7
Dublicates:
#70999 php_random_bytes: called object is not a function
Bug #70999 is still fixed.
Please commit...
There is no way for me to reopen the bug.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71567&edit=1