[SCM] Samba Shared Repository - branch master updated

Ralph Böhme slow at samba.org
Mon Aug 3 09:40:02 UTC 2020


The branch, master has been updated
       via  611e643d146 ldap_server: fix hurd build
      from  06f87f14b37 README.Coding: target Python 3.6+

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 611e643d14659be8a63e9ca51d5d05659c4b8b6c
Author: Samuel Thibault <samuel.thibault at ens-lyon.org>
Date:   Sun Aug 2 18:06:08 2020 +0000

    ldap_server: fix hurd build
    
    There is no hardcoded IOV_MAX iov limitation on GNU/Hurd. We however do
    not want unbound allocation, so define it to a reasonable amount.
    
    Signed-off-by: Samuel Thibault <samuel.thibault at ens-lyon.org>
    Reviewed-by: Ralph Boehme <slow at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    
    Autobuild-User(master): Ralph Böhme <slow at samba.org>
    Autobuild-Date(master): Mon Aug  3 09:39:02 UTC 2020 on sn-devel-184

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

Summary of changes:
 lib/replace/system/network.h | 7 +++++++
 1 file changed, 7 insertions(+)


Changeset truncated at 500 lines:

diff --git a/lib/replace/system/network.h b/lib/replace/system/network.h
index 82545514bdd..a84bfd453b1 100644
--- a/lib/replace/system/network.h
+++ b/lib/replace/system/network.h
@@ -332,6 +332,13 @@ typedef unsigned short int sa_family_t;
      */
 #   define IOV_MAX 512
 #  endif
+#  ifdef __GNU__
+    /*
+     * GNU/Hurd does not have such hardcoded limitations. Use a reasonable
+     * amount.
+     */
+#   define IOV_MAX 512
+#  endif
 # endif
 #endif
 


-- 
Samba Shared Repository



More information about the samba-cvs mailing list