changeset 8207:717accda417a

* lib/ftruncate.c [HAVE_CHSIZE]: Document that this code is used by e.g., mingw. From Bruno Haible.
author Jim Meyering <jim@meyering.net>
date Tue, 20 Feb 2007 09:54:19 +0000
parents c7bf63af2713
children dd1cc9788db5
files ChangeLog lib/ftruncate.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/lib/ftruncate.c
+++ b/lib/ftruncate.c
@@ -66,7 +66,7 @@
 }
 
 # 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)