]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Update NEWS
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 21 Aug 2016 20:27:51 +0000 (22:27 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 21 Aug 2016 20:27:51 +0000 (22:27 +0200)
NEWS.txt
util.c

index 53d64c57059b2789c43584d04e79cd27f467dec3..b9a58af63c244fd94ccce88e41c32ac534fe2308 100644 (file)
--- a/NEWS.txt
+++ b/NEWS.txt
@@ -78,6 +78,9 @@ New features and improvements
 
 - Added support for Fortran 77.
 
+- Increased buffer size used when reading file data. This improves performance
+  slightly.
+
 
 Bug fixes
 ~~~~~~~~~
diff --git a/util.c b/util.c
index ef5a78eddd1567767a7d8545ba1df575777ed34f..f048d972f721d3545b92dc5872b1e581036dafd5 100644 (file)
--- a/util.c
+++ b/util.c
@@ -989,7 +989,9 @@ parse_size_with_suffix(const char *str, uint64_t *size)
 }
 
 
-#if defined(_WIN32) && !defined(HAVE_GETFINALPATHNAMEBYHANDLEW)
+#if !defined(HAVE_REALPATH) && \
+    defined(_WIN32) && \
+    !defined(HAVE_GETFINALPATHNAMEBYHANDLEW)
 static BOOL GetFileNameFromHandle(HANDLE file_handle, TCHAR *filename,
                                   WORD cch_filename)
 {