md5, sha1, sha256, sha512: add gl_SET_CRYPTO_CHECK_DEFAULT
[gnulib.git] / modules / ftruncate
index 6be248c..5a89139 100644 (file)
@@ -1,22 +1,20 @@
 Description:
 ftruncate() function: truncate an open file to a specified length.
 
-Status:
-obsolete
-
-Notice:
-This module is obsolete.
-
 Files:
 lib/ftruncate.c
 m4/ftruncate.m4
 
 Depends-on:
 unistd
+sys_types
+largefile
+msvc-nothrow    [test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1]
+msvc-inval      [test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1]
 
 configure.ac:
 gl_FUNC_FTRUNCATE
-if test $HAVE_FTRUNCATE = 0; then
+if test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1; then
   AC_LIBOBJ([ftruncate])
   gl_PREREQ_FTRUNCATE
 fi