Req #36031 [Fbk->NoF]: considere using dl function instead of dyld fonctions
| From: | php-bugs at lists dot php dot net | Date: | Sun, 15 Aug 2021 04:22:07 +0000 |
| Subject: | Req #36031 [Fbk->NoF]: considere using dl function instead of dyld fonctions | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-235817@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=36031&edit=1
ID: 36031
Updated by: php-bugs@lists.php.net
Reported by: jddupas at yahoo dot fr
Summary: considere using dl function instead of dyld fonctions
-Status: Feedback
+Status: No Feedback
Type: Feature/Change Request
Package: Dynamic loading
Operating System: Mac OS X.4
PHP Version: 5.1.2
Assigned To: cmb
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2021-08-03 12:23:35] cmb@php.net
Is this still an issue with any of the actively supported PHP
versions[1]?
[1] <https://www.php.net/supported-versions.php>
------------------------------------------------------------------------
[2006-01-16 13:35:50] jddupas at yahoo dot fr
Description:
------------
Apple Mac OS X documentation says about dyld functions : "These functions are for loading
Mach-O bundle files. They are declared in /usr/include/mach-o/dyld.h. The use of these functions is
discouraged."
And they also says about the dl functions (dlopen family) "These are the recommended functions
to use to interact with the dynamic loader.[...]in Mac OS X v10.4 they are more efficient than other
image-loading functions."
So it would be better to change conditional compilation in zend.h (and where needed) to use dlfcn.h
if dlfcn.h and dyld.h are both present instead of using dyld.h
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=36031&edit=1