1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

Support dlopen(NULL, ...) on HPUX.

(cherry picked from commit 53c70b5f77)
(This used to be commit 8883ee2418)
This commit is contained in:
Jelmer Vernooij 2008-02-20 20:05:51 +01:00 committed by Michael Adam
parent 4f5a888067
commit 9c3f0170b3

View File

@ -35,6 +35,8 @@ void *rep_dlopen(const char *name, int flags)
#endif
{
#ifdef HAVE_SHL_LOAD
if (name == NULL)
return PROG_HANDLE;
return (void *)shl_load(name, flags, 0);
#else
return NULL;