summaryrefslogtreecommitdiff
path: root/usr.bin/grep/binary.c
AgeCommit message (Expand)Author
2013-11-12simple prototype repairsTheo de Raadt
2011-06-20Switch binary file detection from !(isprint() || isspace()) to checkingStefan Sperling
2010-07-02Do not include mmap support with -DSMALL.Nicholas Marriott
2005-04-25- use size_t where appropriate.Otto Moerbeek
2005-02-07Due to a braindead zlib, the test for seekability of a gzstream usingOtto Moerbeek
2004-09-15cast offset value correctly for gzseekTheo de Raadt
2004-05-06Don't fseek() on stdin if it is a terminal. It does not fail, butOtto Moerbeek
2004-05-06Treat ^H as non-binary. OK hshoexer@, brad@ and deraadt@Todd C. Miller
2003-12-29fix zgrep failure when the uncompressed file begins with a newlineCan Erkin Acar
2003-09-18make this test look for spaces as well, to match other casesBob Beck
2003-09-07extend ascii test for more accuracy. ok deraadt@ pb@Ted Unangst
2003-06-25o remove useless cast to int from gzread() callTodd C. Miller
2003-06-25backwards args to gzseekTed Unangst
2003-06-23better detetection/handling of binary files.Ted Unangst
2003-06-22proper $OpenBSD$Theo de Raadt
2003-06-22-DNOZ flag to be used by install media for removing z*grep support, ifTheo de Raadt
2003-06-22correct fseek() parametersTheo de Raadt
2003-06-22freegrep 0.16Theo de Raadt