[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-test-2466-g8883ee2
Michael Adam
obnox at samba.org
Wed Feb 20 20:14:21 GMT 2008
The branch, v3-2-test has been updated
via 8883ee2418152d58e2ce609e02105e009f8ca4e8 (commit)
from 9b9495d3672e3a8e74d153dbef62825e6b5d5170 (commit)
http://gitweb.samba.org/?samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 8883ee2418152d58e2ce609e02105e009f8ca4e8
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Feb 20 20:05:51 2008 +0100
Support dlopen(NULL, ...) on HPUX.
(cherry picked from commit 53c70b5f77a3b9abaab783590e66278129173d5f)
-----------------------------------------------------------------------
Summary of changes:
source/lib/replace/dlfcn.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/lib/replace/dlfcn.c b/source/lib/replace/dlfcn.c
index 4284884..3b109d7 100644
--- a/source/lib/replace/dlfcn.c
+++ b/source/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;
--
Samba Shared Repository
More information about the samba-cvs
mailing list