bpo-34652: Remove lchmod from the big func checking block. (GH-9247)
A fix for 883702ebb8
.
This commit is contained in:
parent
c9a71dd223
commit
ed709d5699
|
@ -11258,7 +11258,7 @@ for ac_func in alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
|
||||||
getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \
|
getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \
|
||||||
getpriority getresuid getresgid getpwent getpwnam_r getpwuid_r getspnam getspent getsid getwd \
|
getpriority getresuid getresgid getpwent getpwnam_r getpwuid_r getspnam getspent getsid getwd \
|
||||||
if_nameindex \
|
if_nameindex \
|
||||||
initgroups kill killpg lchmod lchown lockf linkat lstat lutimes mmap \
|
initgroups kill killpg lchown lockf linkat lstat lutimes mmap \
|
||||||
memrchr mbrtowc mkdirat mkfifo \
|
memrchr mbrtowc mkdirat mkfifo \
|
||||||
mkfifoat mknod mknodat mktime mremap nice openat pathconf pause pipe2 plock poll \
|
mkfifoat mknod mknodat mktime mremap nice openat pathconf pause pipe2 plock poll \
|
||||||
posix_fallocate posix_fadvise posix_spawn pread preadv preadv2 \
|
posix_fallocate posix_fadvise posix_spawn pread preadv preadv2 \
|
||||||
|
@ -11289,10 +11289,16 @@ done
|
||||||
# links. Some libc implementations have a stub lchmod implementation that always
|
# links. Some libc implementations have a stub lchmod implementation that always
|
||||||
# returns an error.
|
# returns an error.
|
||||||
if test "$MACHDEP" != linux; then
|
if test "$MACHDEP" != linux; then
|
||||||
|
for ac_func in lchmod
|
||||||
|
do :
|
||||||
ac_fn_c_check_func "$LINENO" "lchmod" "ac_cv_func_lchmod"
|
ac_fn_c_check_func "$LINENO" "lchmod" "ac_cv_func_lchmod"
|
||||||
if test "x$ac_cv_func_lchmod" = xyes; then :
|
if test "x$ac_cv_func_lchmod" = xyes; then :
|
||||||
|
cat >>confdefs.h <<_ACEOF
|
||||||
|
#define HAVE_LCHMOD 1
|
||||||
|
_ACEOF
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -3438,7 +3438,7 @@ AC_CHECK_FUNCS(alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
|
||||||
getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \
|
getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \
|
||||||
getpriority getresuid getresgid getpwent getpwnam_r getpwuid_r getspnam getspent getsid getwd \
|
getpriority getresuid getresgid getpwent getpwnam_r getpwuid_r getspnam getspent getsid getwd \
|
||||||
if_nameindex \
|
if_nameindex \
|
||||||
initgroups kill killpg lchmod lchown lockf linkat lstat lutimes mmap \
|
initgroups kill killpg lchown lockf linkat lstat lutimes mmap \
|
||||||
memrchr mbrtowc mkdirat mkfifo \
|
memrchr mbrtowc mkdirat mkfifo \
|
||||||
mkfifoat mknod mknodat mktime mremap nice openat pathconf pause pipe2 plock poll \
|
mkfifoat mknod mknodat mktime mremap nice openat pathconf pause pipe2 plock poll \
|
||||||
posix_fallocate posix_fadvise posix_spawn pread preadv preadv2 \
|
posix_fallocate posix_fadvise posix_spawn pread preadv preadv2 \
|
||||||
|
@ -3458,7 +3458,7 @@ AC_CHECK_FUNCS(alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
|
||||||
# links. Some libc implementations have a stub lchmod implementation that always
|
# links. Some libc implementations have a stub lchmod implementation that always
|
||||||
# returns an error.
|
# returns an error.
|
||||||
if test "$MACHDEP" != linux; then
|
if test "$MACHDEP" != linux; then
|
||||||
AC_CHECK_FUNC(lchmod)
|
AC_CHECK_FUNCS(lchmod)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_CHECK_DECL(dirfd,
|
AC_CHECK_DECL(dirfd,
|
||||||
|
|
Loading…
Reference in New Issue