git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f288efc
)
swrap: Properly cache the handle also in LIBC_SO case.
author
Pino Toscano
<toscano.pino@tiscali.it>
Tue, 3 Jun 2014 12:59:21 +0000
(14:59 +0200)
committer
Michael Adam
<obnox@samba.org>
Thu, 5 Jun 2014 21:57:10 +0000
(23:57 +0200)
Small regression introduced by me in commit
0fa56909442c3cfea6a697681ea0e89ba5a0aa0f
.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10572
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
lib/socket_wrapper/socket_wrapper.c
patch
|
blob
|
history
diff --git
a/lib/socket_wrapper/socket_wrapper.c
b/lib/socket_wrapper/socket_wrapper.c
index 01a498ffccdb117caaf9c6fea9dac3bdfe9b9ce1..0626964f0d2a5fa3a9d658aae852a8d470eec7ed 100644
(file)
--- a/
lib/socket_wrapper/socket_wrapper.c
+++ b/
lib/socket_wrapper/socket_wrapper.c
@@
-434,6
+434,8
@@
static void *swrap_load_lib_handle(enum swrap_lib lib)
#ifdef LIBC_SO
if (handle == NULL) {
handle = dlopen(LIBC_SO, flags);
+
+ swrap.libc_handle = handle;
}
#endif
if (handle == NULL) {