php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #36031 considere using dl function instead of dyld fonctions
Submitted: 2006-01-16 13:35 UTC Modified: 2021-08-15 04:22 UTC
From: jddupas at yahoo dot fr Assigned: cmb (profile)
Status: No Feedback Package: Dynamic loading
PHP Version: 5.1.2 OS: Mac OS X.4
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jddupas at yahoo dot fr
New email:
PHP Version: OS:

 

 [2006-01-16 13:35 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-30 23:31 UTC] cmb@php.net
-Package: Feature/Change Request +Package: Dynamic loading
 [2021-08-03 12:23 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-08-03 12:23 UTC] 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>
 [2021-08-15 04:22 UTC] php-bugs at lists dot php dot net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Oct 14 14:01:27 2024 UTC