bug#48680: "zgrep -q" failing with some large files

2021-05-26 Thread David Yoder
I've run into a problem with zgrep -q. On some large bz2 compressed files it returns false/error for a search that should have returned true. bzgrep and "bzip2 -cd | grep -q" both work as expected. Either "-q or -l" are required to show the problem. I suspect that grep is terminating at the fir

bug#48680: "zgrep -q" failing with some large files

2021-05-27 Thread David Yoder
SHORT ANSWER: Because your results are so different from mine, I tried reproducing on a personal machine. I tried * the installed Debian stable gzip 1.9 * downloading the latest gzip 1.10 packaged source * the git master head With all three I reproduce your results. And the reason is that zgre