summaryrefslogtreecommitdiff
path: root/usr.bin/grep/mmfile.c
AgeCommit message (Expand)Author
2019-01-27mmap support was broken in previous submitted diff from lauri tirkkonenTheo de Raadt
2019-01-23rework grep_open to be more careful about directories.Ted Unangst
2015-02-06SIZE_MAX is standard, we should be using it in preference to theTodd C. Miller
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-11-08Check the mode flag being passed in to mmopen() instead of ignoring it.Brad Smith
2011-07-17Fix spacingaschrijver
2010-07-02Do not include mmap support with -DSMALL.Nicholas Marriott
2006-09-20That should be S_ISREG, dunno why I committed this wrong version;Otto Moerbeek
2006-09-19Use S_IS* macros insted of masking with S_IF* flags. The latter mayOtto Moerbeek
2006-02-09delint; remove redundant vars and functions; ok jaredy@Otto Moerbeek
2004-10-03Remove block based mmap optimization. There are newline problemsOtto Moerbeek
2004-01-18Unbreak *grep -w -l. ok millert@Otto Moerbeek
2003-09-09mmap returns MAP_FAILED on failure. fixes hugh@'s crash. ok deraadt@Ted Unangst
2003-06-24tweak boolean test to be clearTed Unangst
2003-06-23faster grep for simple patterns. derived from a patch by sean farley.Ted Unangst
2003-06-23minor tweaksTheo de Raadt
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-22freegrep 0.16Theo de Raadt