diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-07-27 14:35:26 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-07-27 14:36:02 -0700 |
commit | aa99fbeb9ff85ce8ff024c5ace4e0690726e0ca7 (patch) | |
tree | 8d5bcba9a9a458ba408ca10152a12dceb0103092 /bootstrap.conf | |
parent | 2f0255e9f4cc5cc8bd619d1f217902eb29b30bc2 (diff) | |
download | grep-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 'bootstrap.conf')
0 files changed, 0 insertions, 0 deletions