Use faccessat for rc_dir and tmp_dir
This commit is contained in:
@@ -212,6 +212,7 @@ typedef long clen_t;
|
|||||||
#undef HAVE_GETPASSPHRASE
|
#undef HAVE_GETPASSPHRASE
|
||||||
#define HAVE_CHDIR
|
#define HAVE_CHDIR
|
||||||
#define HAVE_MKDTEMP
|
#define HAVE_MKDTEMP
|
||||||
|
#define HAVE_FACCESSAT
|
||||||
|
|
||||||
|
|
||||||
#define SETJMP(env) sigsetjmp(env,1)
|
#define SETJMP(env) sigsetjmp(env,1)
|
||||||
|
|||||||
@@ -145,6 +145,7 @@ typedef long clen_t;
|
|||||||
#undef HAVE_GETPASSPHRASE
|
#undef HAVE_GETPASSPHRASE
|
||||||
#undef HAVE_CHDIR
|
#undef HAVE_CHDIR
|
||||||
#undef HAVE_MKDTEMP
|
#undef HAVE_MKDTEMP
|
||||||
|
#undef HAVE_FACCESSAT
|
||||||
#undef HAVE_SETPGRP
|
#undef HAVE_SETPGRP
|
||||||
#undef HAVE_SETLOCALE
|
#undef HAVE_SETLOCALE
|
||||||
#undef HAVE_LANGINFO_CODESET
|
#undef HAVE_LANGINFO_CODESET
|
||||||
|
|||||||
@@ -9550,7 +9550,7 @@ _ACEOF
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
for ac_func in strcasecmp strcasestr strchr memcpy strerror bcopy setpgrp chdir mkdtemp getcwd getwd readlink setenv putenv strtoll stroq atoll atoq symlink readlink lstat srand48 srandom getpassphrase waitpid setlocale
|
for ac_func in strcasecmp strcasestr strchr memcpy strerror bcopy setpgrp chdir mkdtemp faccessat getcwd getwd readlink setenv putenv strtoll stroq atoll atoq symlink readlink lstat srand48 srandom getpassphrase waitpid setlocale
|
||||||
do :
|
do :
|
||||||
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
||||||
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
||||||
|
|||||||
+1
-1
@@ -151,7 +151,7 @@ dnl AC_FUNC_MEMCMP
|
|||||||
dnl AC_FUNC_MMAP
|
dnl AC_FUNC_MMAP
|
||||||
dnl AC_FUNC_SETVBUF_REVERSED
|
dnl AC_FUNC_SETVBUF_REVERSED
|
||||||
dnl AC_FUNC_VPRINTF
|
dnl AC_FUNC_VPRINTF
|
||||||
AC_CHECK_FUNCS(strcasecmp strcasestr strchr memcpy strerror bcopy setpgrp chdir mkdtemp getcwd getwd readlink setenv putenv strtoll stroq atoll atoq symlink readlink lstat srand48 srandom getpassphrase waitpid setlocale)
|
AC_CHECK_FUNCS(strcasecmp strcasestr strchr memcpy strerror bcopy setpgrp chdir mkdtemp faccessat getcwd getwd readlink setenv putenv strtoll stroq atoll atoq symlink readlink lstat srand48 srandom getpassphrase waitpid setlocale)
|
||||||
AC_FUNC_STRFTIME
|
AC_FUNC_STRFTIME
|
||||||
AC_FUNC_WAIT3
|
AC_FUNC_WAIT3
|
||||||
AC_FUNC_SETPGRP
|
AC_FUNC_SETPGRP
|
||||||
|
|||||||
Reference in New Issue
Block a user