From: Andrew Bartlett Date: Thu, 5 Sep 2019 19:39:09 +0000 (+1200) Subject: build: Remove tests for getdents() and getdirentries() X-Git-Tag: talloc-2.3.1~831 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16eb80058ca4a34df96388c26736590247b6a3f4;p=thirdparty%2Fsamba.git build: Remove tests for getdents() and getdirentries() These date back to 3a9beef2b7b25427ee4611cfc375e05cc82a1150 in 2003 and 829e72fe9c97feaa3d45b768984a4c47b906a23a in 1998 and appear to be related to smbwrapper. More of these should be removed but the getdirents() test caused a timeout on an ARM builder in Debian. It might just be a fluke but the tests are pointless regardless. Signed-off-by: Andrew Bartlett Reviewed-by: Andreas Schneider Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Tue Sep 17 13:48:18 UTC 2019 on sn-devel-184 --- diff --git a/lib/replace/wscript b/lib/replace/wscript index e7159c067c5..cdfe9435d84 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -422,7 +422,7 @@ def configure(conf): define = 'HAVE_BSD_STRTOLL', ) conf.CHECK_FUNCS('if_nametoindex strerror_r') - conf.CHECK_FUNCS('getdirentries getdents syslog') + conf.CHECK_FUNCS('syslog') conf.CHECK_FUNCS('gai_strerror get_current_dir_name') conf.CHECK_FUNCS('timegm getifaddrs freeifaddrs mmap setgroups syscall setsid') conf.CHECK_FUNCS('getgrent_r getgrgid_r getgrnam_r getgrouplist getpagesize') diff --git a/source3/wscript b/source3/wscript index 1dc5abf0ab6..de6e875c7c3 100644 --- a/source3/wscript +++ b/source3/wscript @@ -393,7 +393,7 @@ __fchdir fchmod fchown _fcntl __fcntl fcvt fcvtl fdatasync _fork __fork fseeko _fstat __fstat fsync futimens futimes __fxstat getauthuid -getcwd _getcwd __getcwd getdents __getdents getdirentries +getcwd _getcwd __getcwd getgrent getgrnam getgrouplist getgrset getmntent getpagesize getpwanam getpwent_r getrlimit glob grantpt hstrerror initgroups innetgr