apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Collins-Sussman <suss...@newton.collab.net>
Subject Re: rePorting
Date Mon, 18 Dec 2000 21:23:21 GMT


Actually, I'm wondering if the code below is out of date.  IIRC, HPUX
11 uses plain old dlopen() now.

Ben Collins-Sussman <sussman@newton.collab.net> writes:

> Branko =?ISO-8859-2?Q?=C8ibej?= <brane@xbc.nu> writes:
> 
> > hppa1.1-hp-hpux10.20:
> >   build: Breaks in libsvn_client; looks like
> >          APR doesn't support dynamic loading on
> >          HP-UX. Need to look into that.
> 
> Huh?
> 
> Looks like good old "shl_load" is being used to me, in
> apr/dso/unix/dso.c:
> 
> apr_status_t apr_dso_load(apr_dso_handle_t **res_handle, const char *path, 
>                         apr_pool_t *ctx)
> {
> #if defined(HPUX) || defined(HPUX10) || defined(HPUX11)
>     shl_t os_handle = shl_load(path, BIND_IMMEDIATE|BIND_VERBOSE|BIND_NOSTART, 0L);
> #elif defined(OSF1) || defined(SEQUENT) || defined(SNI) ||\
>     (defined(__FreeBSD_version) && (__FreeBSD_version >= 220000))
>     void *os_handle = dlopen((char *)path, RTLD_NOW | RTLD_GLOBAL);
> #else
>     void *os_handle = dlopen(path, RTLD_NOW | RTLD_GLOBAL);
> #endif    

Mime
View raw message