]> granicus.if.org Git - sudo/commitdiff
Don't need test for ftruncate() any more.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 19 Jan 2000 18:37:51 +0000 (18:37 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 19 Jan 2000 18:37:51 +0000 (18:37 +0000)
config.h.in
configure
configure.in

index cea16fe193097ea8af478ecabea0fd6be0f31070..768ea731f02d7d086aac29bfb79ef14e21f93f9f 100644 (file)
 /* 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
 
index e1b1258ce2998de63e5a3f97f5519b49d0d80f09..ebbc19e5e54a836f6b4dd6a19b465f36b8f4cc89 100755 (executable)
--- 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
index 5e3016233dc7732a26cca523fbd4e8afb7681207..5379d08eee3a979297415f497a70ede773b796b5 100644 (file)
@@ -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)