bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SKIP_FTRUNCATE_CHECK


From: Jim Meyering
Subject: Re: SKIP_FTRUNCATE_CHECK
Date: Tue, 20 Feb 2007 13:39:22 +0100

Bruno Haible <address@hidden> wrote:
> This, I can't tell, as I'm only cross-compiling. I can't do more than "nm"
> on the object files.

At least we know gnulib-based applications that use ftruncate
will continue to link when compiled for mingw.

>> If we're no closer to removing the module, then we should document those
>> things while we're at it, since some of that code is very dusty.
>
> Like this? There's also some background about the other two alternatives at
> http://www.unixguide.net/unix/faq/3.3.shtml .

Dusty, indeed.

> --- lib/ftruncate.c   19 Feb 2007 02:24:42 -0000      1.12
> +++ lib/ftruncate.c   19 Feb 2007 23:56:54 -0000
> @@ -66,7 +66,7 @@
>  }
>
>  # else /* not F_CHSIZE nor F_FREESP */
> -#  if HAVE_CHSIZE
> +#  if HAVE_CHSIZE                    /* native Windows, e.g. mingw */

Thanks.  I applied that.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]