git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19bb90a
)
Support dlopen(NULL, ...) on HPUX.
author
Jelmer Vernooij
<jelmer@samba.org>
Wed, 20 Feb 2008 19:05:51 +0000
(20:05 +0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Wed, 20 Feb 2008 19:05:51 +0000
(20:05 +0100)
(This used to be commit
53c70b5f77a3b9abaab783590e66278129173d5f
)
source4/lib/replace/dlfcn.c
patch
|
blob
|
history
diff --git
a/source4/lib/replace/dlfcn.c
b/source4/lib/replace/dlfcn.c
index 42848848e8703dc488765213ca579065b758cc2a..3b109d7e404695fedc102f91dfb23ab40e56ed9d 100644
(file)
--- a/
source4/lib/replace/dlfcn.c
+++ b/
source4/lib/replace/dlfcn.c
@@
-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;