The Samba-Bugzilla – Attachment 9925 Details for
Bug 10572
swrap_load_lib_handle() broken on GNU/kFreeBSD
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
always cache the libc handle
0001-src-properly-cache-the-handle-also-in-LIBC_SO-case.patch (text/plain), 757 bytes, created by
Pino Toscano
on 2014-05-08 14:29:50 UTC
(
hide
)
Description:
always cache the libc handle
Filename:
MIME Type:
Creator:
Pino Toscano
Created:
2014-05-08 14:29:50 UTC
Size:
757 bytes
patch
obsolete
>From efdbd2675347d6cc881da95d7280d846885fc589 Mon Sep 17 00:00:00 2001 >From: Pino Toscano <toscano.pino@tiscali.it> >Date: Thu, 8 May 2014 16:26:43 +0200 >Subject: [PATCH] src: properly cache the handle also in LIBC_SO case > >Small regression introduced by me in commit >0fa56909442c3cfea6a697681ea0e89ba5a0aa0f. >--- > src/socket_wrapper.c | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c >index 4bca746..1f25886 100644 >--- a/src/socket_wrapper.c >+++ b/src/socket_wrapper.c >@@ -427,6 +427,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) { >-- >2.0.0.rc0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 10572
:
9923
|
9924
| 9925 |
9996
|
9997