summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-07-27 14:35:26 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-07-27 14:36:02 -0700
commitaa99fbeb9ff85ce8ff024c5ace4e0690726e0ca7 (patch)
tree8d5bcba9a9a458ba408ca10152a12dceb0103092 /NEWS
parent2f0255e9f4cc5cc8bd619d1f217902eb29b30bc2 (diff)
downloadgrep-aa99fbeb9ff85ce8ff024c5ace4e0690726e0ca7.tar.gz
grep: don't falsely report compressed text files as binary
* NEWS: Document this. * src/main.c (file_is_binary): Remove the heuristic based on st_blocks, as it does not work for compressed file systems. On Solaris, it'd be cheap to test whether the file system is known to be uncompressed, which allow the heuristic, but Solaris has SEEK_HOLE so there's little point.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 2 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 753aedc2..fdba25e1 100644
--- a/NEWS
+++ b/NEWS
@@ -4,8 +4,8 @@ GNU grep NEWS -*- outline -*-
** Bug fixes
- 'grep' no longer falsely reports tiny text files as being binary
- on file systems that store tiny files' contents in metadata.
+ 'grep' no longer falsely reports text files as being binary on file
+ systems that compress contents or that store tiny contents in metadata.
* Noteworthy changes in release 2.13 (2012-07-04) [stable]