[SCM] Samba Shared Repository - branch v3-5-test updated

Volker Lendecke vlendec at samba.org
Thu Dec 17 03:39:01 MST 2009


The branch, v3-5-test has been updated
       via  f0f4e5b... s3: Fix bug 6992, make test for getgrouplist cacheable
      from  776b519... Final part of the fix for 6837 - "Too many open files" when trying to access large number of files

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test


- Log -----------------------------------------------------------------
commit f0f4e5b9c3b8c640bf1829a9a12bcdfa7d2c153a
Author: Jonas Gorski <jonas.gorski+samba at gmail.com>
Date:   Thu Dec 17 11:32:21 2009 +0100

    s3: Fix bug 6992, make test for getgrouplist cacheable

-----------------------------------------------------------------------

Summary of changes:
 source3/configure.in |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/configure.in b/source3/configure.in
index 2da1f9e..e527a18 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1194,7 +1194,7 @@ AC_DEFINE(HAVE_PRCTL, 1, [Whether prctl is available]),[])
 case "$host_os" in
     *linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu)
        # glibc <= 2.3.2 has a broken getgrouplist
-       AC_TRY_RUN([
+       AC_CACHE_CHECK([for good getgrouplist],samba_cv_linux_getgrouplist_ok,[AC_TRY_RUN([
 #include <unistd.h>
 #include <sys/utsname.h>
 main() {
@@ -1210,8 +1210,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
        ;;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list