Req #73040 [Opn->Ver]: Remove usages of getdtablesize from ext/standard/php_fopen_wrapper.c
| From: | cmb@php.net | Date: | Wed, 07 Sep 2016 16:15:25 +0000 |
| Subject: | Req #73040 [Opn->Ver]: Remove usages of getdtablesize from ext/standard/php_fopen_wrapper.c | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-203856@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73040&edit=1
ID: 73040
Updated by: cmb@php.net
Reported by: subins2000 at gmail dot com
Summary: Remove usages of getdtablesize from
ext/standard/php_fopen_wrapper.c
-Status: Open
+Status: Verified
Type: Feature/Change Request
Package: Compile Failure
Operating System: Ubuntu 16.04 Xenial Xerus
PHP Version: 7.1.0RC1
Block user comment: N
Private report: N
New Comment:
Good catch, thanks for reporting! This issue might even be
regarded as being a bug.
However, according to the Open Group
specification of getdtablesize()[1], getrlimit() should be called
instead of using OPEN_MAX.
[1] <http://pubs.opengroup.org/onlinepubs/7908799/xsh/getdtablesize.html>
Previous Comments:
------------------------------------------------------------------------
[2016-09-07 14:48:03] subins2000 at gmail dot com
Description:
------------
The getdtablesize function is removed since 2004, here is the link: https://code.google.com/p/android/issues/detail?id=74387
It should be replaced with OPEN_MAX
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73040&edit=1