Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #40826] Mac OS X and Dylib Funcs

6 views
Skip to first unread message

Chromatic

unread,
Nov 11, 2006, 10:13:00 PM11/11/06
to bugs-bi...@rt.perl.org
# New Ticket Created by chromatic
# Please include the string: [perl #40826]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40826 >


Hi there,

config/gen/platform/darwin/dl.c contains some portability wrappers around NS*
functions to handle dlopen(), dlfunc(), dlerror(), and related functions.
They're important for Mac OS X 10.2 and earlier.

Mac OS X 10.3 deprecated these functions in favor of the normal lovable
functions themselves. They work better in at least one interesting way (when
you pass NULL to dlopen(), you get back a handle to the current program).

I've removed the single test that apparently relies on this, so it's not a big
deal. However, it is a portability question; the Darwin hinter should
probably pick up the correct dl.c file depending on the version of the OS.

-- c

0 new messages