From: Todd C. Miller Date: Wed, 19 Jan 2000 18:37:51 +0000 (+0000) Subject: Don't need test for ftruncate() any more. X-Git-Tag: SUDO_1_6_2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=90371b1c033aecb1ddb15dc5b76af0835d97d4bc;p=sudo Don't need test for ftruncate() any more. --- diff --git a/config.h.in b/config.h.in index cea16fe19..768ea731f 100644 --- a/config.h.in +++ b/config.h.in @@ -251,9 +251,6 @@ /* Define if you have flock(2). */ #undef HAVE_FLOCK -/* Define if you have ftruncate(2). */ -#undef HAVE_FTRUNCATE - /* Define if you have setrlimit(2). */ #undef HAVE_SETRLIMIT diff --git a/configure b/configure index e1b1258ce..ebbc19e5e 100755 --- a/configure +++ b/configure @@ -5413,7 +5413,7 @@ EOF ;; esac -for ac_func in strchr strrchr memchr memcpy memset sysconf sigaction tzset seteuid ftruncate strftime setrlimit initgroups +for ac_func in strchr strrchr memchr memcpy memset sysconf sigaction tzset seteuid strftime setrlimit initgroups do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:5420: checking for $ac_func" >&5 diff --git a/configure.in b/configure.in index 5e3016233..5379d08ee 100644 --- a/configure.in +++ b/configure.in @@ -1343,7 +1343,7 @@ esac dnl dnl Function checks dnl -AC_CHECK_FUNCS(strchr strrchr memchr memcpy memset sysconf sigaction tzset seteuid ftruncate strftime setrlimit initgroups) +AC_CHECK_FUNCS(strchr strrchr memchr memcpy memset sysconf sigaction tzset seteuid strftime setrlimit initgroups) if test -n "$SECUREWARE"; then AC_CHECK_FUNCS(bigcrypt) AC_CHECK_FUNCS(set_auth_parameters)