From d83b0a658d565b671f5bd22fee91362507b9d504 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 20 Feb 2007 09:54:19 +0000 Subject: [PATCH] * lib/ftruncate.c [HAVE_CHSIZE]: Document that this code is used by e.g., mingw. From Bruno Haible. --- ChangeLog | 5 +++++ lib/ftruncate.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7ddde7a75..523e2dbfd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-02-20 Jim Meyering + + * lib/ftruncate.c [HAVE_CHSIZE]: Document that this code is + used by e.g., mingw. From Bruno Haible. + 2007-02-19 Bruno Haible * lib/string_.h: Use "#pragma GCC system_header" to suppress some gcc diff --git a/lib/ftruncate.c b/lib/ftruncate.c index f6a7ea558..ff7d11b09 100644 --- a/lib/ftruncate.c +++ b/lib/ftruncate.c @@ -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) -- 2.11.0