X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fftruncate;h=5a8913975bec3af987019dbd3f28fd2ea6ea4122;hb=cd56634a4a8179fd5a4419fbb3e27211b042ab1c;hp=e8aec5d95920b7067ed501ac9cb9dea01f8a351b;hpb=99a272bb97595ab01b2a536eb92b7378291f9dcf;p=gnulib.git diff --git a/modules/ftruncate b/modules/ftruncate index e8aec5d95..5a8913975 100644 --- a/modules/ftruncate +++ b/modules/ftruncate @@ -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: