* lib/ftruncate.c [HAVE_CHSIZE]: Document that this code is
authorJim Meyering <jim@meyering.net>
Tue, 20 Feb 2007 09:54:19 +0000 (09:54 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 20 Feb 2007 09:54:19 +0000 (09:54 +0000)
used by e.g., mingw.  From Bruno Haible.

ChangeLog
lib/ftruncate.c

index 7ddde7a..523e2db 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-02-20  Jim Meyering  <jim@meyering.net>
+
+       * lib/ftruncate.c [HAVE_CHSIZE]: Document that this code is
+       used by e.g., mingw.  From Bruno Haible.
+
 2007-02-19  Bruno Haible  <bruno@clisp.org>
 
        * lib/string_.h: Use "#pragma GCC system_header" to suppress some gcc
index f6a7ea5..ff7d11b 100644 (file)
@@ -66,7 +66,7 @@ ftruncate (int fd, off_t length)
 }
 
 # else /* not F_CHSIZE nor F_FREESP */
-#  if HAVE_CHSIZE
+#  if HAVE_CHSIZE                      /* native Windows, e.g. mingw */
 
 int
 ftruncate (int fd, off_t length)