The Samba-Bugzilla – Attachment 9923 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]
Use LIBC_SO on GNU libc
glibc-soname.diff (text/plain), 754 bytes, created by
Pino Toscano
on 2014-05-08 10:09:29 UTC
(
hide
)
Description:
Use LIBC_SO on GNU libc
Filename:
MIME Type:
Creator:
Pino Toscano
Created:
2014-05-08 10:09:29 UTC
Size:
754 bytes
patch
obsolete
>diff -urN socket_wrapper-1.0.2.orig/src/socket_wrapper.c socket_wrapper-1.0.2/src/socket_wrapper.c >--- socket_wrapper-1.0.2.orig/src/socket_wrapper.c 2014-05-05 07:58:57.000000000 +0000 >+++ socket_wrapper-1.0.2/src/socket_wrapper.c 2014-05-08 08:53:27.000000000 +0000 >@@ -73,6 +73,9 @@ > #include <stdarg.h> > #include <stdbool.h> > #include <unistd.h> >+#ifdef __GLIBC__ >+#include <gnu/lib-names.h> >+#endif > > enum swrap_dbglvl_e { > SWRAP_LOG_ERROR = 0, >@@ -418,6 +421,11 @@ > /* FALL TROUGH */ > case SWRAP_LIBC: > handle = swrap.libc_handle; >+#ifdef LIBC_SO >+ if (handle == NULL) { >+ handle = dlopen(LIBC_SO, flags); >+ } >+#endif > if (handle == NULL) { > for (handle = NULL, i = 10; handle == NULL && i >= 0; i--) { > char soname[256] = {0};
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