doc: use ASCII in .texi files where UTF-8 isn't needed
[gnulib.git] / modules / ftruncate
index e8aec5d..5a89139 100644 (file)
@@ -1,21 +1,23 @@
 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 || test $REPLACE_FTRUNCATE = 1; then
+  AC_LIBOBJ([ftruncate])
+  gl_PREREQ_FTRUNCATE
+fi
 gl_UNISTD_MODULE_INDICATOR([ftruncate])
 
 Makefile.am: