The Samba-Bugzilla – Attachment 4892 Details for
Bug 4534
linux_getgrouplist_ok should be cached so that cross compiles can set with site config.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
samba-cached-getgrouplist.patch
samba-cached-getgrouplist.patch (text/plain), 868 bytes, created by
Mike Frysinger
on 2009-10-26 20:23:37 UTC
(
hide
)
Description:
samba-cached-getgrouplist.patch
Filename:
MIME Type:
Creator:
Mike Frysinger
Created:
2009-10-26 20:23:37 UTC
Size:
868 bytes
patch
obsolete
>diff --git a/source/configure.in b/source/configure.in >index dce60bc..b6d964a 100644 >--- a/source/configure.in >+++ b/source/configure.in >@@ -1204,6 +1204,7 @@ AC_DEFINE(HAVE_PRCTL, 1, [Whether prctl is available]),[]) > case "$host_os" in > *linux*) > # glibc <= 2.3.2 has a broken getgrouplist >+ AC_CACHE_CHECK([for broken getgrouplist],samba_cv_linux_getgrouplist_ok,[ > AC_TRY_RUN([ > #include <unistd.h> > #include <sys/utsname.h> >@@ -1220,8 +1221,8 @@ main() { > #endif > exit(0); > } >-], [linux_getgrouplist_ok=yes], [linux_getgrouplist_ok=no]) >- if test x"$linux_getgrouplist_ok" = x"yes"; then >+], [samba_cv_linux_getgrouplist_ok=yes], [samba_cv_linux_getgrouplist_ok=no])]) >+ if test x"$samba_cv_linux_getgrouplist_ok" = x"yes"; then > AC_DEFINE(HAVE_GETGROUPLIST, 1, [Have good getgrouplist]) > fi > ;;
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 4534
:
2453
| 4892